mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 19:33:46 +00:00
Pickups
This commit is contained in:
parent
b7d241bf11
commit
323c420aad
21 changed files with 299 additions and 19 deletions
20
Resources/Items/Green_Points_Pickup.tres
Normal file
20
Resources/Items/Green_Points_Pickup.tres
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[gd_resource type="Resource" script_class="LootItem" load_steps=3 format=3 uid="uid://cvlwye1u5gv8u"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cdwip2s28eleh" path="res://Sprites/Items/Point_Pickup_Green.png" id="1_b4fj2"]
|
||||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_fg25e"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_fg25e")
|
||||
ItemName = "Green Points"
|
||||
ItemDescription = "Use them for upgrades"
|
||||
ItemKey = "GreenPoints"
|
||||
Item = 11
|
||||
Amount = 1
|
||||
Max = 100
|
||||
PickupIfMaxed = false
|
||||
ConsumeOnUse = true
|
||||
UiType = 0
|
||||
Selectable = false
|
||||
InventorySprite = ExtResource("1_b4fj2")
|
||||
DropScenePath = null
|
||||
metadata/_custom_type_script = "uid://epnwjptvks3t"
|
||||
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"
|
||||
20
Resources/Items/Points_Pickup.tres
Normal file
20
Resources/Items/Points_Pickup.tres
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[gd_resource type="Resource" script_class="LootItem" load_steps=3 format=3 uid="uid://dy53gia1tmkah"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d2vmocquikjia" path="res://Sprites/Items/Point_Pickup.png" id="1_nsfmo"]
|
||||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_rxsju"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_rxsju")
|
||||
ItemName = "Points"
|
||||
ItemDescription = "Use them for upgrades"
|
||||
ItemKey = "Points"
|
||||
Item = 11
|
||||
Amount = 1
|
||||
Max = 100
|
||||
PickupIfMaxed = false
|
||||
ConsumeOnUse = true
|
||||
UiType = 0
|
||||
Selectable = false
|
||||
InventorySprite = ExtResource("1_nsfmo")
|
||||
DropScenePath = null
|
||||
metadata/_custom_type_script = "uid://epnwjptvks3t"
|
||||
|
|
@ -10,10 +10,10 @@ ItemDescription = "Restores Health when used"
|
|||
ItemKey = "PowerPickup"
|
||||
Item = 4
|
||||
Amount = 1
|
||||
Max = 10
|
||||
Max = 100
|
||||
PickupIfMaxed = false
|
||||
ConsumeOnUse = true
|
||||
UiType = 2
|
||||
Selectable = true
|
||||
Selectable = false
|
||||
InventorySprite = ExtResource("1_cang8")
|
||||
DropScenePath = &"res://Scenes/Items/Power_Pickup.tscn"
|
||||
|
|
|
|||
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