Character customization reset

If you have let the reader customize their character, but then in the story you decide to add customization for hair style and lip colour, how do you reset the hair and lip to what the original look the reader customized?

You either remember what they looked like and change it back or re start the story

In the original custumization, you are adding “gain”
Example

label make_my_hair

      CHARACTER

What hair would look the best

choice “updo” {
@CHARACTER changes hair into Updo
CHARACTER
Is that what I want?
choice “It’s perfect” {
gain updo_hair
} “I hate it” {
goto make_my_hair
}
} “Straight” {
@CHARACTER changes hair into Straight
CHARACTER
Is that what I want?
choice “It’s perfect” {
gain straight_hair
} “I hate it” {
goto make_my_hair
}
}

when you change your hair to something else and you want to go back to the original then you do this

if (updo_hair) {
@CHARACTER changes hair into Updo
} elif (straight_hair) {
@CHARACTER changes hair into Straight
}

What does if and elif do? And if I just want to temporarily change something, will it reset in the next chapter?

Or you can just make a duplicate, way easier.

How do you do that?

@character becomes character1

In this case, character is the duplicate. character1 is the original.

How do I reset the character look to original then? If I were to do a hair and lip customization. Do I just repeat that code?

Have the duplicate become the original before the customization.

so @character1 becomes character ?

Yeah, character1 is the duplicate and character is the original

When you write gain you make episode remember the choice so if you put character customization at episode 1 and at episode 4, for example, you change hairstyle and then you want the hairstyle that the reader had back at episode 1 back you put if and elif , episode as I said will remember the choice if you put gain it’s like…
If (the reader chose) (updo_hair) {
} elif (the reader chose) (straight _hair) {
}

It means it that way but you don’t put the (the reader chose), I can’t explain it really well but Jeseph Evans can, so watch this:

Is it possible to remove gains?

What do you mean?

If the player were to choose a choice, then the player would gain that attribute, right? But if the player wants to pick something else wouldn’t there be 2 gains? So how do you remove the other gain

If you want to make choices like change hair/lipstick/dresses and the reader can see all the choices but you want to use this choice and at the later episodes you do this :point_down:t4: :

label zoe_sams

    ZOE (think_rubchin)
(Let's see what we got in here)

choice “Elegant” {
@ZOE changes into sams
@pause for a beat
ZOE (think_rubchin)
(Not bad)
choice “Wear this” {
gain illegant
} “Change to something more appropriate” {
goto zoe_sams
}
} “Wintery” {
@ZOE changes into ZOE sams2
ZOE (think_rubchin)
(It’s perfect for the weather outside)
choice “Wear this” {
gain wintery
} “Change to something more beautiful” {
goto zoe_sams
}} “Casual” {
@ZOE changes into ZOE sams4
@ZOE is idle_handsonhips_neutral_loop
@pause for a beat
ZOE (think_rubchin)
(Not perfect not bad)
choice “Wear this” {
gain casual
} “Change to something more beautiful” {
goto zoe_sams
}}

You put the choice (wear this/change to something else) inside the choice that the reader chose a specific clothe or wtv (elegant) so that way only if the reader chose to wear for example elegant it will gain elegant. Now if you do it normally like

label zoe_sams

    ZOE (think_rubchin)
(Let's see what we got in here)

choice “Elegant” {
@ZOE changes into sams
@pause for a beat
gain elegant
} “Wintery” {
@ZOE changes into ZOE sams2
gain wintery
} “Casual” {
@ZOE changes into ZOE sams4
@ZOE is idle_handsonhips_neutral_loop
gain casual
}
ZOE (think_rubchin)
(Not bad)
choice “Wear this” {
} “Change to something more appropriate” {
goto zoe_sams
}

if you do it this way :point_up_2:t4: it won’t work because the reader may have tapped in all of the choices and she/he will has get all the gain, so the episode will be confused, so the best way is the first one.
IDK if I explain it well or if I misunderstood the question, wtv you want you can ask me

Oh okay I think I get it and you have to use if and elif if you want to go to that gain?

Yes, you need to remember what did you write in front of gain

1 Like