Move files and folders to new repo format to enable multi-project format
This commit is contained in:
27
Zennysoft.Game.Ma/src/items/effect/EffectItem.cs
Normal file
27
Zennysoft.Game.Ma/src/items/effect/EffectItem.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Chickensoft.Introspection;
|
||||
using Godot;
|
||||
|
||||
namespace Zennysoft.Game.Ma;
|
||||
|
||||
[Meta, Id("effect_item")]
|
||||
public partial class EffectItem : InventoryItem
|
||||
{
|
||||
[Export]
|
||||
private EffectItemStats _effectItemStats { get; set; } = new EffectItemStats();
|
||||
|
||||
public override string ItemName => _effectItemStats.Name;
|
||||
|
||||
public override string Description => _effectItemStats.Description;
|
||||
|
||||
public override float SpawnRate => _effectItemStats.SpawnRate;
|
||||
|
||||
public override double ThrowDamage => _effectItemStats.ThrowDamage;
|
||||
|
||||
public override float ThrowSpeed => _effectItemStats.ThrowSpeed;
|
||||
|
||||
public UsableItemTag UsableItemTag => _effectItemStats.UsableItemTag;
|
||||
|
||||
public void SetEffectTag(UsableItemTag effect) => _effectItemStats.UsableItemTag = effect;
|
||||
|
||||
public override InventoryItemStats ItemStats { get => _effectItemStats; set => _effectItemStats = (EffectItemStats)value; }
|
||||
}
|
||||
1
Zennysoft.Game.Ma/src/items/effect/EffectItem.cs.uid
Normal file
1
Zennysoft.Game.Ma/src/items/effect/EffectItem.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bl16bjcbosq5j
|
||||
27
Zennysoft.Game.Ma/src/items/effect/EffectItem.tscn
Normal file
27
Zennysoft.Game.Ma/src/items/effect/EffectItem.tscn
Normal file
@@ -0,0 +1,27 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://d0pl1n1jf77jm"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bl16bjcbosq5j" path="res://src/items/effect/EffectItem.cs" id="1_yw2rj"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_03cqg"]
|
||||
size = Vector3(0.778381, 0.929947, 0.731567)
|
||||
|
||||
[node name="EffectItem" type="Node3D"]
|
||||
script = ExtResource("1_yw2rj")
|
||||
|
||||
[node name="Pickup" type="Area3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
collision_layer = 4
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Pickup"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0600509, 0.26725, 0.180481)
|
||||
shape = SubResource("BoxShape3D_03cqg")
|
||||
|
||||
[node name="Sprite" type="Sprite3D" parent="Pickup"]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0.999973, 0.00489444, -0.00548299, -0.00488109, 0.999985, 0.00244357, 0.00549488, -0.00241672, 0.999982, 0, 0, 0)
|
||||
pixel_size = 0.0005
|
||||
billboard = 2
|
||||
shaded = true
|
||||
texture_filter = 0
|
||||
render_priority = 100
|
||||
18
Zennysoft.Game.Ma/src/items/effect/EffectItemStats.cs
Normal file
18
Zennysoft.Game.Ma/src/items/effect/EffectItemStats.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Chickensoft.Introspection;
|
||||
using Chickensoft.Serialization;
|
||||
using Godot;
|
||||
|
||||
namespace Zennysoft.Game.Ma;
|
||||
|
||||
[GlobalClass]
|
||||
[Meta, Id("effect_item_stats")]
|
||||
public partial class EffectItemStats : InventoryItemStats
|
||||
{
|
||||
[Export]
|
||||
[Save("effect_item_tag")]
|
||||
public UsableItemTag UsableItemTag { get; set; } = UsableItemTag.None;
|
||||
|
||||
[Export]
|
||||
[Save("effect_item_element")]
|
||||
public ElementType ElementalDamageType { get; set; }
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
uid://b5w4iw4iqmxtn
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://crvn3srgpj2fh"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_u0h2q"]
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="2_yytis"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_yytis")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 1
|
||||
Name = "Aeolic Caster"
|
||||
Description = "Deal Aeolic Damage to all enemies in the room."
|
||||
Texture = ExtResource("1_u0h2q")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://lx7xkoj6w8gr"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_1mm10"]
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="2_53wiy"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_53wiy")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 0
|
||||
Name = "Cloth Resolution"
|
||||
Description = "Raises currently equipped armor's defense by 1."
|
||||
Texture = ExtResource("1_1mm10")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
19
Zennysoft.Game.Ma/src/items/effect/resources/Cosmos.tres
Normal file
19
Zennysoft.Game.Ma/src/items/effect/resources/Cosmos.tres
Normal file
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://bg2fsie2g3j6q"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_dn5pk"]
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="2_n1557"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_n1557")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 0
|
||||
Name = "Cosmos"
|
||||
Description = "Raises current Level by 1."
|
||||
Texture = ExtResource("1_dn5pk")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://cxfu683mhpu6v"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="1_50lqu"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_j7j7j"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_50lqu")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 0
|
||||
Name = "Devic Balance"
|
||||
Description = "Kill half of all enemies in current room."
|
||||
Texture = ExtResource("1_j7j7j")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://bptg6eybj5dxk"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="1_0uaie"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_j462p"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_0uaie")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 0
|
||||
Name = "Devic Recall"
|
||||
Description = "Teleports all enemies to current room."
|
||||
Texture = ExtResource("1_j462p")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://c6ecr2cquav3"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="1_3l06v"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_dbua5"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_3l06v")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 0
|
||||
Name = "Entropic Seal"
|
||||
Description = "Random effect."
|
||||
Texture = ExtResource("1_dbua5")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://cx8kpmyhl5vkj"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_6wt4w"]
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="1_uojwo"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_uojwo")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 0
|
||||
Name = "Ferrous Resolution"
|
||||
Description = "Raises currently equipped weapon's attack by 1."
|
||||
Texture = ExtResource("1_6wt4w")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://d3to07qm7fm4"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_xsfvc"]
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="2_i4na1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_i4na1")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 5
|
||||
Name = "Ferrum Caster"
|
||||
Description = "Deal Ferrum Damage to all enemies in the room."
|
||||
Texture = ExtResource("1_xsfvc")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://5tbtsch3qagg"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="1_drp30"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_g0a3x"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_drp30")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 0
|
||||
Name = "Heaven's Rebellion"
|
||||
Description = "Heals self and all enemies in current room to maximum HP."
|
||||
Texture = ExtResource("1_g0a3x")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://bgqu6jsadtqjq"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_8v5wn"]
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="1_mj844"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_mj844")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 3
|
||||
Name = "Hydric Caster"
|
||||
Description = "Deal Hydric Damage to all enemies in the room."
|
||||
Texture = ExtResource("1_8v5wn")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://brj7h6tgifa5n"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_3iam5"]
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="2_cl8lc"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_cl8lc")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 4
|
||||
Name = "Igneous Caster"
|
||||
Description = "Deal Igneous Damage to all enemies in the room."
|
||||
Texture = ExtResource("1_3iam5")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://bldgbv38yplgk"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_0tcgy"]
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="1_hxj1b"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_hxj1b")
|
||||
UsableItemTags = Array[int]([7])
|
||||
Name = "Kyuuketsuki"
|
||||
Description = "Absorbs HP from all enemies in the room."
|
||||
Texture = ExtResource("1_0tcgy")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTags = Array[int]([])
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://b44v3y1okrj1s"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_31uf7"]
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="1_lq0bc"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_lq0bc")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 0
|
||||
Name = "Perspective"
|
||||
Description = "Swap current HP and VT."
|
||||
Texture = ExtResource("1_31uf7")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://cwh5w1yabwrxf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="1_ksb1c"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_vqhky"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ksb1c")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 0
|
||||
Name = "Sine Morphization"
|
||||
Description = "Turns all enemies in room to healing item."
|
||||
Texture = ExtResource("1_vqhky")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EffectItemStats" load_steps=3 format=3 uid="uid://dw26l3f3hd2sq"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c7v5pm32sedkg" path="res://src/items/effect/textures/entropic seal.PNG" id="1_x62ct"]
|
||||
[ext_resource type="Script" uid="uid://b5w4iw4iqmxtn" path="res://src/items/effect/EffectItemStats.cs" id="2_38yjb"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_38yjb")
|
||||
UsableItemTag = 0
|
||||
ElementalDamageType = 2
|
||||
Name = "Telluric Caster"
|
||||
Description = "Deal Telluric Damage to all enemies in the room."
|
||||
Texture = ExtResource("1_x62ct")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
ItemTag = 0
|
||||
metadata/_custom_type_script = "uid://b5w4iw4iqmxtn"
|
||||
BIN
Zennysoft.Game.Ma/src/items/effect/textures/entropic seal.PNG
Normal file
BIN
Zennysoft.Game.Ma/src/items/effect/textures/entropic seal.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.9 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c7v5pm32sedkg"
|
||||
path="res://.godot/imported/entropic seal.PNG-b7de800370bf83e9e4b096c62532ef11.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/items/effect/textures/entropic seal.PNG"
|
||||
dest_files=["res://.godot/imported/entropic seal.PNG-b7de800370bf83e9e4b096c62532ef11.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=0
|
||||
Reference in New Issue
Block a user