Discuss Scratch
- Rook28081
- Scratcher
43 posts
Monster Hunter Low Budget
Uh, it is like a variable that stores more variables, just test it out it is cool.Thats the problem, idk how to make lists….Try using lists! That is what I use. You just need to remember what the parts are… Also lists don't reset when you press flag as a bonus! Hey everybody!!! I need some help with an Inventory system, btw the inventory is to keep track of monster parts, so that the Smithy can check if you have the required items to forge something, I don't have the smithy or inventory coded yet btw.
This is a Signature.
I am Rook28 and I approve this message.
I spend my time coding on scratch and am always looking for feed back. I am the creator of my projects found here:https://scratch.mit.edu/studios/32125333/comments
and I am also the make for the scratch ultrakill engine found here: https://scratch.mit.edu/projects/799598921/editor/
And as always Happy hunting!
- MonstieHuntie
- Scratcher
7 posts
Monster Hunter Low Budget
Thats the problem, idk how to make lists….Try using lists! That is what I use. You just need to remember what the parts are… Also lists don't reset when you press flag as a bonus! Hey everybody!!! I need some help with an Inventory system, btw the inventory is to keep track of monster parts, so that the Smithy can check if you have the required items to forge something, I don't have the smithy or inventory coded yet btw.
Okay, under variables are the list blocks. Click make a list and name it monster parts.
To delete all the items write this script.
when green flag clicked
delete (all v) of [monster parts v]
To add is a bit more complicated…
- Rook28081
- Scratcher
43 posts
Monster Hunter Low Budget
who doesn't know that? Not an insult, real question.Thats the problem, idk how to make lists….Try using lists! That is what I use. You just need to remember what the parts are… Also lists don't reset when you press flag as a bonus! Hey everybody!!! I need some help with an Inventory system, btw the inventory is to keep track of monster parts, so that the Smithy can check if you have the required items to forge something, I don't have the smithy or inventory coded yet btw.
Okay, under variables are the list blocks. Click make a list and name it monster parts.
To delete all the items write this script.when green flag clicked
delete (all v) of [monster parts v]
To add is a bit more complicated…
Last edited by Rook28081 (March 12, 2024 16:31:10)
This is a Signature.
I am Rook28 and I approve this message.
I spend my time coding on scratch and am always looking for feed back. I am the creator of my projects found here:https://scratch.mit.edu/studios/32125333/comments
and I am also the make for the scratch ultrakill engine found here: https://scratch.mit.edu/projects/799598921/editor/
And as always Happy hunting!
- MonstieHuntie
- Scratcher
7 posts
Monster Hunter Low Budget
I know how to do it it's just that I did not have the time to write it.who doesn't know that? Not an insult, real question.Thats the problem, idk how to make lists….Try using lists! That is what I use. You just need to remember what the parts are… Also lists don't reset when you press flag as a bonus! Hey everybody!!! I need some help with an Inventory system, btw the inventory is to keep track of monster parts, so that the Smithy can check if you have the required items to forge something, I don't have the smithy or inventory coded yet btw.
Okay, under variables are the list blocks. Click make a list and name it monster parts.
To delete all the items write this script.when green flag clicked
delete (all v) of [monster parts v]
To add is a bit more complicated…
- sabincruz
- Scratcher
45 posts
Monster Hunter Low Budget
Thank you all for your help I will try this!I know how to do it it's just that I did not have the time to write it.who doesn't know that? Not an insult, real question.Thats the problem, idk how to make lists….Try using lists! That is what I use. You just need to remember what the parts are… Also lists don't reset when you press flag as a bonus! Hey everybody!!! I need some help with an Inventory system, btw the inventory is to keep track of monster parts, so that the Smithy can check if you have the required items to forge something, I don't have the smithy or inventory coded yet btw.
Okay, under variables are the list blocks. Click make a list and name it monster parts.
To delete all the items write this script.when green flag clicked
delete (all v) of [monster parts v]
To add is a bit more complicated…
- sabincruz
- Scratcher
45 posts
Monster Hunter Low Budget
For my Smithy system I'm planning on adding to do this:
when I receive [ WeaponOrdering]
ask [What weapon type would you like to forge?] and wait
if <(answer) = [Longsword]> then
switch costume to [LongswordTree]
ask [What Longsword would you like to forge?] and wait
end
- sabincruz
- Scratcher
45 posts
Monster Hunter Low Budget
Any other suggestions? For my Smithy system I'm planning on adding to do this:when I receive [ WeaponOrdering]
ask [What weapon type would you like to forge?] and wait
if <(answer) = [Longsword]> then
switch costume to [LongswordTree]
ask [What Longsword would you like to forge?] and wait
end
- sabincruz
- Scratcher
45 posts
Monster Hunter Low Budget
Oh shoot, this is a problem tho, how would I make like the Individual parts?
Like say, I have a sword that costs 1 Kulu Ya Ku Beak, and 2 Kulu Plumes?
Like say, I have a sword that costs 1 Kulu Ya Ku Beak, and 2 Kulu Plumes?
- sabincruz
- Scratcher
45 posts
Monster Hunter Low Budget
would i make a variable for EVERY SINGLE PART?!?!?! AAAAAAAA Oh shoot, this is a problem tho, how would I make like the Individual parts?
Like say, I have a sword that costs 1 Kulu Ya Ku Beak, and 2 Kulu Plumes?
- MonstieHuntie
- Scratcher
7 posts
Monster Hunter Low Budget
I could work on the code. Though, it may take me a while.would i make a variable for EVERY SINGLE PART?!?!?! AAAAAAAA Oh shoot, this is a problem tho, how would I make like the Individual parts?
Like say, I have a sword that costs 1 Kulu Ya Ku Beak, and 2 Kulu Plumes?
- sabincruz
- Scratcher
45 posts
Monster Hunter Low Budget
And how would I make the Monster drop a random set of parts?
- sabincruz
- Scratcher
45 posts
Monster Hunter Low Budget
I don't want to pile up your schedule.. I got this!I could work on the code. Though, it may take me a while.would i make a variable for EVERY SINGLE PART?!?!?! AAAAAAAA Oh shoot, this is a problem tho, how would I make like the Individual parts?
Like say, I have a sword that costs 1 Kulu Ya Ku Beak, and 2 Kulu Plumes?
- MonstieHuntie
- Scratcher
7 posts
Monster Hunter Low Budget
This: And how would I make the Monster drop a random set of parts?
when I receive [monster defeat v]
if <(pick random (1) to (10)) = [6]> then
add [kulu beak] to [monster parts v]
end
- sabincruz
- Scratcher
45 posts
Monster Hunter Low Budget
Thanks for your help!This: And how would I make the Monster drop a random set of parts?when I receive [monster defeat v]
if <(pick random (1) to (10)) = [6]> then
add [kulu beak] to [monster parts v]
end
- sabincruz
- Scratcher
45 posts
Monster Hunter Low Budget
And when you forge the weapon, would I have to make it remove 1 Kulu Beak?Thanks for your help!This: And how would I make the Monster drop a random set of parts?when I receive [monster defeat v]
if <(pick random (1) to (10)) = [6]> then
add [kulu beak] to [monster parts v]
end
- sabincruz
- Scratcher
45 posts
Monster Hunter Low Budget
What does this block do?
insert [thing] at (1 v) of [list v]
- Rook28081
- Scratcher
43 posts
Monster Hunter Low Budget
that is where you would use lists. Lists just make a monster part list, add stuff to it. and use detection blocks.would i make a variable for EVERY SINGLE PART?!?!?! AAAAAAAA Oh shoot, this is a problem tho, how would I make like the Individual parts?
Like say, I have a sword that costs 1 Kulu Ya Ku Beak, and 2 Kulu Plumes?
This is a Signature.
I am Rook28 and I approve this message.
I spend my time coding on scratch and am always looking for feed back. I am the creator of my projects found here:https://scratch.mit.edu/studios/32125333/comments
and I am also the make for the scratch ultrakill engine found here: https://scratch.mit.edu/projects/799598921/editor/
And as always Happy hunting!
- Rook28081
- Scratcher
43 posts
Monster Hunter Low Budget
Adds something to the list. What does this block do?insert [thing] at (1 v) of [list v]
also yesAnd when you forge the weapon, would I have to make it remove 1 Kulu Beak?Thanks for your help!This: And how would I make the Monster drop a random set of parts?when I receive [monster defeat v]
if <(pick random (1) to (10)) = [6]> then
add [kulu beak] to [monster parts v]
end
This is a Signature.
I am Rook28 and I approve this message.
I spend my time coding on scratch and am always looking for feed back. I am the creator of my projects found here:https://scratch.mit.edu/studios/32125333/comments
and I am also the make for the scratch ultrakill engine found here: https://scratch.mit.edu/projects/799598921/editor/
And as always Happy hunting!
- MonstieHuntie
- Scratcher
7 posts
Monster Hunter Low Budget
It adds something at a specific point to the list.Adds something to the list. What does this block do?insert [thing] at (1 v) of [list v]
also yesAnd when you forge the weapon, would I have to make it remove 1 Kulu Beak?Thanks for your help!This: And how would I make the Monster drop a random set of parts?when I receive [monster defeat v]
if <(pick random (1) to (10)) = [6]> then
add [kulu beak] to [monster parts v]
end
Last edited by MonstieHuntie (March 13, 2024 23:47:58)