minor changes
This commit is contained in:
parent
73b9a706a3
commit
f954a04c79
8 changed files with 68 additions and 22 deletions
|
|
@ -32,14 +32,8 @@ func _process(delta: float) -> void:
|
|||
|
||||
|
||||
func _on_reset_button_pressed() -> void:
|
||||
PlayerInventory.money = 0
|
||||
PlayerInventory.botnet_servers = 0
|
||||
PlayerInventory.inventory_panel.empty_grid()
|
||||
Clock.days_left = 6
|
||||
Clock.time_left = 200
|
||||
PlayerInventory.botnet.clear()
|
||||
PlayerInventory.show()
|
||||
Clock.show()
|
||||
Locations.show()
|
||||
Locations.current_location = Locations.Location.workshop
|
||||
get_tree().change_scene_to_file("res://scenes/workshop.tscn")
|
||||
get_tree().change_scene_to_file("res://scenes/menu.tscn")
|
||||
|
||||
|
||||
func _on_credits_button_pressed() -> void:
|
||||
get_tree().change_scene_to_file("res://scenes/credits.tscn")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue