- Apr 13, 2021
- 1,825
- 1,481
This is what i like to do.
Very simple but i failed to make it actually work.
5 choices but i want to have each choice only once selectable.
So i tried something like this
default wasselected = False
choice1:
"Take fruit" if wasselected == False:
blabla...
I think i am missing something.
So embarrassing.
I think i just want to have the choice visible but inactive.
Or another way could be, to have it visible but not counting anymore for values.
Thank you
p.s. do i need to make for each choice defaults? That would be long list. If this is what i need to do, i have to make them.
Very simple but i failed to make it actually work.
5 choices but i want to have each choice only once selectable.
So i tried something like this
default wasselected = False
choice1:
"Take fruit" if wasselected == False:
blabla...
I think i am missing something.
So embarrassing.
I think i just want to have the choice visible but inactive.
Or another way could be, to have it visible but not counting anymore for values.
Thank you
p.s. do i need to make for each choice defaults? That would be long list. If this is what i need to do, i have to make them.
Code:
init:
default choice01 = False
default choice02 = False
default choice03 = False
default choice04 = False
default choice05 = False
label start:
menu scene01:
"Sure, why not? He seems trustworthy." if choice01 == False:
"Yes. I like him. He understands me."
jump agree
$ obedient +=1
$ shy -=1
$ trust +=1
"No way. I think i changes my mind."
jump exitscene
$ confidence -= 10
"Am i really going to this?" if choice02 == False:
"Let me thin about it one more time."
$ obedient -=1
$ shy +=1
jump scene01
"Please, tell me a joke." if choice03 == False:
"Do you know any joke? Make me laugh again."
jump joke
$ obedient -=1
$ shy +=1
"What are these pictures you have?" if choice04 == False:
"These pictures. Are you a pervert or what?"
jump pictures
$ obedient -=1
$ shy +=1
"Is this alcohol you have on the desk?" if choice05 == False:
"I could use a drink. This what i am doing anyway when i home."
jump alcohol
$ obedient -=1
$ shy +=1
Last edited: