Rework item descriptions, fix item rescue menu

This commit is contained in:
2026-02-18 02:41:22 -08:00
parent d39524ffe2
commit 104b9cf25e
172 changed files with 1336 additions and 915 deletions
+3 -1
View File
@@ -18,7 +18,9 @@ public partial class BoxItem : Node3D, IBaseInventoryItem
public string ItemName => Stats.Name;
public string Description => Stats.Description;
public string StatDescription => Stats.StatDescription;
public string FlavorText => Stats.FlavorText;
public float SpawnRate => Stats.SpawnRate;
@@ -7,7 +7,8 @@
script = ExtResource("2_ncstm")
DamageToPlayer = 0
Name = "Alluring Acquisition"
Description = "Grants you a basic item."
StatDescription = "Contains a Basic Item."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -7,7 +7,8 @@
script = ExtResource("2_6h66g")
DamageToPlayer = 0
Name = "Asceticism"
Description = "Forcibly unequips all of your items."
StatDescription = "Forcibly unequips all items."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -7,7 +7,8 @@
script = ExtResource("2_k6pqw")
DamageToPlayer = 0
Name = "Blood Acquisition"
Description = "Contains a rare item but lowers current HP to 1."
StatDescription = "Contains a rare item in exchange for all HP."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -5,9 +5,10 @@
[resource]
script = ExtResource("1_i336w")
DamageToPlayer = 10
DamageToPlayer = 0
Name = "Empty Promise"
Description = "An empty box."
StatDescription = "An empty box."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -0,0 +1,29 @@
[gd_resource type="Resource" script_class="BoxItemStats" load_steps=3 format=3 uid="uid://br2cp1hyjfod8"]
[ext_resource type="Texture2D" uid="uid://btlkiw4ros5om" path="res://src/items/box/textures/Speculative Box.png" id="1_y716o"]
[ext_resource type="Script" uid="uid://vuavr681au06" path="res://src/items/accessory/BoxItemStats.cs" id="2_p8pt8"]
[resource]
script = ExtResource("2_p8pt8")
DamageToPlayer = 0
Name = "Equivalence Box"
StatDescription = "Trades a random item for another item."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
BonusLuck = 0.05
BonusHP = 0
BonusVT = 0
AeolicResistance = 0
TelluricResistance = 0
HydricResistance = 0
IgneousResistance = 0
FerrumResistance = 0
HolyResistance = 0
CurseResistance = 0
ThrowSpeed = 12.0
ThrowDamage = 5
ItemTag = 11
Texture = ExtResource("1_y716o")
metadata/_custom_type_script = "uid://vuavr681au06"
@@ -7,7 +7,8 @@
script = ExtResource("2_pe0kd")
DamageToPlayer = 0
Name = "Fashionable Acquisition"
Description = "Contains a random armor."
StatDescription = "Contains armor."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -7,7 +7,8 @@
script = ExtResource("2_kb1l2")
DamageToPlayer = 0
Name = "Furious Acquisition"
Description = "Contains a random weapon."
StatDescription = "Contains a weapon."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -7,7 +7,8 @@
script = ExtResource("2_w23fa")
DamageToPlayer = 0
Name = "Glue Jar"
Description = "Makes you unable to unequip any items."
StatDescription = "All currently equipped items will not be removable without force."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -7,7 +7,8 @@
script = ExtResource("2_iw3ll")
DamageToPlayer = 0
Name = "Healthy Acquisition"
Description = "Contains a random restorative."
StatDescription = "Contains restorative."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -7,7 +7,8 @@
script = ExtResource("2_pssvy")
DamageToPlayer = 0
Name = "Identity Acquisition"
Description = "Contains a random mask."
StatDescription = "Contains mask."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -6,8 +6,9 @@
[resource]
script = ExtResource("2_xe8mc")
DamageToPlayer = 0
Name = "Chaotic Prayer"
Description = "Converts all items into random items."
Name = "Lottery Box"
StatDescription = "Trades all inventory items for random items."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -4,9 +4,10 @@
[resource]
script = ExtResource("2_vgter")
DamageToPlayer = 10
DamageToPlayer = 70
Name = "Malfunction"
Description = "Damages self."
StatDescription = "Deals a significant amount of damage."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -21,6 +22,6 @@ FerrumResistance = 0
HolyResistance = 0
CurseResistance = 0
ThrowSpeed = 12.0
ThrowDamage = 5
ThrowDamage = 70
ItemTag = 3
metadata/_custom_type_script = "uid://vuavr681au06"
@@ -6,8 +6,9 @@
[resource]
script = ExtResource("2_tbg32")
DamageToPlayer = 0
Name = "Scripture Sign; Curiosity"
Description = "Grants you an item you do not currently have."
Name = "Scholar's Box"
StatDescription = "Contains an item that is currently not in the inventory."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -7,7 +7,8 @@
script = ExtResource("2_ucc84")
DamageToPlayer = 0
Name = "Speculative Acquisition"
Description = "Contains a random box."
StatDescription = "Contains a box."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
@@ -0,0 +1,29 @@
[gd_resource type="Resource" script_class="BoxItemStats" load_steps=3 format=3 uid="uid://cfp3ust1pw76y"]
[ext_resource type="Texture2D" uid="uid://cenjp5ylog4sk" path="res://src/items/box/textures/SpellSign Box.png" id="1_ohi7i"]
[ext_resource type="Script" uid="uid://vuavr681au06" path="res://src/items/accessory/BoxItemStats.cs" id="2_qwpdy"]
[resource]
script = ExtResource("2_qwpdy")
DamageToPlayer = 0
Name = "Spell Sign: Acquisition"
StatDescription = "Contains random spell."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
BonusLuck = 0.05
BonusHP = 0
BonusVT = 0
AeolicResistance = 0
TelluricResistance = 0
HydricResistance = 0
IgneousResistance = 0
FerrumResistance = 0
HolyResistance = 0
CurseResistance = 0
ThrowSpeed = 12.0
ThrowDamage = 5
ItemTag = 8
Texture = ExtResource("1_ohi7i")
metadata/_custom_type_script = "uid://vuavr681au06"
@@ -0,0 +1,29 @@
[gd_resource type="Resource" script_class="BoxItemStats" load_steps=3 format=3 uid="uid://cytyjmo2kjtul"]
[ext_resource type="Texture2D" uid="uid://cenjp5ylog4sk" path="res://src/items/box/textures/SpellSign Box.png" id="1_poy28"]
[ext_resource type="Script" uid="uid://vuavr681au06" path="res://src/items/accessory/BoxItemStats.cs" id="2_7rwoq"]
[resource]
script = ExtResource("2_7rwoq")
DamageToPlayer = 0
Name = "Trickster's Box"
StatDescription = "Forcibly ejects all items from inventory."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
BonusLuck = 5
BonusHP = 0
BonusVT = 0
AeolicResistance = 0
TelluricResistance = 0
HydricResistance = 0
IgneousResistance = 0
FerrumResistance = 0
HolyResistance = 0
CurseResistance = 0
ThrowSpeed = 12.0
ThrowDamage = 5
ItemTag = 17
Texture = ExtResource("1_poy28")
metadata/_custom_type_script = "uid://vuavr681au06"
@@ -0,0 +1,29 @@
[gd_resource type="Resource" script_class="BoxItemStats" load_steps=3 format=3 uid="uid://bhfs0jk02jha2"]
[ext_resource type="Texture2D" uid="uid://cenjp5ylog4sk" path="res://src/items/box/textures/SpellSign Box.png" id="1_qdrns"]
[ext_resource type="Script" uid="uid://vuavr681au06" path="res://src/items/accessory/BoxItemStats.cs" id="2_4l6ua"]
[resource]
script = ExtResource("2_4l6ua")
DamageToPlayer = 0
Name = "Trinket Box"
StatDescription = "Contains a jewel."
FlavorText = ""
SpawnRate = 0.5
BonusAttack = 0
BonusDefense = 0
BonusLuck = 0.05
BonusHP = 0
BonusVT = 0
AeolicResistance = 0
TelluricResistance = 0
HydricResistance = 0
IgneousResistance = 0
FerrumResistance = 0
HolyResistance = 0
CurseResistance = 0
ThrowSpeed = 12.0
ThrowDamage = 5
ItemTag = 21
Texture = ExtResource("1_qdrns")
metadata/_custom_type_script = "uid://vuavr681au06"