mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-19 22:23:47 +00:00
Implemented vending machine
This commit is contained in:
parent
d78daf4e18
commit
e5ffb0cf94
32 changed files with 3074 additions and 1992 deletions
|
|
@ -13,6 +13,7 @@ ShortName = &""
|
|||
ItemDescription = &"Ammo for Ice-Based Weapons"
|
||||
ItemKey = &"ICE_AMMO"
|
||||
Item = 3
|
||||
Price = 2
|
||||
Amount = 5
|
||||
Max = 30
|
||||
ConsumeOnUse = true
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="LootItem" load_steps=3 format=3 uid="uid://diqm2ju0xakkt"]
|
||||
[gd_resource type="Resource" script_class="LootItem" format=3 uid="uid://diqm2ju0xakkt"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b61po207ggn63" path="res://Sprites/Items/Yin_Ammo.png" id="1_jt7l8"]
|
||||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="3_ajs4l"]
|
||||
|
|
@ -10,14 +10,10 @@ ShortName = &""
|
|||
ItemDescription = &"Ammo for Ying-Yang based weapons"
|
||||
ItemKey = &"YINYANG_AMMO"
|
||||
Item = 3
|
||||
Tier = 0
|
||||
Price = 0
|
||||
Price = 3
|
||||
Amount = 10
|
||||
Max = 50
|
||||
PickupIfMaxed = false
|
||||
ConsumeOnUse = true
|
||||
UiType = 0
|
||||
Selectable = false
|
||||
AutoPickup = true
|
||||
InventorySprite = ExtResource("1_jt7l8")
|
||||
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue