Finished debug/cheat console

This commit is contained in:
Tony Bark 2021-05-20 21:25:41 -04:00
parent 59ea5dd6f0
commit f6438a9bee
7 changed files with 95 additions and 16 deletions

View file

@ -0,0 +1,20 @@
extends Node
enum {
ARG_INT,
ARG_STRING,
ARG_BOOL,
ARG_FLOAT
}
const valid_commands = [
["motherlode", [null],
["whereyoufrom", [ARG_STRING]]
]
]
func motherlode():
SimData.budget += 50000
func whereyoufrom(city_name):
SimData.city_name = city_name