mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-03 11:51:17 +00:00
Auto Pickup
This commit is contained in:
parent
e56b896365
commit
488d02ef81
24 changed files with 148 additions and 19 deletions
|
|
@ -1,8 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="LootItem" load_steps=5 format=3 uid="uid://ct1fa2huvy34n"]
|
||||
[gd_resource type="Resource" script_class="LootItem" load_steps=4 format=3 uid="uid://ct1fa2huvy34n"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="1_31o2l"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5g0qg6u2gm6f" path="res://Sprites/Items/Ammo1.png" id="1_bpftr"]
|
||||
[ext_resource type="PackedScene" uid="uid://cjv4yahpb0h2l" path="res://Scenes/HUD/Items/ammo.tscn" id="1_qkp4b"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3y0hf"]
|
||||
atlas = ExtResource("1_bpftr")
|
||||
|
|
@ -10,6 +9,7 @@ atlas = ExtResource("1_bpftr")
|
|||
[resource]
|
||||
script = ExtResource("1_31o2l")
|
||||
ItemName = &"Ice Ammo"
|
||||
ShortName = null
|
||||
ItemDescription = &"Ammo for Ice-Based Weapons"
|
||||
ItemKey = &"ICE_AMMO"
|
||||
Item = 3
|
||||
|
|
@ -19,6 +19,6 @@ PickupIfMaxed = false
|
|||
ConsumeOnUse = true
|
||||
UiType = 2
|
||||
Selectable = false
|
||||
AutoPickup = true
|
||||
InventorySprite = SubResource("AtlasTexture_3y0hf")
|
||||
HudItemScene = ExtResource("1_qkp4b")
|
||||
DropScenePath = &"res://Scenes/Items/Ammo1.tscn"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue