mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-19 00:03:48 +00:00
Item Effects system
This commit is contained in:
parent
96acadf34c
commit
dae952af8b
15 changed files with 255 additions and 84 deletions
|
|
@ -1,14 +1,22 @@
|
|||
[gd_resource type="Resource" script_class="LootItem" load_steps=3 format=3 uid="uid://bhbufxodybsw4"]
|
||||
[gd_resource type="Resource" script_class="LootItem" load_steps=5 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://bxgjw8wis5l0t" path="res://Scripts/Resources/ItemEffects/HealPercentEffectResource.cs" id="2_mvfwl"]
|
||||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_xsuq5"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_qh6j2"]
|
||||
script = ExtResource("2_mvfwl")
|
||||
HealPercentage = 25.0
|
||||
ResourceType = 1
|
||||
metadata/_custom_type_script = "uid://bxgjw8wis5l0t"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_xsuq5")
|
||||
ItemName = &"Shield Charge"
|
||||
ItemDescription = &"Recharges the shield by 25%"
|
||||
ItemKey = &"SHIELD"
|
||||
Item = 8
|
||||
ItemEffect = SubResource("Resource_qh6j2")
|
||||
Amount = 1
|
||||
Max = 10
|
||||
PickupIfMaxed = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue