Add marketplace component for skill unlocking and update related resources
This commit is contained in:
17
resources/skills/explosive_brick.tres
Normal file
17
resources/skills/explosive_brick.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="SkillData" load_steps=4 format=3 uid="uid://cdp8sex36vdq2"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://5surx230gfw3" path="res://objects/exploding_brick.tscn" id="1_6pfoa"]
|
||||
[ext_resource type="PackedScene" uid="uid://coayig4dxelo2" path="res://objects/player_skills/brick_throw_skill.tscn" id="2_e0o8w"]
|
||||
[ext_resource type="Script" path="res://scripts/resources/skill_data.gd" id="3_cgsq1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_cgsq1")
|
||||
name = "Explosive brick"
|
||||
description = "Allows you to throw explosive bricks at enemies"
|
||||
node = ExtResource("2_e0o8w")
|
||||
config = {
|
||||
"brick_scene": ExtResource("1_6pfoa"),
|
||||
"player_controller": NodePath("."),
|
||||
"timer": NodePath("ThrowTimer")
|
||||
}
|
||||
cost = 180
|
17
resources/skills/fire_brick.tres
Normal file
17
resources/skills/fire_brick.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="SkillData" load_steps=4 format=3 uid="uid://2glvryih82t1"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://daau4j5hbklk0" path="res://objects/fire_brick.tscn" id="1_2g43l"]
|
||||
[ext_resource type="Script" 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"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_2j5ko")
|
||||
name = "Fire brick"
|
||||
description = "Allows you to throw fire bricks at enemies"
|
||||
node = ExtResource("1_g53fp")
|
||||
config = {
|
||||
"brick_scene": ExtResource("1_2g43l"),
|
||||
"player_controller": NodePath("."),
|
||||
"timer": NodePath("ThrowTimer")
|
||||
}
|
||||
cost = 150
|
17
resources/skills/ice_brick.tres
Normal file
17
resources/skills/ice_brick.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="SkillData" load_steps=4 format=3 uid="uid://cx5fsbexblp60"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bcmx07k12gcsc" path="res://objects/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="Script" path="res://scripts/resources/skill_data.gd" id="2_pspkt"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_pspkt")
|
||||
name = "Ice brick"
|
||||
description = "Allows you to throw ice bricks at enemies"
|
||||
node = ExtResource("1_rflri")
|
||||
config = {
|
||||
"brick_scene": ExtResource("1_ci3d1"),
|
||||
"player_controller": NodePath("."),
|
||||
"timer": NodePath("ThrowTimer")
|
||||
}
|
||||
cost = 150
|
@@ -1,5 +1,6 @@
|
||||
[gd_resource type="Resource" script_class="SkillData" load_steps=3 format=3 uid="uid://d3bjre2etov1n"]
|
||||
[gd_resource type="Resource" script_class="SkillData" 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" path="res://scripts/resources/skill_data.gd" id="1_r01oq"]
|
||||
|
||||
@@ -14,3 +15,4 @@ config = {
|
||||
"root": NodePath(".")
|
||||
}
|
||||
cost = 70
|
||||
icon = ExtResource("1_16qcg")
|
||||
|
Reference in New Issue
Block a user