mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-05 21:51:17 +00:00
Pickups
This commit is contained in:
parent
b7d241bf11
commit
323c420aad
21 changed files with 299 additions and 19 deletions
20
Resources/Items/Money_Pickup.tres
Normal file
20
Resources/Items/Money_Pickup.tres
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[gd_resource type="Resource" script_class="LootItem" load_steps=3 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"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_swcup")
|
||||
ItemName = "Credits"
|
||||
ItemDescription = "Spend it on stuff"
|
||||
ItemKey = "Credits"
|
||||
Item = 4
|
||||
Amount = 1
|
||||
Max = 10
|
||||
PickupIfMaxed = false
|
||||
ConsumeOnUse = true
|
||||
UiType = 0
|
||||
Selectable = true
|
||||
InventorySprite = ExtResource("1_woor7")
|
||||
DropScenePath = null
|
||||
metadata/_custom_type_script = "uid://epnwjptvks3t"
|
||||
Loading…
Add table
Add a link
Reference in a new issue