But the problem is this:
Code: Select all
File "game/script.rpy", line 66: expected menuitem
if wood >= 10:
^(if I need anything else, I'll be sure to add it in.)
Code: Select all
label action_menu:
menu:
"Gather wood.":
$ wood += 2
a "You gather 2 wood."
if people >= 0:
$ wood += 2
a "Your people gather 2 more wood."
elif people >= 5:
$ wood += 6
a "Your people gather 6 more wood."
elif people >= 10:
$ wood += 10
a "Your people gather 10 more wood."
elif people >= 15:
$ wood += 20
a "Your people gather 20 more wood."
a "You now have [wood] wood."
jump action_menu
if wood >= 10:
"Build a hut.":
a "You spend 10 wood and build a hut."
$ hut += 1
$ wood -= 10
jump action_menu
else:
pass
if wood >= 25:
if not workshop:
"Build a workshop.":
$ wood -= 25
$ workshop = True
jump action_menu
else:
pass
else:
pass
if wood >= 50:
if not trading_post:
"Build a trading post.":
$ wood -= 50
$ workshop
jump action_menu
else:
pass
else:
pass