25 lines
1.3 KiB
Text
25 lines
1.3 KiB
Text
|
|
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" format=3 uid="uid://i60woxbqmqf7"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://cxsqwtsqd8w33" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="1_script"]
|
||
|
|
[ext_resource type="Script" uid="uid://d1nwwgcrner8b" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class_display_descriptor.gd" id="1_se426"]
|
||
|
|
[ext_resource type="PackedScene" path="res://elements/entities/step_trigger/step_trigger.tscn" id="2_scene"]
|
||
|
|
|
||
|
|
[resource]
|
||
|
|
script = ExtResource("1_script")
|
||
|
|
scene_file = ExtResource("2_scene")
|
||
|
|
apply_rotation_on_map_build = false
|
||
|
|
apply_scale_on_map_build = false
|
||
|
|
classname = "point_step_trigger"
|
||
|
|
description = "Invisible trigger that fires when the player steps on this tile. Connect its step_triggered signal to drive gameplay events like messages, ambushes, or cutscenes."
|
||
|
|
class_properties = Dictionary[String, Variant]({
|
||
|
|
"one_shot": false
|
||
|
|
})
|
||
|
|
class_property_descriptions = Dictionary[String, Variant]({
|
||
|
|
"one_shot": "If true, this trigger only fires once. Otherwise it fires every time the player steps on the tile."
|
||
|
|
})
|
||
|
|
meta_properties = Dictionary[String, Variant]({
|
||
|
|
"color": Color(0.2, 0.8, 0.2, 1),
|
||
|
|
"size": AABB(-8, -8, -8, 16, 16, 16)
|
||
|
|
})
|
||
|
|
metadata/_custom_type_script = "uid://cxsqwtsqd8w33"
|