Coding Help from Cookie

You think it makes more sense, to find a new code, and code the new code and test that it works, rather than go back over your script and copy the same code that you used last time and pasting it into the new episode?

tbh i have no idea what u r talking about. i might want to get back to it when im sober

I believe she’s saying that they had the chance to do an outfit change, and somewhere along the way she has changed the outfit to something else, using a different code and then they can’t change it back or something. Hence why I just said, re enter the first choice for them

I don’t know :disappointed: I guess.

I do know that there’s a coding where the author asks what outfit the reader choose for the character. I don’t know the code though :woman_shrugging:t4:

you just have to put gains into ur initial outfit choice. that’s it. so you then change outfit into the needed, and after with the help of gains u can change outfits back without readers choosing it again

Ahhh, I see. I used a dressing game template, so I don’t know where I would put the gains in at.

1 Like

depends on your code. If you could send your dressing code here, I would put gains and explain

Okay.

label dressing_game_1
RAIN (talk_think_neutral)
(What should I wear?)
choice (OUTFIT_1)
ā€œWhat I have onā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
}ā€œBusiness Outfit #1ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business
@pause for a beat
}ā€œBusiness Outfit #2ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business2
@pause for a beat
}ā€œBusiness Outfit #3ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business3
@pause for a beat
}ā€œBusiness Outfit #4ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business4
@pause for a beat
}ā€œBusiness Outfit #5ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business5
@pause for a beat
}ā€œBusiness Outfit #6ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business6
@pause for a beat
}ā€œBusiness Outfit #7ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business7
}
RAIN (think_rubchin)
(Should I wear this?)
choice
ā€œIt’ll do.ā€{
RAIN (talk_exhausted)
Guess I’ll wear this.
}ā€œEwww, no.ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into RAIN_default
goto dressing_game_1
}

label dressing_game_1
RAIN (talk_think_neutral)
(What should I wear?)
choice (OUTFIT_1)
ā€œWhat I have onā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN =1
}ā€œBusiness Outfit #1ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business
@pause for a beat
@RAIN =2
}ā€œBusiness Outfit #2ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business2
@pause for a beat
@RAIN =3
}ā€œBusiness Outfit #3ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business3
@pause for a beat
@RAIN =4
}ā€œBusiness Outfit #4ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business4
@pause for a beat
}ā€œBusiness Outfit #5ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business5
@pause for a beat
@RAIN =6
}ā€œBusiness Outfit #6ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business6
@pause for a beat
@RAIN =7
}ā€œBusiness Outfit #7ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into Rain_business7
@RAIN =8
}
RAIN (think_rubchin)
(Should I wear this?)
choice
ā€œIt’ll do.ā€{
RAIN (talk_exhausted)
Guess I’ll wear this.
if (RAIN =1){
gain outfit1
}if (RAIN =2){
gain outfit2
}if (RAIN =3){
gain outfit3
}if (RAIN =4){
gain outfit4
}if (RAIN =5){
gain outfit5
}if (RAIN =6){
gain outfit6
}if (RAIN =7){
gain outfit7
}if (RAIN =8){
gain outfit8
}
}ā€œEwww, no.ā€{
@RAIN is dustoff_neutral_loop
@pause for a beat
@RAIN changes into RAIN_default
goto dressing_game_1
}

Then when u will need character to change back into what reader chose->
if (outfit1){
@RAIN changes into thatinitialoutfit
}if (outfit2){
@RAIN changes into Rain_business
} etc.

I see… Thank you for helping me.

1 Like

Quick question though: do I still use elif and else?

Where exactly?

Never mind.

I’m gonna bump this just in case we have anymore budding Episode authors who are a little newer in need of some Cookie one on one

3 Likes

jeez, this thread is so quiet I even forgot it exists. xD

2 Likes

Good thing I’m doing some housekeeping :eyes:

2 Likes

Bump(?)

gonna bump this because it’s so helpful!

Like you!

1 Like

Fcukforcookies
Bump

1 Like