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://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")