mirror of
https://github.com/tonytins/citylimits
synced 2025-12-15 12:44:43 -05:00
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:
parent
f6438a9bee
commit
e86dd64b8b
5 changed files with 54 additions and 30 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue