I’ve looked at the other inventory tutorials & their making my head spin terribly.
I want to make a sort of inventory where instead of items, it describes Scars you’ve collected over time (there are a set number of scars overall, I’ve only got one in the game possibly that I want to test this system with)
Last tutorial I read was Basic Store/Inventory & I’ve been kind of following that, while trying to edit it myself to see if it works. So far it’s not breaking the game at least.
I think the normal inventory code would work for what you’re looking for, only with the names of the variables changed. Is there anything else that you want to accomplish besides an inventory but for scars?
Alternatively, if you want slightly more unique scars in the same location, I think you can do something like:
*create face_scar ""
*create chest_scar ""
and just an example of how it can play out:
*choice
#Dodge to the left.
*set face_scar "cut across right cheek"
You dodge to the left, but are unable to avoid a thin cut on your cheek.
*goto next
#Dodge to the right.
*set face_scar "cut across left cheek"
You dodge to the left, but are unable to avoid a thin cut on your cheek.
*goto next
#Freeze.
*set chest_scar "long cut across ribs"
You freeze in place as he comes to you. Moments later, you feel a searing pain in your chest as the knife bites deep into flesh.
#Fight for the knife.
*set chest_scar "small cut across left chest"
You leap forward and grapple for the knife. In your struggle with your opponent, the sharp blade nicks your chest.
*goto next
So this is what I have for the startup (top code) & choicestats screen (3nd code). When on the stats screen, it just says “Scars: true” instead of “You have no scars” (final wording for a few things will be different when its finished)