Removed some redundant code

- Change month and day within debug console
- Removed get_week() in SimData
This commit is contained in:
Tony Bark 2021-05-27 22:31:40 -04:00
parent 622eea364e
commit ae1b600928
3 changed files with 19 additions and 7 deletions

View file

@ -11,9 +11,17 @@ const valid_commands = [
["money", [ARG_STRING] ],
["whereyoufrom", [ARG_STRING] ],
["whatyearisit", [ARG_STRING] ],
["show_policy", [ARG_INT]]
["show_policy", [ARG_INT]],
["set_month", [ARG_INT]],
["set_year", [ARG_INT]]
]
func set_month(month):
SimData.month = month
func set_year(year):
SimData.year = year
func show_policy(policy):
SimEvents.emit_signal("policy_message", policy)