Replicated the weapon flying tick setup using resources
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
[sub_resource type="Resource" id="Resource_gi65x"]
|
||||
script = ExtResource("1_bi1d8")
|
||||
ContainerTags = Array[String](["character.player.mana.regen.inhibited"])
|
||||
ContainerTags = Array[String](["character.player.mana.regen.inhibited", "cues.resources.mana.inhibited"])
|
||||
metadata/_custom_type_script = "uid://cw525n4mjqgw0"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_bi1d8"]
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
[sub_resource type="Resource" id="Resource_5yygy"]
|
||||
script = ExtResource("1_q8tml")
|
||||
ContainerTags = Array[String](["character.player.mana.regen.inhibited"])
|
||||
ContainerTags = Array[String](["character.player.mana.regen.inhibited", "cues.resources.mana.inhibited"])
|
||||
metadata/_custom_type_script = "uid://cw525n4mjqgw0"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ncjx6"]
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
[gd_resource type="Resource" script_class="ForgeRaiseEventTagExecution" format=3 uid="uid://oe2suroa1klj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cw525n4mjqgw0" path="res://addons/forge/resources/ForgeTagContainer.cs" id="1_iqjlm"]
|
||||
[ext_resource type="Script" path="res://forge/calculators/ForgeRaiseEventTagExecution.cs" id="2_am2ak"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_sxbq4"]
|
||||
script = ExtResource("1_iqjlm")
|
||||
ContainerTags = Array[String](["events.weapon.flyingtick"])
|
||||
[ext_resource type="Resource" uid="uid://x7vtcobi7s4r" path="res://scenes/player_controller/resources/forge/weapon_flyingtick_tagcontainer.tres" id="1_ce5fv"]
|
||||
[ext_resource type="Script" uid="uid://br7ut4lbau66w" path="res://forge/calculators/ForgeRaiseEventTagExecution.cs" id="2_am2ak"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_am2ak")
|
||||
EventTags = ExtResource("1_ce5fv")
|
||||
metadata/_custom_type_script = "uid://br7ut4lbau66w"
|
||||
|
||||
@@ -23,6 +23,7 @@ BaseValue = 1
|
||||
|
||||
[sub_resource type="Resource" id="Resource_esyoj"]
|
||||
script = ExtResource("4_e2sm2")
|
||||
Name = "Call Flying Tick Event Periodically"
|
||||
Modifiers = []
|
||||
Components = []
|
||||
Executions = Array[Object]([ExtResource("1_pdt6v")])
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="ForgeTagContainer" format=3 uid="uid://x7vtcobi7s4r"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cw525n4mjqgw0" path="res://addons/forge/resources/ForgeTagContainer.cs" id="1_nlohk"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_nlohk")
|
||||
ContainerTags = Array[String](["events.weapon.flyingtick"])
|
||||
Reference in New Issue
Block a user