summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/definitions/Items/mana_bolt_scroll.tres14
-rw-r--r--assets/definitions/spells/little_damage.tres8
-rw-r--r--assets/definitions/spells/mana_bolt.tres14
-rw-r--r--assets/sprites/items/fire.pngbin0 -> 871 bytes
-rw-r--r--assets/sprites/items/fire.png.import34
5 files changed, 70 insertions, 0 deletions
diff --git a/assets/definitions/Items/mana_bolt_scroll.tres b/assets/definitions/Items/mana_bolt_scroll.tres
new file mode 100644
index 0000000..0812d4d
--- /dev/null
+++ b/assets/definitions/Items/mana_bolt_scroll.tres
@@ -0,0 +1,14 @@
+[gd_resource type="Resource" script_class="ScrollConsumableDefinition" load_steps=4 format=3 uid="uid://xbjfp7d6qoyj"]
+
+[ext_resource type="Resource" uid="uid://boi8svlb0e8l" path="res://assets/definitions/spells/mana_bolt.tres" id="1_eaxr2"]
+[ext_resource type="Script" uid="uid://2lk5w2po81gy" path="res://scripts/Entities/Items/ScrollConsumableDefinition.cs" id="1_jtnuc"]
+[ext_resource type="Texture2D" uid="uid://dwky8qc2y602k" path="res://assets/sprites/actors/player.png" id="3_si3hv"]
+
+[resource]
+script = ExtResource("1_jtnuc")
+Spell = ExtResource("1_eaxr2")
+name = "Pergaminho de flecha de mana"
+texture = ExtResource("3_si3hv")
+Type = 1
+blocksMovement = false
+metadata/_custom_type_script = "uid://2lk5w2po81gy"
diff --git a/assets/definitions/spells/little_damage.tres b/assets/definitions/spells/little_damage.tres
new file mode 100644
index 0000000..0c5436d
--- /dev/null
+++ b/assets/definitions/spells/little_damage.tres
@@ -0,0 +1,8 @@
+[gd_resource type="Resource" script_class="DamageEffect" load_steps=2 format=3 uid="uid://2121t34hbxck"]
+
+[ext_resource type="Script" uid="uid://cmgtdh2kdo1rq" path="res://scripts/Magic/DamageEffect.cs" id="1_rnhwa"]
+
+[resource]
+script = ExtResource("1_rnhwa")
+Damage = 5
+metadata/_custom_type_script = "uid://cmgtdh2kdo1rq"
diff --git a/assets/definitions/spells/mana_bolt.tres b/assets/definitions/spells/mana_bolt.tres
new file mode 100644
index 0000000..da209fb
--- /dev/null
+++ b/assets/definitions/spells/mana_bolt.tres
@@ -0,0 +1,14 @@
+[gd_resource type="Resource" script_class="SpellResource" load_steps=4 format=3 uid="uid://boi8svlb0e8l"]
+
+[ext_resource type="Script" uid="uid://brhihikhjtc6e" path="res://scripts/Magic/SpellEffect.cs" id="1_ux3o7"]
+[ext_resource type="Script" uid="uid://bi6jdrduu76de" path="res://scripts/Magic/SpellResource.cs" id="2_uq8o1"]
+[ext_resource type="Resource" uid="uid://2121t34hbxck" path="res://assets/definitions/spells/little_damage.tres" id="2_yltt7"]
+
+[resource]
+script = ExtResource("2_uq8o1")
+SpellName = "Flecha de mana"
+Cost = 8
+Type = 0
+Range = 7
+Effects = Array[ExtResource("1_ux3o7")]([ExtResource("2_yltt7")])
+metadata/_custom_type_script = "uid://bi6jdrduu76de"
diff --git a/assets/sprites/items/fire.png b/assets/sprites/items/fire.png
new file mode 100644
index 0000000..8b96601
--- /dev/null
+++ b/assets/sprites/items/fire.png
Binary files differ
diff --git a/assets/sprites/items/fire.png.import b/assets/sprites/items/fire.png.import
new file mode 100644
index 0000000..09c58b8
--- /dev/null
+++ b/assets/sprites/items/fire.png.import
@@ -0,0 +1,34 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://di7wi728svlel"
+path="res://.godot/imported/fire.png-bb0d4b2241e34a55047b4d8e5d147305.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://assets/sprites/items/fire.png"
+dest_files=["res://.godot/imported/fire.png-bb0d4b2241e34a55047b4d8e5d147305.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/hdr_compression=1
+compress/normal_map=0
+compress/channel_pack=0
+mipmaps/generate=false
+mipmaps/limit=-1
+roughness/mode=0
+roughness/src_normal=""
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/normal_map_invert_y=false
+process/hdr_as_srgb=false
+process/hdr_clamp_exposure=false
+process/size_limit=0
+detect_3d/compress_to=1