mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-02 19:51:16 +00:00
Pickups
This commit is contained in:
parent
b7d241bf11
commit
323c420aad
21 changed files with 299 additions and 19 deletions
20
Resources/Items/Shield_Pickup.tres
Normal file
20
Resources/Items/Shield_Pickup.tres
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[gd_resource type="Resource" script_class="LootItem" load_steps=3 format=3 uid="uid://bhbufxodybsw4"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://8n23xie4kore" path="res://Sprites/Items/Shield_Pickup.png" id="1_0hq6q"]
|
||||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_xsuq5"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_xsuq5")
|
||||
ItemName = "Shield"
|
||||
ItemDescription = "Gives back 20 Shield on use"
|
||||
ItemKey = "Shield"
|
||||
Item = 8
|
||||
Amount = 1
|
||||
Max = 10
|
||||
PickupIfMaxed = false
|
||||
ConsumeOnUse = true
|
||||
UiType = 0
|
||||
Selectable = true
|
||||
InventorySprite = ExtResource("1_0hq6q")
|
||||
DropScenePath = null
|
||||
metadata/_custom_type_script = "uid://epnwjptvks3t"
|
||||
Loading…
Add table
Add a link
Reference in a new issue