diff options
author | bd <bdunahu@operationnull.com> | 2025-05-29 18:29:27 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-29 18:29:27 -0400 |
commit | 255e8fc5d465e24a683351c7556d2676bd4faa57 (patch) | |
tree | b4e36fccdd0be5be7e86a356d9e4c1bcc03f90b8 /scripts | |
parent | c4f3d4e0f6cae35c020e888be5689181b25342c5 (diff) |
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/knight.gd | 12 | ||||
-rw-r--r-- | scripts/knight.gd.uid | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/scripts/knight.gd b/scripts/knight.gd new file mode 100644 index 0000000..97b6dec --- /dev/null +++ b/scripts/knight.gd @@ -0,0 +1,12 @@ +extends "res://scripts/base_crawler.gd" + +var game_stats_config = preload("res://resources/game_stats_config.tres") + +func _ready() -> void: + damage = game_stats_config.crawlers["knight"]["damage"] + speed = game_stats_config.crawlers["knight"]["speed"] + max_health = game_stats_config.crawlers["knight"]["health"] + worth = game_stats_config.crawlers["knight"]["worth"] + sprite_atlas = game_stats_config.crawlers["knight"]["sprite"] + + super() diff --git a/scripts/knight.gd.uid b/scripts/knight.gd.uid new file mode 100644 index 0000000..d242f04 --- /dev/null +++ b/scripts/knight.gd.uid @@ -0,0 +1 @@ +uid://fyov84nkbjh8 |