This commit is contained in:
Marco 2025-04-30 17:13:40 +02:00
commit 746ec26a19
4 changed files with 48 additions and 10 deletions

View file

@ -1,15 +1,16 @@
[gd_resource type="Resource" script_class="LootItem" load_steps=3 format=3 uid="uid://cfod8kephnio6"]
[ext_resource type="Texture2D" uid="uid://b61po207ggn63" path="res://Sprites/Items/Yin_Ammo.png" id="1_6ly0q"]
[ext_resource type="Texture2D" uid="uid://bxwcjp25xba1j" path="res://Sprites/Items/Nuclear_Ammo.png" id="1_nas3h"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_x45it"]
[resource]
script = ExtResource("2_x45it")
ItemName = &"Nuclear Ammo"
ShortName = null
ShortName = &""
ItemDescription = &"Ammo for Nuclear weapons"
ItemKey = &"NUCLEAR_AMMO"
Item = 3
Price = 0
Amount = 5
Max = 50
PickupIfMaxed = false
@ -17,5 +18,5 @@ ConsumeOnUse = true
UiType = 2
Selectable = false
AutoPickup = true
InventorySprite = ExtResource("1_6ly0q")
DropScenePath = &"res://Scenes/Items/Nuclear_Gun_Pickup.tscn"
InventorySprite = ExtResource("1_nas3h")
DropScenePath = &"uid://c1va8s6p050kx"

View file

@ -6,10 +6,11 @@
[resource]
script = ExtResource("3_ajs4l")
ItemName = &"Yin-Yang Ammo"
ShortName = null
ShortName = &""
ItemDescription = &"Ammo for Ying-Yang based weapons"
ItemKey = &"YINYANG_AMMO"
Item = 3
Price = 0
Amount = 5
Max = 50
PickupIfMaxed = false
@ -18,4 +19,4 @@ UiType = 2
Selectable = false
AutoPickup = true
InventorySprite = ExtResource("1_jt7l8")
DropScenePath = &"res://Scenes/Items/Yin_Yang_Ammo.tscn"
DropScenePath = &"uid://sjxkj5jdndxb"