badguys, autoloads, custom resources, collectibles

This commit is contained in:
OddlyTimbot committed 2025-02-03 21:02:28 -05:00
1 parent b3575f2f06
commit 8bb10b79a8
16 files changed
+873 -37

No files matched your search

@@ -0,0 +1,5 @@
class_name CharacterStats extends Resource
@export var max_health:int = 100
@export var starting_health:int = 100
@export var health:int = 100
@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://kty8mv3cl6dc"]
[ext_resource type="Script" path="res://scripts/res/characterstats.gd" id="1_tqdla"]
[resource]
script = ExtResource("1_tqdla")
max_health = 150
starting_health = 100
health = 100
@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://buy7hpseunp3u"]
[ext_resource type="Script" path="res://scripts/res/characterstats.gd" id="1_a2a1n"]
[resource]
script = ExtResource("1_a2a1n")
max_health = 60
starting_health = 50
health = 50