Changed debug control to winodw

- Changed debug control into custom window dialog.
- Reworked "whereyoufrom" cheat
- Changed how the money cheat works
This commit is contained in:
Tony Bark 2021-05-20 22:16:43 -04:00
parent f6438a9bee
commit e86dd64b8b
5 changed files with 54 additions and 30 deletions

View file

@ -8,13 +8,14 @@ enum {
}
const valid_commands = [
["motherlode", [null],
["whereyoufrom", [ARG_STRING]]
]
["money", [ARG_INT] ],
["whereyoufrom", [ARG_STRING] ]
]
func motherlode():
SimData.budget += 50000
func money(value):
SimData.budget += int(value)
return "Budget changed to " + str(value)
func whereyoufrom(city_name):
SimData.city_name = city_name
func whereyoufrom(value):
SimData.city_name = str(value)
return "Changed city name to: " + str(value)