mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-01 16:01:16 +00:00
Min max triggers
This commit is contained in:
parent
9c3a7d6247
commit
0492a008d0
6 changed files with 130 additions and 45 deletions
|
|
@ -0,0 +1,17 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://bpdbncl6tswbj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://6o4wbl0iau0v" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_2os3e"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_2os3e")
|
||||
classname = "ActivationCounts"
|
||||
description = "Activation min and max"
|
||||
class_properties = {
|
||||
"maxactivations": 1,
|
||||
"minactivations": 0
|
||||
}
|
||||
class_property_descriptions = {
|
||||
"maxactivations": "Max amount of times it needs to be activated to trigger an efffect (-1 means no limit)",
|
||||
"minactivations": "Minimum amount of times it needs to be activated to trigger an effect"
|
||||
}
|
||||
metadata/_custom_type_script = "uid://6o4wbl0iau0v"
|
||||
Loading…
Add table
Add a link
Reference in a new issue