I’m trying to make a full customization template from scratch and put tattoos, face accessories, and body customization. Any idea people?
From what I know of and think you mean is your trying to let people customize what tattoos they have as well as other like accessories. For that it would be in outfits which means everything you would have to make the same outfit but add in the tattoo or piercing or something like that into the outfit and do how every many possibilities you want to if that makes sense .
If I got that wrong in any way plz lmk as this is what I picked up and the answer is just from my experience as I wanted to do that once b4 .
Hope this helps !
It did. Thank you for the response. So if they picked Face accessory or tattoo, then would I have to do if/eifs coding?
Yes, an easy way would be to use the if/else system using either character points or gains.
Gains are my recommendation if you don’t want the reader to change their decision later on in the story (eg. glasses).
The code would be like this:
NARRATOR
Would you like a tattoo or facial accessory?
choice
"Tattoo" {
gain Tattoo
}
"Facial Accessory" {
gain Facial_Accessory
}
Or you can create a character called TATTOO and use the point system (Typically 0 means no, and 1 means yes).
label tattoo_choice
NARRATOR
Would you like a tattoo?
choice
"Yes!" {
@TATTOO =1
}
"No." {
@TATTOO =0
}
NARRATOR
Are you happy with this choice?
choice
"Actually, I've changed my mind." {
goto tattoo_choice
}
"Yes, I'm happy!" {
continue
}
#The reader now either has or hasn't got a tattoo
CHARACTER
Which outfit should I wear?
choice
"Outfit 1" {
if (TATTOO =1) {
@CHARACTER changes into TATTOO_OUTFIT1
}
else {
@CHARACTER changes into OUTFIT1
}
}
"Outfit 2" {
if (TATTOO =1) {
@CHARACTER changes into TATTOO_OUTFIT2
}
else {
@CHARACTER changes into OUTFIT2
}
}
This is soooo helpful tyssmmmm girlll:sob:
I’m kind of excitedddd:ok_hand:
Moved to Creator’s Corner since this is about coding. Make sure to check out our Forum Tutorial for more info about creating topics, and feel free to PM me if you’ve got questions.