spawns all entities

connected chests to color/ui
This commit is contained in:
2024-02-12 08:07:42 -06:00
parent 8aaedae7c3
commit 6f1d578ee1
23 changed files with 554 additions and 7 deletions

View File

@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="Buff" load_steps=3 format=3 uid="uid://djb1iyhb8gwqb"]
[ext_resource type="Texture2D" uid="uid://cn5lvdmjt2xue" path="res://assets/boots.png" id="1_8dq50"]
[ext_resource type="Script" path="res://scripts/buff.gd" id="1_qg760"]
[resource]
script = ExtResource("1_qg760")
image = ExtResource("1_8dq50")
color = 2

View File

@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="Buff" load_steps=3 format=3 uid="uid://bo7k3kmsq57xy"]
[ext_resource type="Script" path="res://scripts/buff.gd" id="1_iyogh"]
[ext_resource type="Texture2D" uid="uid://c3ck7s86qc37a" path="res://assets/eye.png" id="1_jskem"]
[resource]
script = ExtResource("1_iyogh")
image = ExtResource("1_jskem")
color = 1

9
data/buffs/red_buff.tres Normal file
View File

@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="Buff" load_steps=3 format=3 uid="uid://tiv2o1xk5g7e"]
[ext_resource type="Texture2D" uid="uid://doxv0y43t4770" path="res://assets/heart.png" id="1_gshhk"]
[ext_resource type="Script" path="res://scripts/buff.gd" id="2_8wfcu"]
[resource]
script = ExtResource("2_8wfcu")
image = ExtResource("1_gshhk")
color = 0

View File

@@ -0,0 +1,15 @@
[gd_resource type="Theme" load_steps=3 format=3 uid="uid://dm1sx57hw07cn"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_brxtc"]
bg_color = Color(0, 0, 0, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qebp0"]
bg_color = Color(0, 0, 1, 1)
corner_radius_top_left = 1
corner_radius_top_right = 1
[resource]
ProgressBar/styles/background = SubResource("StyleBoxFlat_brxtc")
ProgressBar/styles/fill = SubResource("StyleBoxFlat_qebp0")

View File

@@ -0,0 +1,15 @@
[gd_resource type="Theme" load_steps=3 format=3 uid="uid://ewgo3qi2xs54"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_brxtc"]
bg_color = Color(0, 0, 0, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qebp0"]
bg_color = Color(0, 1, 0, 1)
corner_radius_top_left = 1
corner_radius_top_right = 1
[resource]
ProgressBar/styles/background = SubResource("StyleBoxFlat_brxtc")
ProgressBar/styles/fill = SubResource("StyleBoxFlat_qebp0")

View File

@@ -0,0 +1,15 @@
[gd_resource type="Theme" load_steps=3 format=3 uid="uid://7w47qwaweedo"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_brxtc"]
bg_color = Color(0, 0, 0, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qebp0"]
bg_color = Color(1, 0, 0, 1)
corner_radius_top_left = 1
corner_radius_top_right = 1
[resource]
ProgressBar/styles/background = SubResource("StyleBoxFlat_brxtc")
ProgressBar/styles/fill = SubResource("StyleBoxFlat_qebp0")