[SOLVED] Issue with variable-based menu choices
Posted: Thu Dec 18, 2014 9:59 am
Basically, I'd like for the menu to show certain items depending on what events you've gone through.
So this is what I tried to code:
but when I try to test it says this:
I also checked out
http://lemmasoft.renai.us/forums/viewto ... t=menuitem
but even when I copy&pasted it still had that issue.
T-T
**SOLVED! Also, fixed post
**
So this is what I tried to code:
Code: Select all
label home_3:
show kitday
with fade
"Flopping onto a kitchen chair, I sighed as I remembered I'd need to go buy groceries."
me "'Why do people have to eat?'"
"I had a few choices..."
menu:
if tara_restaurant_accept:
"Meat!":
jump meat_bought
if ask_about_noodles:
"Noodles!":
jump noodles_bought
"Salad!":
jump salad_bought
"Stuff!":
jump stuff_bought
label meat_bought:
"Bought meat"
label noodles_bought:
"Bought noodles"
label salad_bought:
"Bought salad"
label stuff_bought:
"Bought stuff."Code: Select all
File "game/script.rpy", line 2976: expected menuitem
if tara_restaurant_accept:
^http://lemmasoft.renai.us/forums/viewto ... t=menuitem
but even when I copy&pasted it still had that issue.
T-T
**SOLVED! Also, fixed post