mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 22:33:46 +00:00
Shield Extend
This commit is contained in:
parent
c7380bca3a
commit
242222a4d7
20 changed files with 456 additions and 28 deletions
|
|
@ -1,14 +1,22 @@
|
|||
[gd_resource type="Resource" script_class="LootItem" load_steps=3 format=3 uid="uid://ciybnocjfpshh"]
|
||||
[gd_resource type="Resource" script_class="LootItem" load_steps=5 format=3 uid="uid://ciybnocjfpshh"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c8fr1ea20odaw" path="res://Sprites/Items/Heart_Extend.png" id="1_00obu"]
|
||||
[ext_resource type="Script" uid="uid://6cupx85nnda4" path="res://Scripts/Resources/ItemEffects/ResourceIncreaseEffectResource.cs" id="2_uaof8"]
|
||||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="3_1s60f"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_bltl4"]
|
||||
script = ExtResource("2_uaof8")
|
||||
IncreaseAmount = 4.0
|
||||
ResourceType = 0
|
||||
metadata/_custom_type_script = "uid://6cupx85nnda4"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_1s60f")
|
||||
ItemName = &"Health Extend"
|
||||
ItemDescription = &"Extends the max health"
|
||||
ItemKey = &"HEALTH_EXTEND"
|
||||
Item = 13
|
||||
ItemEffect = SubResource("Resource_bltl4")
|
||||
Amount = 1
|
||||
Max = 10
|
||||
PickupIfMaxed = false
|
||||
|
|
|
|||
28
Resources/Items/Shield_Extend_Pickup.tres
Normal file
28
Resources/Items/Shield_Extend_Pickup.tres
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[gd_resource type="Resource" script_class="LootItem" load_steps=5 format=3 uid="uid://bdpbekqhuuq4l"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b2vmpi57d7vwy" path="res://Sprites/Items/Shield_Extend.png" id="1_e61f8"]
|
||||
[ext_resource type="Script" uid="uid://6cupx85nnda4" path="res://Scripts/Resources/ItemEffects/ResourceIncreaseEffectResource.cs" id="2_da583"]
|
||||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_n442a"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_7h0ch"]
|
||||
script = ExtResource("2_da583")
|
||||
IncreaseAmount = 4.0
|
||||
ResourceType = 1
|
||||
metadata/_custom_type_script = "uid://6cupx85nnda4"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_n442a")
|
||||
ItemName = &"Shield Extend"
|
||||
ItemDescription = &"Extends the max shield"
|
||||
ItemKey = &"SHIELD_EXTEND"
|
||||
Item = 13
|
||||
ItemEffect = SubResource("Resource_7h0ch")
|
||||
Amount = 1
|
||||
Max = 10
|
||||
PickupIfMaxed = false
|
||||
ConsumeOnUse = true
|
||||
UiType = 0
|
||||
Selectable = false
|
||||
InventorySprite = ExtResource("1_e61f8")
|
||||
DropScenePath = &"res://Scenes/Items/Shield_Extend_Pickup.tscn"
|
||||
metadata/_custom_type_script = "uid://epnwjptvks3t"
|
||||
Loading…
Add table
Add a link
Reference in a new issue