Refactor skill components and update resource paths for consistency; enhance skill management in scenes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_resource type="Resource" load_steps=4 format=3 uid="uid://dw5ee2lpeypnb"]
|
||||
[gd_resource type="Resource" load_steps=5 format=3 uid="uid://dw5ee2lpeypnb"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://coayig4dxelo2" path="res://objects/player_skills/brick_throw_skill.tscn" id="1_5gnea"]
|
||||
[ext_resource type="Resource" uid="uid://br84dsfa3ti04" path="res://resources/throw_behaviors/tap_throw_input.tres" id="1_yimbq"]
|
||||
[ext_resource type="Texture2D" uid="uid://dxtdwgg3po0eg" path="res://sprites/brick_power_Skill_icon.png" id="2_yimbq"]
|
||||
[ext_resource type="Script" uid="uid://d4crrfmbgxnqf" path="res://scripts/Resources/SkillData.cs" id="3_yimbq"]
|
||||
|
||||
@@ -11,7 +12,7 @@ Description = "BRICK_POWER_DESCRIPTION"
|
||||
Config = Dictionary[String, Variant]({
|
||||
"fire_rate": 0.6,
|
||||
"player_controller": NodePath("."),
|
||||
"throw_input_behavior": null,
|
||||
"throw_input_behavior": ExtResource("1_yimbq"),
|
||||
"timer": NodePath("ThrowTimer")
|
||||
})
|
||||
Cost = 50
|
||||
|
@@ -1,25 +1,25 @@
|
||||
[gd_resource type="Resource" script_class="SkillData" load_steps=6 format=3 uid="uid://cdp8sex36vdq2"]
|
||||
[gd_resource type="Resource" load_steps=6 format=3 uid="uid://cdp8sex36vdq2"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://5surx230gfw3" path="res://objects/entities/exploding_brick.tscn" id="1_6pfoa"]
|
||||
[ext_resource type="Resource" uid="uid://diuv6pr6a0dup" path="res://resources/throw_behaviors/charge_throw_input.tres" id="2_87gkt"]
|
||||
[ext_resource type="PackedScene" uid="uid://coayig4dxelo2" path="res://objects/player_skills/brick_throw_skill.tscn" id="2_e0o8w"]
|
||||
[ext_resource type="Script" uid="uid://bya240e627ti6" path="res://scripts/resources/skill_data.gd" id="3_cgsq1"]
|
||||
[ext_resource type="Texture2D" uid="uid://c0xtjfpmkfolk" path="res://sprites/explosive_brick_skill_icon.png" id="3_wkqmb"]
|
||||
[ext_resource type="Script" uid="uid://d4crrfmbgxnqf" path="res://scripts/Resources/SkillData.cs" id="5_wkqmb"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_cgsq1")
|
||||
name = "EXPLOSIVE_BRICK"
|
||||
description = "EXPLOSIVE_BRICK_DESCRIPTION"
|
||||
node = ExtResource("2_e0o8w")
|
||||
config = {
|
||||
script = ExtResource("5_wkqmb")
|
||||
Name = "EXPLOSIVE_BRICK"
|
||||
Description = "EXPLOSIVE_BRICK_DESCRIPTION"
|
||||
Config = Dictionary[String, Variant]({
|
||||
"brick_scene": ExtResource("1_6pfoa"),
|
||||
"player_controller": NodePath("."),
|
||||
"throw_input_behavior": ExtResource("2_87gkt"),
|
||||
"timer": NodePath("ThrowTimer")
|
||||
}
|
||||
cost = 180
|
||||
icon = ExtResource("3_wkqmb")
|
||||
type = 1
|
||||
is_active = false
|
||||
level = 0
|
||||
max_level = 1
|
||||
})
|
||||
Cost = 180
|
||||
Icon = ExtResource("3_wkqmb")
|
||||
IsActive = false
|
||||
Level = 0
|
||||
MaxLevel = 1
|
||||
Type = 1
|
||||
Node = ExtResource("2_e0o8w")
|
||||
|
@@ -1,25 +1,25 @@
|
||||
[gd_resource type="Resource" script_class="SkillData" load_steps=6 format=3 uid="uid://2glvryih82t1"]
|
||||
[gd_resource type="Resource" load_steps=6 format=3 uid="uid://cr5lo4h8wm0jc"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://daau4j5hbklk0" path="res://objects/entities/fire_brick.tscn" id="1_2g43l"]
|
||||
[ext_resource type="Script" uid="uid://bya240e627ti6" path="res://scripts/resources/skill_data.gd" id="1_2j5ko"]
|
||||
[ext_resource type="PackedScene" uid="uid://coayig4dxelo2" path="res://objects/player_skills/brick_throw_skill.tscn" id="1_g53fp"]
|
||||
[ext_resource type="Resource" uid="uid://br84dsfa3ti04" path="res://resources/throw_behaviors/tap_throw_input.tres" id="2_dm5pj"]
|
||||
[ext_resource type="Texture2D" uid="uid://cocbnr38qsikt" path="res://sprites/fire_brick_skill_icon.png" id="3_w87qb"]
|
||||
[ext_resource type="Script" uid="uid://d4crrfmbgxnqf" path="res://scripts/Resources/SkillData.cs" id="5_us7vb"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_2j5ko")
|
||||
name = "FIRE_BRICK"
|
||||
description = "FIRE_BIRCK_DESCRIPTION"
|
||||
node = ExtResource("1_g53fp")
|
||||
config = {
|
||||
script = ExtResource("5_us7vb")
|
||||
Name = "FIRE_BRICK"
|
||||
Description = "FIRE_BIRCK_DESCRIPTION"
|
||||
Config = Dictionary[String, Variant]({
|
||||
"brick_scene": ExtResource("1_2g43l"),
|
||||
"player_controller": NodePath("."),
|
||||
"throw_input_behavior": ExtResource("2_dm5pj"),
|
||||
"timer": NodePath("ThrowTimer")
|
||||
}
|
||||
cost = 150
|
||||
icon = ExtResource("3_w87qb")
|
||||
type = 1
|
||||
is_active = false
|
||||
level = 0
|
||||
max_level = 3
|
||||
})
|
||||
Cost = 150
|
||||
Icon = ExtResource("3_w87qb")
|
||||
IsActive = false
|
||||
Level = 0
|
||||
MaxLevel = 3
|
||||
Type = 1
|
||||
Node = ExtResource("1_g53fp")
|
||||
|
@@ -1,25 +1,25 @@
|
||||
[gd_resource type="Resource" script_class="SkillData" load_steps=6 format=3 uid="uid://cx5fsbexblp60"]
|
||||
[gd_resource type="Resource" load_steps=6 format=3 uid="uid://ceakv6oqob6m7"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bcmx07k12gcsc" path="res://objects/entities/ice_brick.tscn" id="1_ci3d1"]
|
||||
[ext_resource type="PackedScene" uid="uid://coayig4dxelo2" path="res://objects/player_skills/brick_throw_skill.tscn" id="1_rflri"]
|
||||
[ext_resource type="Resource" uid="uid://br84dsfa3ti04" path="res://resources/throw_behaviors/tap_throw_input.tres" id="2_hsgyv"]
|
||||
[ext_resource type="Script" uid="uid://bya240e627ti6" path="res://scripts/resources/skill_data.gd" id="2_pspkt"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1qaxspv8aemf" path="res://sprites/ice_brick_skill_icon.png" id="3_6btth"]
|
||||
[ext_resource type="Script" uid="uid://d4crrfmbgxnqf" path="res://scripts/Resources/SkillData.cs" id="5_57pl3"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_pspkt")
|
||||
name = "ICE_BRICK"
|
||||
description = "ICE_BRICK_DESCRIPTION"
|
||||
node = ExtResource("1_rflri")
|
||||
config = {
|
||||
script = ExtResource("5_57pl3")
|
||||
Name = "ICE_BRICK"
|
||||
Description = "ICE_BRICK_DESCRIPTION"
|
||||
Config = Dictionary[String, Variant]({
|
||||
"brick_scene": ExtResource("1_ci3d1"),
|
||||
"player_controller": NodePath("."),
|
||||
"throw_input_behavior": ExtResource("2_hsgyv"),
|
||||
"timer": NodePath("ThrowTimer")
|
||||
}
|
||||
cost = 150
|
||||
icon = ExtResource("3_6btth")
|
||||
type = 1
|
||||
is_active = false
|
||||
level = 0
|
||||
max_level = 3
|
||||
})
|
||||
Cost = 180
|
||||
Icon = ExtResource("3_6btth")
|
||||
IsActive = false
|
||||
Level = 0
|
||||
MaxLevel = 3
|
||||
Type = 1
|
||||
Node = ExtResource("1_rflri")
|
||||
|
@@ -1,22 +1,22 @@
|
||||
[gd_resource type="Resource" script_class="SkillData" load_steps=4 format=3 uid="uid://d3bjre2etov1n"]
|
||||
[gd_resource type="Resource" load_steps=4 format=3 uid="uid://d3bjre2etov1n"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cvhoq7aubxlmq" path="res://sprites/ui/magnetic_skill_icon.png" id="1_16qcg"]
|
||||
[ext_resource type="PackedScene" uid="uid://cunyndudjh2he" path="res://objects/player_skills/magnetic_skill.tscn" id="1_er41s"]
|
||||
[ext_resource type="Script" uid="uid://bya240e627ti6" path="res://scripts/resources/skill_data.gd" id="1_r01oq"]
|
||||
[ext_resource type="Script" uid="uid://d4crrfmbgxnqf" path="res://scripts/Resources/SkillData.cs" id="3_htb6q"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_r01oq")
|
||||
name = "MAGNETIC"
|
||||
description = "MAGNETIC_DESCRIPTION"
|
||||
node = ExtResource("1_er41s")
|
||||
config = {
|
||||
script = ExtResource("3_htb6q")
|
||||
Name = "MAGNETIC"
|
||||
Description = "MAGNETIC_DESCRIPTION"
|
||||
Config = Dictionary[String, Variant]({
|
||||
"magnetic_area": NodePath("MagneticArea"),
|
||||
"magnetic_move_duration": 1.25,
|
||||
"root": NodePath(".")
|
||||
}
|
||||
cost = 70
|
||||
icon = ExtResource("1_16qcg")
|
||||
type = 2
|
||||
is_active = false
|
||||
level = 1
|
||||
max_level = 1
|
||||
})
|
||||
Cost = 70
|
||||
Icon = ExtResource("1_16qcg")
|
||||
IsActive = false
|
||||
Level = 1
|
||||
MaxLevel = 1
|
||||
Type = 2
|
||||
Node = ExtResource("1_er41s")
|
||||
|
Reference in New Issue
Block a user