Small Godot Wild Jam game
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add new variable to global autoload

+7
+7
Scripts/global.gd
··· 1 1 extends Node 2 2 3 3 var debug_mode: bool = true 4 + var rng := RandomNumberGenerator.new() 4 5 6 + var current_money: int = 0 7 + var people_cured: int = 0 8 + var people_sick: int = 0 9 + var available_units: int = 0 10 + 11 + enum UnitType {DOCTOR, PRIEST} 5 12 6 13 func _init() -> void: 7 14 Console.register_custom_command("debug", _toggle_debug_mode)