Hello, so I am wanting the reader to choose their outfit, however I also want to add a bag to that same outfit some time later in the story. (I hope that makes sense)
How would I do this? Could someone provide me with a template to use for this?
Here is the code for the outfit chooses.
label MENU1
MC (think_rubchin)
(What should I wear?)
choice (school_wear)
“Collared Sweater & Pleated Skirt”{ @MC changes into MC_normal @MC is idle_happy_loop
}
“Denim Overalls”{ @MC changes into MC_normal1 @MC is idle_happy_loop
}
“Salmon Sweat & Jeans”{ @MC changes into MC_normal8 @MC is idle_happy_loop
}
“Layered Denim Dress with T-Shirt”{ @MC changes into MC_normal3 @MC is idle_happy_loop
}
“Striped T Shirt & Denim Skirt”{ @MC changes into MC_normal4 @MC is idle_happy_loop
}
“Plaid Black & Red Lace Dress”{ @MC changes into MC_normal5 @MC is idle_happy_loop
}
MC (idle_happy_loop)
(Should I wear this?)
There are three different ways you can do this. Like @Tara0 said, you can make it a named choice. You can also do it with points or gains.
Points
In your initial choice, you’ll add MC = 1, 2, 3, etc. Make sure it’s different for every outfit. ie.
choice (school_wear)
“Collared Sweater & Pleated Skirt”{ @MC = 1 @MC changes into MC_normal @MC is idle_happy_loop
}
“Denim Overalls”{ @MC = 2 @MC changes into MC_normal1 @MC is idle_happy_loop
}
“Salmon Sweat & Jeans”{ @MC = 3 @MC changes into MC_normal8 @MC is idle_happy_loop
}
And then when you want to add the outfit with the bag, you’ll do
if (MC =1) { @MC changes into MC_normalwithbag
} elif (MC = 2) { @MC changes into MC_normal1withbag
} else { @MC changes into MC_normal8withbag
}
Gains
In your initial choice, you’ll add gain outfit1, outfit2 outfit3, etc. Make sure it’s different for every outfit. ie.
choice (school_wear)
“Collared Sweater & Pleated Skirt”{
gain outfit1 @MC changes into MC_normal @MC is idle_happy_loop
}
“Denim Overalls”{
gain outfit2 @MC changes into MC_normal1 @MC is idle_happy_loop
}
“Salmon Sweat & Jeans”{
gain outfit3 @MC changes into MC_normal8 @MC is idle_happy_loop
}
And then when you want to add the outfit with the bag, you’ll do
if (outfit1) { @MC changes into MC_normalwithbag
} elif (outfit2) { @MC changes into MC_normal1withbag
} else { @MC changes into MC_normal8withbag
}
PS. Make sure MC is your actual character’s name and the bag outfit names are correct.
choice (school_wear)
“Collared Sweater & Pleated Skirt”{ @MC changes into MC_normal
gain MC_normal @MC is idle_happy_loop
}
“Denim Overalls”{ @MC changes into MC_normal1
gain MC_normal1 @MC is idle_happy_loop
}
“Salmon Sweat & Jeans”{ @MC changes into MC_normal8
gain MC_normal8 @MC is idle_happy_loop
}
“Layered Denim Dress with T-Shirt”{ @MC changes into MC_normal3
gain MC_normal3 @MC is idle_happy_loop
}
“Striped T Shirt & Denim Skirt”{ @MC changes into MC_normal4
gain MC_normal4 @MC is idle_happy_loop
}
“Plaid Black & Red Lace Dress”{ @MC changes into MC_normal5
gain MC_normal5 @MC is idle_happy_loop
}
MC (idle_happy_loop)
(Should I wear this?)
This confirmation choice should be included inside every choices instead of outside, because of the label, readers will gain every outfit if they go back and forth to look at other options.
I would say since she has a choice title, she can just use that to remember choice options.
if (school_wear is "Collared Sweater & Pleated Skirt”){ @MC changes into MC_normal_bag } elif (school_wear is "Denim Overalls”){ @MC changes into MC_normal1_bag } . .
so on…
@cxsey You’ll have to create the duplicates for all the outfits above and add the bags accordingly to apply it in the remembering choice code.
Hi, I have created separate outfits with the bag added.
I’ve just added ‘‘withbag’’ at the end of the outfit.
I want her to change into her outfit (chosen by the reader), afterwards dust herself off and then before she leaves the room for school, add the bag ready for the next scene.
This is the exact code I have. Is this right? Do I then add the code you mentioned at the end?
label MENU1
@speechbubble is 136 238 to 85% with tail_top_right
CASEY (think_rubchin)
(What should I wear for school?)
choice (school_wear)
“Collared Sweater & Pleated Skirt”{ @CASEY changes into CASEY_normal
gain CASEY_normalwithbag @CASEY is idle_happy_loop
}
“Denim Overalls”{ @CASEY changes into CASEY_normal1
gain CASEY_normal1withbag @CASEY is idle_happy_loop
}
“Salmon Sweat & Jeans”{ @CASEY changes into CASEY_normal8
gain CASEY_normal8withbag @CASEY is idle_happy_loop
}
“Layered Denim Dress with T-Shirt”{ @CASEY changes into CASEY_normal3
gain CASEY_normal3withbag @CASEY is idle_happy_loop
}
“Striped T Shirt & Denim Skirt”{ @CASEY changes into CASEY_normal4
gain CASEY_normal4withbag @CASEY is idle_happy_loop
}
“Plaid Black & Red Lace Dress”{ @CASEY changes into CASEY_normal5
gain CASEY_normal5withbag @CASEY is idle_happy_loop
}
CASEY (idle_happy_loop)
(Should I wear this?)
choice
“Yes, wear this.”{ @CASEY is dustoff_neutral_loop
}“No, try something else.”{
goto MENU1
}
If (school_wear is '‘Collared Sweater & Pleated Skirt’){ @CASEY changes into CASEY_normalwithbag)
}
Going off your original coding, you can remember that choice by doing
if (choice_name is “Option Name”) {
@CHARACTER changes into Outfit With Bag
}
You don’t need to use gains or points since you named your choice already so you can remember your dressing game using the choice name method. You should read THIS GUIDE to learn more.
This is what your if/elif/else would look like:
if (school_wear is “Collared Sweater & Pleated Skirt”) {
@MC changes into MC_normal_withbag
} elif (school_wear is “Denim Overalls”) {
@MC changes into MC_normal1_withbag
} elif (school_wear is “Salmon Sweat & Jeans”) {
@MC changes into MC_normal8_withbag
} elif (school_wear is “Layered Denim Dress with T-Shirt”) {
@MC changes into MC_normal3_withbag
} elif (school_wear is “Striped T Shirt & Denim Skirt”) {
@MC changes into MC_normal4_withbag