cirnogodot/3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres
2025-09-12 12:26:16 +02:00

19 lines
959 B
Text

[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=4 format=3 uid="uid://dl5gtmotc4g6a"]
[ext_resource type="Resource" uid="uid://bd4h6ha84s74b" path="res://3D/TrenchBroom/EntityDefinitions/base/activation_type_base.tres" id="2_h557v"]
[ext_resource type="Resource" uid="uid://kerywjgft7vh" path="res://3D/TrenchBroom/EntityDefinitions/base/target_base.tres" id="3_njkdc"]
[ext_resource type="Script" uid="uid://ck575aqs1sbrb" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="3_ql3xv"]
[resource]
script = ExtResource("3_ql3xv")
classname = "Destroyable"
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?"
}