I’m trying to make a “Chance Choice”
Where if you tap on the choice you have a chance to get 6 grapes or 4 or something like that.
My script:
label keep_finding_food
LILY LOLA
I need to find Food.
choice “Find Food” {
LILY LOLA (talk_think_neutral)
Where should I look?
choice “Check Ground.” {
@LILY LOLA is reach_kneel_neutral
@LILY LOLA is tinker_kneel_neutral_loop
@LILY LOLA is tinker_kneel_neutral_loop
@LILY LOLA is standup_neutral
@LILY LOLA is tinker_stand_neutral_loop_rear
@LILY LOLA is tinker_stand_neutral_loop_rear
@LILY LOLA is tinker_stand_neutral_loop_rear
gain check_ground
if (check_ground) {
LILY LOLA
OK...
@LILY LOLA faces left
@LILY LOLA is reach_kneel_neutral
NARRATOR
You gained 6 Grapes!
@LILY LOLA +6
goto Food
} elif (check_ground) {
NARRATOR
You gained 10 Grapes!
@LILY LOLA +10
goto Food
} else {
continue
}} “Check bush.” {
@LILY LOLA faces right
@LILY LOLA is reach_kneel_neutral_rear
gain check_bush
@LILY LOLA is tinker_kneel_neutral_loop_rear
@LILY LOLA is tinker_kneel_neutral_loop_rear
@LILY LOLA faces left
@LILY LOLA is standup_neutral
@LILY LOLA is tinker_stand_neutral_loop_rear
@LILY LOLA is talk_think_neutral
if (check_bush) {
LILY LOLA
OK.. Good
NARRATOR
You gained at least, 21 Raspberries!
@LILY LOLA +21
goto Food
} elif (check_bush) {
NARRATOR
You gained at least, 87 Raspberries!!!!
@LILY LOLA +87
goto Food
} else {
continue
}
} “Check Tree.” {
gain check_tree
LILY LOLA
OK... Great!
@LILY LOLA walks to spot 1.280 172 -6
if (check_tree) {
@LILY LOLA is tinker_kneel_neutral_loop_rear and LILY LOLA walks to spot 1.280 201 246 then LILY LOLA walks to spot 1.280 204 269 and LILY LOLA walks to spot 1.280 166 300
NARRATOR
You gained at least 7 Oranges!
@LILY LOLA +7
@LILY LOLA walks to spot 1.280 174 155 and LILY LOLA does it while transition_stand_to_squat_neutral
@LILY LOLA walks to spot 1.280 166 0 and LILY LOLA does it while transition_squat_to_stand_neutral
NARR
Are you done?
choice “Yes.” {
continue
} “No.” {
goto keep_finding_food
}} elif (check_tree) {
@LILY LOLA is tinker_kneel_neutral_loop_rear and LILY LOLA walks to spot 1.280 201 246 then LILY LOLA walks to spot 1.280 204 269 and LILY LOLA walks to spot 1.280 166 300
NARRATOR
You gained only 5 Oranges!
@LILY LOLA +5
@LILY LOLA walks to spot 1.280 174 155 and LILY LOLA does it while transition_stand_to_squat_neutral
@LILY LOLA walks to spot 1.280 166 0
NARR
Are you done?
choice “Yes.” {
continue
} “No.” {
goto keep_finding_food
}}
if (LILY LOLA > 103) {
LILY LOLA (stretch_pregnant_tired)
Now, I need to find a way to keep these fresh.
continue
} elif (LILY LOLA < 103) {
LILY LOLA (idle_sad_timid_loop)
No, I need to go and try to find more.
LILY LOLA (idle_wounded_sad_loop)
This isn't Enough food to last a week.
LILY LOLA (sigh_disappointed)
I still need more food.
LILY LOLA (stretch_pregnant_painful)
Ugh...
goto Food
} else {
LILY LOLA (stretch_pregnant_painful)
Now, I need to find a way to keep these fresh.
}}} “Go, Hunting” {
LILY LOLA (sing_fail_embarrassed)
But,
LILY LOLA (react_startled_embarrassed)
I don't have any hunting equipment.
goto Food
}
I want to make it the way that if the reader picks the same choice over again, they may get a different response than what they had before.