Implemented vending machine

This commit is contained in:
MaddoScientisto 2026-03-07 16:49:06 +01:00
commit e5ffb0cf94
32 changed files with 3074 additions and 1992 deletions

View file

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="LootItem" load_steps=3 format=3 uid="uid://cfod8kephnio6"]
[gd_resource type="Resource" script_class="LootItem" format=3 uid="uid://cfod8kephnio6"]
[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"]
@ -10,14 +10,10 @@ ShortName = &""
ItemDescription = &"Ammo for Nuclear weapons"
ItemKey = &"NUCLEAR_AMMO"
Item = 3
Tier = 0
Price = 0
Price = 5
Amount = 10
Max = 50
PickupIfMaxed = false
ConsumeOnUse = true
UiType = 0
Selectable = false
AutoPickup = true
InventorySprite = ExtResource("1_nas3h")
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"