Refactor skill components and update resource paths for consistency; enhance skill management in scenes

This commit is contained in:
2025-08-26 20:10:18 +02:00
parent 4c15f50f6e
commit 6e71c321f7
60 changed files with 89 additions and 1847 deletions

View File

@@ -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")