mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 01:03:47 +00:00
Trenchbroom support for health and destruction
This commit is contained in:
parent
e23d337a16
commit
823886b4ce
19 changed files with 2064 additions and 1398 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue