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://cltxhkrqp055v"]
[gd_resource type="Resource" script_class="LootItem" format=3 uid="uid://cltxhkrqp055v"]
[ext_resource type="Texture2D" uid="uid://4x3ouxyxjqjc" path="res://Sprites/Items/Credits_Pickup.png" id="1_woor7"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_swcup"]
@ -10,11 +10,9 @@ ShortName = &""
ItemDescription = &"Can be used to buy things"
ItemKey = &"CREDITS"
Item = 12
Tier = 0
Price = 0
Price = 1
Amount = 1
Max = 10
PickupIfMaxed = false
Max = 99999999
ConsumeOnUse = true
UiType = 6
Selectable = true