Trenchbroom support for health and destruction

This commit is contained in:
Marco 2025-08-27 18:17:17 +02:00
commit 823886b4ce
19 changed files with 2064 additions and 1398 deletions

View file

@ -7,6 +7,14 @@
[resource]
script = ExtResource("3_ql3xv")
classname = "Destroyable"
description = "Destroyable actor with the ability to send a signal on death"
description = "Destroyable actor with the ability to send a signal on death and specify health"
base_classes = Array[Resource]([ExtResource("2_h557v"), ExtResource("3_njkdc")])
class_properties = {
"health": 10.0,
"indestructible": false
}
class_property_descriptions = {
"health": "How many hitpoints it has",
"indestructible": "Is it invulnerable?"
}
metadata/_custom_type_script = "uid://blhmvtghs553u"