initial commit

This commit is contained in:
Simo-Pekka Kerkelä 2025-07-11 00:14:08 +03:00
commit 35bb9bb38f
No known key found for this signature in database
46 changed files with 1243 additions and 0 deletions

13
Medpack.gd Normal file
View file

@ -0,0 +1,13 @@
extends Node2D
export var heal_amount : int = 1
signal medpack_taken
func _ready():
pass # Replace with function body.
func _on_Pickup_body_entered(body):
if body.has_method("heal"):
body.heal(heal_amount)
emit_signal("medpack_taken")
queue_free()