fuzzyworld

godot-shooter / commit

Debug action now gives the player 10 rockets.

0386b89dab87ad655b67dc7d9fb9ccecafb09a06 · Pavel Safronov · 2023-11-17 14:21:02 -0800 · parents ffa98f7d7057

Debug action now gives the player 10 rockets.
 scenes/World.gd | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scenes/World.gd b/scenes/World.gd
index ff5eb51..0f7658d 100644
--- a/scenes/World.gd
+++ b/scenes/World.gd
@@ -197,7 +197,8 @@ func _on_Player_debug() -> void:
 #	player.score += 1
 #	player.kill()
 #	completed_objectives = max_objectives
-	player.debug()
+#	player.debug()
+	weapon_consumed(Weapons.create_rocket_gun())
 	pass # Replace with function body.
 
 func _on_Player_destination_set() -> void: