filesystem rework

This commit is contained in:
Rendo 2025-07-19 20:13:34 +05:00
commit 2905db3dce
174 changed files with 93 additions and 353 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,53 @@
[gd_resource type="AnimationNodeStateMachine" load_steps=10 format=3 uid="uid://dj0blope85bg7"]
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_w2cv7"]
animation = &"basic/death"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_h0rfo"]
animation = &"basic/eating"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_nog33"]
animation = &"basic/stand"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_g2uel"]
animation = &"basic/walk"
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_vxhht"]
advance_mode = 2
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_r8rju"]
xfade_time = 0.5
break_loop_at_end = true
switch_mode = 2
advance_mode = 2
advance_expression = "can_process()"
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_y2ivb"]
xfade_time = 0.5
break_loop_at_end = true
switch_mode = 2
advance_mode = 2
advance_expression = "get(\"isEating\") == true and can_process()"
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_7d3k4"]
xfade_time = 0.5
advance_mode = 2
advance_expression = "get(\"isEating\") == true"
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_kk4wi"]
xfade_time = 0.5
advance_mode = 2
advance_expression = "get(\"isEating\") == false"
[resource]
states/Death/node = SubResource("AnimationNodeAnimation_w2cv7")
states/Death/position = Vector2(778, 100)
states/Eat/node = SubResource("AnimationNodeAnimation_h0rfo")
states/Eat/position = Vector2(575, 185)
states/End/position = Vector2(977, 90)
states/Idle/node = SubResource("AnimationNodeAnimation_nog33")
states/Idle/position = Vector2(366, 100)
states/Walk/node = SubResource("AnimationNodeAnimation_g2uel")
states/Walk/position = Vector2(575, 35)
transitions = ["Start", "Idle", SubResource("AnimationNodeStateMachineTransition_vxhht"), "Idle", "Walk", SubResource("AnimationNodeStateMachineTransition_r8rju"), "Idle", "Eat", SubResource("AnimationNodeStateMachineTransition_y2ivb"), "Walk", "Eat", SubResource("AnimationNodeStateMachineTransition_7d3k4"), "Eat", "Walk", SubResource("AnimationNodeStateMachineTransition_kk4wi")]
graph_offset = Vector2(120, -30)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,8 @@
[gd_resource type="Resource" load_steps=2 format=3 uid="uid://dsg1vjx76ifgu"]
[ext_resource type="Script" uid="uid://bb6lv1djnqjaw" path="res://scripts/systems/effects/GarlicEffect.cs" id="1_rfumy"]
[resource]
script = ExtResource("1_rfumy")
Duration = 1.0
Slot = "garlic"

View file

@ -0,0 +1,8 @@
[gd_resource type="Resource" load_steps=2 format=3 uid="uid://dme4nvp28otq6"]
[ext_resource type="Script" uid="uid://bb6lv1djnqjaw" path="res://scripts/systems/effects/GarlicEffect.cs" id="1_bd12u"]
[resource]
script = ExtResource("1_bd12u")
Duration = 0.25
Slot = "garlic"

View file

@ -0,0 +1,10 @@
[gd_resource type="Resource" load_steps=2 format=3 uid="uid://7uj0oe656jfx"]
[ext_resource type="Script" uid="uid://dyc7fc5bfkdii" path="res://scripts/systems/effects/SlownessEffect.cs" id="1_8md01"]
[resource]
script = ExtResource("1_8md01")
ColorOverride = Color(0, 1, 1, 1)
Multiplier = 0.75
Duration = 3.25
Slot = "freeze_slow"

View file

@ -0,0 +1,133 @@
[gd_resource type="Resource" script_class="AdventureLevelResource" load_steps=30 format=3 uid="uid://ctbue7dex4umy"]
[ext_resource type="Script" uid="uid://bximdujbkj2n4" path="res://addons/pvzadventure/AdventureLevelResource.cs" id="1_46lr8"]
[ext_resource type="Script" uid="uid://cw7yc3i2lgcja" path="res://addons/pvzadventure/WaveEvent.cs" id="2_otfbt"]
[ext_resource type="Script" uid="uid://7rptlb5qr3b6" path="res://addons/pvzadventure/WaveData.cs" id="3_cugtx"]
[ext_resource type="Script" uid="uid://dl12rj75tk2qi" path="res://addons/pvzadventure/RowSpawn.cs" id="4_y1e37"]
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/ZombieResource.cs" id="5_y1e37"]
[ext_resource type="Resource" uid="uid://buvacn56kyy2p" path="res://assets/zombies/basic.tres" id="6_qsvr4"]
[ext_resource type="Resource" uid="uid://nceohd32fkxk" path="res://assets/zombies/conehead.tres" id="7_qsvr4"]
[sub_resource type="Resource" id="Resource_5e1dl"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([null, null, null, ExtResource("6_qsvr4"), null])
[sub_resource type="Resource" id="Resource_qsvr4"]
script = ExtResource("3_cugtx")
zombiesOrdered = Array[ExtResource("4_y1e37")]([SubResource("Resource_5e1dl")])
events = Array[ExtResource("2_otfbt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_y1e37"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([null, ExtResource("6_qsvr4"), null, null, null])
[sub_resource type="Resource" id="Resource_otfbt"]
script = ExtResource("3_cugtx")
zombiesOrdered = Array[ExtResource("4_y1e37")]([SubResource("Resource_y1e37")])
events = Array[ExtResource("2_otfbt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_ciic2"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([ExtResource("6_qsvr4"), null, null, ExtResource("6_qsvr4"), null])
[sub_resource type="Resource" id="Resource_nv3y4"]
script = ExtResource("3_cugtx")
zombiesOrdered = Array[ExtResource("4_y1e37")]([SubResource("Resource_ciic2")])
events = Array[ExtResource("2_otfbt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_1ut7p"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([null, null, ExtResource("7_qsvr4"), null, null])
[sub_resource type="Resource" id="Resource_mt5r8"]
script = ExtResource("3_cugtx")
zombiesOrdered = Array[ExtResource("4_y1e37")]([SubResource("Resource_1ut7p")])
events = Array[ExtResource("2_otfbt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_he3sm"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([ExtResource("6_qsvr4"), ExtResource("6_qsvr4"), ExtResource("6_qsvr4"), null, null])
[sub_resource type="Resource" id="Resource_kugcf"]
script = ExtResource("3_cugtx")
zombiesOrdered = Array[ExtResource("4_y1e37")]([SubResource("Resource_he3sm")])
events = Array[ExtResource("2_otfbt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_sadu8"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([null, ExtResource("6_qsvr4"), ExtResource("6_qsvr4"), null, ExtResource("6_qsvr4")])
[sub_resource type="Resource" id="Resource_p5aki"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([null, null, ExtResource("7_qsvr4"), null, null])
[sub_resource type="Resource" id="Resource_oyvhx"]
script = ExtResource("3_cugtx")
zombiesOrdered = Array[ExtResource("4_y1e37")]([SubResource("Resource_sadu8"), SubResource("Resource_p5aki")])
events = Array[ExtResource("2_otfbt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_vikxa"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([ExtResource("7_qsvr4"), null, null, null, ExtResource("7_qsvr4")])
[sub_resource type="Resource" id="Resource_k4k25"]
script = ExtResource("3_cugtx")
zombiesOrdered = Array[ExtResource("4_y1e37")]([SubResource("Resource_vikxa")])
events = Array[ExtResource("2_otfbt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_gp8ns"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([null, null, ExtResource("7_qsvr4"), ExtResource("7_qsvr4"), null])
[sub_resource type="Resource" id="Resource_ki4sn"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([null, ExtResource("6_qsvr4"), ExtResource("6_qsvr4"), null, ExtResource("6_qsvr4")])
[sub_resource type="Resource" id="Resource_oxbea"]
script = ExtResource("3_cugtx")
zombiesOrdered = Array[ExtResource("4_y1e37")]([SubResource("Resource_gp8ns"), SubResource("Resource_ki4sn")])
events = Array[ExtResource("2_otfbt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_2irq2"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([ExtResource("6_qsvr4"), null, ExtResource("6_qsvr4"), ExtResource("6_qsvr4"), null])
[sub_resource type="Resource" id="Resource_ipu8d"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([null, ExtResource("6_qsvr4"), ExtResource("6_qsvr4"), null, ExtResource("6_qsvr4")])
[sub_resource type="Resource" id="Resource_vu1ng"]
script = ExtResource("4_y1e37")
zombies = Array[ExtResource("5_y1e37")]([null, ExtResource("7_qsvr4"), ExtResource("7_qsvr4"), ExtResource("7_qsvr4"), null])
[sub_resource type="Resource" id="Resource_5cdj6"]
script = ExtResource("3_cugtx")
zombiesOrdered = Array[ExtResource("4_y1e37")]([SubResource("Resource_2irq2"), SubResource("Resource_ipu8d"), SubResource("Resource_vu1ng")])
events = Array[ExtResource("2_otfbt")]([])
customWaveDelay = 20.0
isHugeWave = true
[resource]
script = ExtResource("1_46lr8")
startSun = 50.0
wavePercentage = 0.5
standardWaveDelay = 15.0
initialWaveDelay = 20.0
waves = [SubResource("Resource_qsvr4"), SubResource("Resource_otfbt"), SubResource("Resource_nv3y4"), SubResource("Resource_mt5r8"), SubResource("Resource_kugcf"), SubResource("Resource_oyvhx"), SubResource("Resource_k4k25"), SubResource("Resource_oxbea"), SubResource("Resource_5cdj6")]
initialScenes = Array[PackedScene]([null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null])

View file

@ -0,0 +1,153 @@
[gd_resource type="Resource" script_class="AdventureLevelResource" load_steps=40 format=3 uid="uid://br3364jty1j0i"]
[ext_resource type="PackedScene" uid="uid://xu4i6tmkv00a" path="res://scenes/entities/Zombies/bucket_zombie.tscn" id="1_n6yt3"]
[ext_resource type="Script" uid="uid://bximdujbkj2n4" path="res://addons/pvzadventure/AdventureLevelResource.cs" id="1_qb1ge"]
[ext_resource type="PackedScene" uid="uid://bw1w8jp0yeypy" path="res://scenes/entities/plants/aloe.tscn" id="1_y8rkm"]
[ext_resource type="Script" uid="uid://cw7yc3i2lgcja" path="res://addons/pvzadventure/WaveEvent.cs" id="2_8aewt"]
[ext_resource type="PackedScene" uid="uid://qq0cw8xtcoj3" path="res://scenes/entities/plants/garlic.tscn" id="2_dbrq5"]
[ext_resource type="Script" uid="uid://7rptlb5qr3b6" path="res://addons/pvzadventure/WaveData.cs" id="3_hlq35"]
[ext_resource type="PackedScene" uid="uid://bgqmwsb6ynm81" path="res://scenes/entities/Zombies/hobo.tscn" id="4_8h2xm"]
[ext_resource type="Script" uid="uid://dl12rj75tk2qi" path="res://addons/pvzadventure/RowSpawn.cs" id="4_8miqm"]
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/ZombieResource.cs" id="5_8miqm"]
[ext_resource type="Resource" uid="uid://dkhjlu7u0vny6" path="res://assets/zombies/buckethead.tres" id="6_s62qb"]
[ext_resource type="Resource" uid="uid://nceohd32fkxk" path="res://assets/zombies/conehead.tres" id="7_yvl2y"]
[ext_resource type="Resource" uid="uid://buvacn56kyy2p" path="res://assets/zombies/basic.tres" id="8_ulhin"]
[ext_resource type="Resource" uid="uid://c38vfdw5b60xw" path="res://assets/zombies/hobo.tres" id="9_ulhin"]
[ext_resource type="Resource" uid="uid://cugwy5bw4wljr" path="res://assets/zombies/door_zombie.tres" id="10_cafd0"]
[sub_resource type="Resource" id="Resource_n6yt3"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, null, ExtResource("8_ulhin"), null, null])
[sub_resource type="Resource" id="Resource_8aewt"]
script = ExtResource("3_hlq35")
zombiesOrdered = Array[ExtResource("4_8miqm")]([SubResource("Resource_n6yt3")])
events = Array[ExtResource("2_8aewt")]([])
customWaveDelay = 30.0
isHugeWave = true
[sub_resource type="Resource" id="Resource_8h2xm"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, ExtResource("8_ulhin"), null, ExtResource("8_ulhin"), null])
[sub_resource type="Resource" id="Resource_hlq35"]
script = ExtResource("3_hlq35")
zombiesOrdered = Array[ExtResource("4_8miqm")]([SubResource("Resource_8h2xm")])
events = Array[ExtResource("2_8aewt")]([])
customWaveDelay = 30.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_lxlrs"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, null, ExtResource("8_ulhin"), null, null])
[sub_resource type="Resource" id="Resource_8miqm"]
script = ExtResource("3_hlq35")
zombiesOrdered = Array[ExtResource("4_8miqm")]([SubResource("Resource_lxlrs")])
events = Array[ExtResource("2_8aewt")]([])
customWaveDelay = 0.0
isHugeWave = true
[sub_resource type="Resource" id="Resource_3hvjc"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, null, ExtResource("7_yvl2y"), ExtResource("7_yvl2y"), null])
[sub_resource type="Resource" id="Resource_3h7h3"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([ExtResource("7_yvl2y"), null, ExtResource("7_yvl2y"), null, null])
[sub_resource type="Resource" id="Resource_s62qb"]
script = ExtResource("3_hlq35")
zombiesOrdered = Array[ExtResource("4_8miqm")]([SubResource("Resource_3hvjc"), SubResource("Resource_3h7h3")])
events = Array[ExtResource("2_8aewt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_ntuje"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, null, ExtResource("8_ulhin"), null, ExtResource("7_yvl2y")])
[sub_resource type="Resource" id="Resource_psuap"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, ExtResource("8_ulhin"), null, ExtResource("7_yvl2y"), null])
[sub_resource type="Resource" id="Resource_yvl2y"]
script = ExtResource("3_hlq35")
zombiesOrdered = Array[ExtResource("4_8miqm")]([SubResource("Resource_ntuje"), SubResource("Resource_psuap")])
events = Array[ExtResource("2_8aewt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_elhtc"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, null, null, ExtResource("8_ulhin"), null])
[sub_resource type="Resource" id="Resource_cmki6"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, null, ExtResource("8_ulhin"), null, null])
[sub_resource type="Resource" id="Resource_f5jkp"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, ExtResource("6_s62qb"), null, null, null])
[sub_resource type="Resource" id="Resource_ulhin"]
script = ExtResource("3_hlq35")
zombiesOrdered = Array[ExtResource("4_8miqm")]([SubResource("Resource_elhtc"), SubResource("Resource_cmki6"), SubResource("Resource_f5jkp")])
events = Array[ExtResource("2_8aewt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_ipg75"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, ExtResource("8_ulhin"), null, ExtResource("8_ulhin"), null])
[sub_resource type="Resource" id="Resource_4vq7k"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, null, ExtResource("9_ulhin"), null, null])
[sub_resource type="Resource" id="Resource_cafd0"]
script = ExtResource("3_hlq35")
zombiesOrdered = Array[ExtResource("4_8miqm")]([SubResource("Resource_ipg75"), SubResource("Resource_4vq7k")])
events = Array[ExtResource("2_8aewt")]([])
customWaveDelay = 0.0
isHugeWave = true
[sub_resource type="Resource" id="Resource_2tcqp"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([null, null, null, ExtResource("7_yvl2y"), null])
[sub_resource type="Resource" id="Resource_y8rkm"]
script = ExtResource("3_hlq35")
zombiesOrdered = Array[ExtResource("4_8miqm")]([SubResource("Resource_2tcqp")])
events = Array[ExtResource("2_8aewt")]([])
customWaveDelay = 0.0
isHugeWave = false
[sub_resource type="Resource" id="Resource_6i5yw"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([ExtResource("10_cafd0"), ExtResource("8_ulhin"), ExtResource("6_s62qb"), ExtResource("7_yvl2y"), ExtResource("9_ulhin")])
[sub_resource type="Resource" id="Resource_y4q8x"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([ExtResource("7_yvl2y"), ExtResource("7_yvl2y"), ExtResource("8_ulhin"), ExtResource("8_ulhin"), null])
[sub_resource type="Resource" id="Resource_71fmc"]
script = ExtResource("4_8miqm")
zombies = Array[ExtResource("5_8miqm")]([ExtResource("9_ulhin"), ExtResource("8_ulhin"), ExtResource("8_ulhin"), null, null])
[sub_resource type="Resource" id="Resource_dbrq5"]
script = ExtResource("3_hlq35")
zombiesOrdered = Array[ExtResource("4_8miqm")]([SubResource("Resource_6i5yw"), SubResource("Resource_y4q8x"), SubResource("Resource_71fmc")])
events = Array[ExtResource("2_8aewt")]([])
customWaveDelay = 0.0
isHugeWave = true
[resource]
script = ExtResource("1_qb1ge")
startSun = 50.0
wavePercentage = 0.5
standardWaveDelay = 5.0
initialWaveDelay = 20.0
waves = [SubResource("Resource_8aewt"), SubResource("Resource_hlq35"), SubResource("Resource_8miqm"), SubResource("Resource_s62qb"), SubResource("Resource_yvl2y"), SubResource("Resource_ulhin"), SubResource("Resource_cafd0"), SubResource("Resource_y8rkm"), SubResource("Resource_dbrq5")]
initialScenes = Array[PackedScene]([null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, ExtResource("1_n6yt3"), null, null, null, ExtResource("1_y8rkm"), null, ExtResource("2_dbrq5"), null, null, null, null, null, null, null, null, null, null, null, ExtResource("4_8h2xm"), null, null, null, null, null, null, null, null, null])
metadata/_custom_type_script = "uid://bximdujbkj2n4"

17
assets/plants/Aloe.tres Normal file
View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=4 format=3 uid="uid://bf7vjtufjc8kt"]
[ext_resource type="Texture2D" uid="uid://d4btl7vqi4v0q" path="res://assets/sprites/plants/aloe.tres" id="1_t4137"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="1_vw2kg"]
[ext_resource type="PackedScene" uid="uid://bw1w8jp0yeypy" path="res://scenes/entities/plants/aloe.tscn" id="2_6a4ia"]
[resource]
script = ExtResource("1_vw2kg")
name_key = "aloe"
description_key = "aloe_desc"
Cost = 75.0
Scene = ExtResource("2_6a4ia")
ReloadTime = 15.0
ReloadProgress = 0.0
Preview = ExtResource("1_t4137")
Layer = 1
Order = 6

View file

@ -0,0 +1,22 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=5 format=3 uid="uid://ciewunnfalrbb"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="1_jrx81"]
[ext_resource type="Texture2D" uid="uid://bt76iudw2qgnv" path="res://assets/sprites/atlases/plants/cumbucer.png" id="1_tdg4d"]
[ext_resource type="PackedScene" uid="uid://cjoyh54cpjla7" path="res://scenes/entities/plants/cucumber.tscn" id="2_0mr6r"]
[sub_resource type="AtlasTexture" id="AtlasTexture_3gogt"]
atlas = ExtResource("1_tdg4d")
region = Rect2(2, 1, 41, 65)
[resource]
script = ExtResource("1_jrx81")
name_key = "cucumber"
description_key = "cucumber_desc"
Cost = 75.0
Scene = ExtResource("2_0mr6r")
ReloadTime = 5.0
ReloadProgress = 0.0
Preview = SubResource("AtlasTexture_3gogt")
Layer = 1
Order = 8
metadata/_custom_type_script = "uid://cyenlko1knygw"

17
assets/plants/Garlic.tres Normal file
View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=4 format=3 uid="uid://btkkaow4tyw55"]
[ext_resource type="Texture2D" uid="uid://m8e84blnx7yu" path="res://assets/sprites/plants/garlic.tres" id="1_datic"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="1_e15gf"]
[ext_resource type="PackedScene" uid="uid://qq0cw8xtcoj3" path="res://scenes/entities/plants/garlic.tscn" id="2_81n0p"]
[resource]
script = ExtResource("1_e15gf")
name_key = "garlic"
description_key = "garlic_desc"
Cost = 50.0
Scene = ExtResource("2_81n0p")
ReloadTime = 7.5
ReloadProgress = 0.67
Preview = ExtResource("1_datic")
Layer = 1
Order = 7

22
assets/plants/Nerdus.tres Normal file
View file

@ -0,0 +1,22 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=5 format=3 uid="uid://8edvnmwu4tyn"]
[ext_resource type="Texture2D" uid="uid://b06e8xhdy77d1" path="res://assets/sprites/atlases/plants/nerdus.png" id="1_of51r"]
[ext_resource type="PackedScene" uid="uid://k5aj2slxar7w" path="res://scenes/entities/plants/nerdus.tscn" id="2_0i6qf"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="3_30qd0"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ivp5w"]
atlas = ExtResource("1_of51r")
region = Rect2(477, 9, 60, 59)
[resource]
script = ExtResource("3_30qd0")
name_key = "nerdus"
description_key = "nerdus_desc"
Cost = 125.0
Scene = ExtResource("2_0i6qf")
ReloadTime = 10.0
ReloadProgress = 0.0
Preview = SubResource("AtlasTexture_ivp5w")
Layer = 1
Order = 11
metadata/_custom_type_script = "uid://cyenlko1knygw"

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=4 format=3 uid="uid://c8rr1dc7mjr3d"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="1_amvh8"]
[ext_resource type="Texture2D" uid="uid://ot1n4nval86w" path="res://assets/sprites/plants/peashooter.tres" id="1_rnq6r"]
[ext_resource type="PackedScene" uid="uid://dy41q1kxray5t" path="res://scenes/entities/plants/peashooter.tscn" id="1_rqf2x"]
[resource]
script = ExtResource("1_amvh8")
name_key = "peashooter"
description_key = "peashooter_desc"
Cost = 75.0
Scene = ExtResource("1_rqf2x")
ReloadTime = 5.0
ReloadProgress = 0.0
Preview = ExtResource("1_rnq6r")
Layer = 1

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=4 format=3 uid="uid://bu25xgjd68gv8"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="1_33j6b"]
[ext_resource type="Texture2D" uid="uid://bhmnt3x5aj1l8" path="res://assets/sprites/plants/potatomine.tres" id="1_xk2pg"]
[ext_resource type="PackedScene" uid="uid://b5x35v3w2u8dx" path="res://scenes/entities/plants/potato_mine.tscn" id="2_ig2ti"]
[resource]
script = ExtResource("1_33j6b")
name_key = "potatomine"
description_key = "potatomine_desc"
Cost = 25.0
Scene = ExtResource("2_ig2ti")
ReloadTime = 25.0
ReloadProgress = 0.9
Preview = ExtResource("1_xk2pg")
Layer = 1
Order = 3

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=4 format=3 uid="uid://duflq3eexs6m"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="1_0cpi0"]
[ext_resource type="Texture2D" uid="uid://cu7h8bot6jlug" path="res://assets/sprites/plants/snowpea.tres" id="1_7fyy2"]
[ext_resource type="PackedScene" uid="uid://b7innrovtmf5u" path="res://scenes/entities/plants/snowpea.tscn" id="2_k47h0"]
[resource]
script = ExtResource("1_0cpi0")
name_key = "snowpea"
description_key = "snowpea_desc"
Cost = 175.0
Scene = ExtResource("2_k47h0")
ReloadTime = 5.0
ReloadProgress = 0.0
Preview = ExtResource("1_7fyy2")
Layer = 1
Order = 5

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=4 format=3 uid="uid://cas11tg6chiu4"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="1_0bymo"]
[ext_resource type="Texture2D" uid="uid://baqfahxkcvfe1" path="res://assets/sprites/plants/Spikeweed.tres" id="1_2ol2i"]
[ext_resource type="PackedScene" uid="uid://bdhod5c6o53ha" path="res://scenes/entities/plants/spikeweed.tscn" id="2_iv8de"]
[resource]
script = ExtResource("1_0bymo")
name_key = "spikeweed"
description_key = "spikeweed_desc"
Cost = 100.0
Scene = ExtResource("2_iv8de")
ReloadTime = 5.0
ReloadProgress = 0.0
Preview = ExtResource("1_2ol2i")
Layer = 1
Order = 4

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=4 format=3 uid="uid://drm42f48urvc4"]
[ext_resource type="Texture2D" uid="uid://iw75j816gbc" path="res://assets/sprites/plants/sunflower.tres" id="1_8rd5i"]
[ext_resource type="PackedScene" uid="uid://bg7lomiorxo2c" path="res://scenes/entities/plants/sunflower.tscn" id="2_gcyr5"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="3_vt4jc"]
[resource]
script = ExtResource("3_vt4jc")
name_key = "sunflower"
description_key = "sunflower_desc"
Cost = 50.0
Scene = ExtResource("2_gcyr5")
ReloadTime = 5.0
ReloadProgress = 1.0
Preview = ExtResource("1_8rd5i")
Layer = 1
Order = 1

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=4 format=3 uid="uid://bnhwg57euiyf5"]
[ext_resource type="Texture2D" uid="uid://8se1nscal0em" path="res://assets/sprites/plants/threepeater.tres" id="1_hinp6"]
[ext_resource type="PackedScene" uid="uid://eegv1qihfv2q" path="res://scenes/entities/plants/threepeater.tscn" id="2_uqpu0"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="3_3lugi"]
[resource]
script = ExtResource("3_3lugi")
name_key = "threepeater"
description_key = "threepeater_desc"
Cost = 275.0
Scene = ExtResource("2_uqpu0")
ReloadTime = 5.0
ReloadProgress = 0.0
Preview = ExtResource("1_hinp6")
Layer = 1
Order = 10

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=4 format=3 uid="uid://c2e2yj7rgoswi"]
[ext_resource type="Texture2D" uid="uid://g2oppl54efja" path="res://assets/sprites/plants/Wallnut.tres" id="1_2akap"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="1_27l0t"]
[ext_resource type="PackedScene" uid="uid://bq7imkpr2yqyr" path="res://scenes/entities/plants/wallnut.tscn" id="2_rkn3h"]
[resource]
script = ExtResource("1_27l0t")
name_key = "wallnut"
description_key = "wallnut_desc"
Cost = 50.0
Scene = ExtResource("2_rkn3h")
ReloadTime = 20.0
ReloadProgress = 0.0
Preview = ExtResource("1_2akap")
Layer = 1
Order = 2

View file

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cmxh4w4gkgdjm"
path="res://.godot/imported/basic.png-6d11a963868a5f527d4b4e56da4660f0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/sprites/atlases/zombies/basic.png"
dest_files=["res://.godot/imported/basic.png-6d11a963868a5f527d4b4e56da4660f0.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

View file

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ca1m55xpsxa37"
path="res://.godot/imported/basic_fem.png-6547f99bebbd8ad1bfe017dfea81a7c3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/sprites/atlases/zombies/basic_fem.png"
dest_files=["res://.godot/imported/basic_fem.png-6547f99bebbd8ad1bfe017dfea81a7c3.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

View file

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cse1504ao4g8e"
path="res://.godot/imported/hobo.png-6599e5c261acaf6a231cf3ec8485b2c7.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/sprites/atlases/zombies/hobo.png"
dest_files=["res://.godot/imported/hobo.png-6599e5c261acaf6a231cf3ec8485b2c7.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

View file

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bgrxwjau6q8dk"
path="res://.godot/imported/polevaulter.png-1291a1b5515a86c52c2ee0c1e6d5ad84.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/sprites/atlases/zombies/polevaulter.png"
dest_files=["res://.godot/imported/polevaulter.png-1291a1b5515a86c52c2ee0c1e6d5ad84.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

View file

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cshqt8tkhanck"
path="res://.godot/imported/screendoor.png-c0d906cd0a2802fb3b53d5c29f74464c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/sprites/atlases/zombies/screendoor.png"
dest_files=["res://.godot/imported/screendoor.png-c0d906cd0a2802fb3b53d5c29f74464c.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

View file

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bv22xwhan68bp"
path="res://.godot/imported/screendoor_fem.png-5498e0f8d3b1caab7f2b98b6262ef4ed.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/sprites/atlases/zombies/screendoor_fem.png"
dest_files=["res://.godot/imported/screendoor_fem.png-5498e0f8d3b1caab7f2b98b6262ef4ed.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

View file

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bwdqbrnn7ygtr"
path="res://.godot/imported/Зондби.png-b25839af64922d5864eea6243559f2fc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/sprites/atlases/zombies/Зондби.png"
dest_files=["res://.godot/imported/Зондби.png-b25839af64922d5864eea6243559f2fc.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

View file

@ -1,6 +1,6 @@
[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://ce04l60l6mhfk"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/atlases/zombies/armor.png" id="1_drgch"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/zombies/armor.png" id="1_drgch"]
[resource]
atlas = ExtResource("1_drgch")

View file

@ -1,6 +1,6 @@
[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://ikk4jp7mvm3s"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/atlases/zombies/armor.png" id="1_l2quk"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/zombies/armor.png" id="1_l2quk"]
[resource]
atlas = ExtResource("1_l2quk")

View file

@ -1,6 +1,6 @@
[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://cmmpfi8ug43l2"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/atlases/zombies/armor.png" id="1_n3lqc"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/zombies/armor.png" id="1_n3lqc"]
[resource]
atlas = ExtResource("1_n3lqc")

View file

@ -1,6 +1,6 @@
[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://ceqvdmude7cgg"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/atlases/zombies/armor.png" id="1_k5duo"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/zombies/armor.png" id="1_k5duo"]
[resource]
atlas = ExtResource("1_k5duo")

View file

@ -1,6 +1,6 @@
[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://cl5ekw72wi75c"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/atlases/zombies/armor.png" id="1_au0m1"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/zombies/armor.png" id="1_au0m1"]
[resource]
atlas = ExtResource("1_au0m1")

View file

@ -1,6 +1,6 @@
[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://cnn81r1y0xwod"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/atlases/zombies/armor.png" id="1_rrcfd"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/zombies/armor.png" id="1_rrcfd"]
[resource]
atlas = ExtResource("1_rrcfd")

View file

@ -1,6 +1,6 @@
[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://8h5vg1pk32b2"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/atlases/zombies/armor.png" id="1_tej33"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/zombies/armor.png" id="1_tej33"]
[resource]
atlas = ExtResource("1_tej33")

View file

@ -1,6 +1,6 @@
[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://cogfbn4re3kob"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/atlases/zombies/armor.png" id="1_17vg1"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/zombies/armor.png" id="1_17vg1"]
[resource]
atlas = ExtResource("1_17vg1")

View file

@ -1,6 +1,6 @@
[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://n2j2k2aijr7j"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/atlases/zombies/armor.png" id="1_2j3ye"]
[ext_resource type="Texture2D" uid="uid://b18blso5pbc6a" path="res://assets/sprites/zombies/armor.png" id="1_2j3ye"]
[resource]
atlas = ExtResource("1_2j3ye")

View file

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Before After
Before After

View file

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://b18blso5pbc6a"
path="res://.godot/imported/armor.png-18d1dee9d58098145c2a15ea84198bc9.ctex"
path="res://.godot/imported/armor.png-202dadab8385ded6ae4a287a397444dc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/sprites/atlases/zombies/armor.png"
dest_files=["res://.godot/imported/armor.png-18d1dee9d58098145c2a15ea84198bc9.ctex"]
source_file="res://assets/sprites/zombies/armor.png"
dest_files=["res://.godot/imported/armor.png-202dadab8385ded6ae4a287a397444dc.ctex"]
[params]

View file

@ -0,0 +1,77 @@
[gd_resource type="Theme" load_steps=13 format=3 uid="uid://e8n88g31w7x7"]
[ext_resource type="Texture2D" uid="uid://ci1a150qo2op2" path="res://assets/sprites/gui/ChooseYourSeeds/Panel.tres" id="1_86pbs"]
[ext_resource type="Texture2D" uid="uid://bj5fouwjk3kum" path="res://assets/sprites/gui/ChooseYourSeeds/InnerPanel.tres" id="2_txg3r"]
[ext_resource type="Texture2D" uid="uid://b5skdm3q7tkh3" path="res://assets/sprites/gui/ChooseYourSeeds/Grabber.tres" id="3_gf6bj"]
[ext_resource type="Texture2D" uid="uid://cv255d4s0qopj" path="res://assets/sprites/gui/ChooseYourSeeds/Slider.tres" id="4_xn7o0"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_o7bns"]
texture = ExtResource("1_86pbs")
texture_margin_left = 10.0
texture_margin_top = 9.0
texture_margin_right = 9.0
texture_margin_bottom = 10.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_jrih7"]
texture = ExtResource("2_txg3r")
texture_margin_left = 3.0
texture_margin_top = 6.0
texture_margin_right = 4.0
texture_margin_bottom = 3.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_qlmyy"]
texture = ExtResource("3_gf6bj")
texture_margin_left = 4.0
texture_margin_top = 7.0
texture_margin_right = 4.0
texture_margin_bottom = 7.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_la16p"]
texture = ExtResource("4_xn7o0")
texture_margin_left = 4.0
texture_margin_top = 4.0
texture_margin_right = 4.0
texture_margin_bottom = 4.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_744lb"]
texture = ExtResource("4_xn7o0")
texture_margin_left = 4.0
texture_margin_top = 4.0
texture_margin_right = 4.0
texture_margin_bottom = 4.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_amjg8"]
bg_color = Color(0.574582, 0.300953, 0.501998, 1)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_obyqu"]
bg_color = Color(0.828756, 0.571484, 0.752803, 1)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_5mgtv"]
texture = ExtResource("4_xn7o0")
texture_margin_left = 4.0
texture_margin_top = 4.0
texture_margin_right = 4.0
texture_margin_bottom = 4.0
[resource]
Panel/styles/panel = SubResource("StyleBoxTexture_o7bns")
PanelContainer/styles/panel = SubResource("StyleBoxTexture_jrih7")
VScrollBar/styles/grabber = SubResource("StyleBoxTexture_qlmyy")
VScrollBar/styles/grabber_highlight = SubResource("StyleBoxTexture_qlmyy")
VScrollBar/styles/grabber_pressed = SubResource("StyleBoxTexture_qlmyy")
VScrollBar/styles/scroll = SubResource("StyleBoxTexture_la16p")
VScrollBar/styles/scroll_focus = SubResource("StyleBoxTexture_744lb")
VSlider/icons/grabber = ExtResource("3_gf6bj")
VSlider/icons/grabber_disabled = null
VSlider/icons/grabber_highlight = ExtResource("3_gf6bj")
VSlider/styles/grabber_area = SubResource("StyleBoxFlat_amjg8")
VSlider/styles/grabber_area_highlight = SubResource("StyleBoxFlat_obyqu")
VSlider/styles/slider = SubResource("StyleBoxTexture_5mgtv")

View file

@ -0,0 +1,235 @@
[gd_resource type="Theme" load_steps=40 format=3 uid="uid://b8l285cjcgeyi"]
[ext_resource type="FontFile" uid="uid://nbrt5q3t8tud" path="res://assets/fonts/pico12.ttf" id="1_103to"]
[ext_resource type="Texture2D" uid="uid://d0yhee0scl7mc" path="res://assets/sprites/gui/ButtonBackground.tres" id="1_y0kbp"]
[ext_resource type="Texture2D" uid="uid://dxmg20mrnpt8r" path="res://assets/sprites/gui/SelectionGeneric.tres" id="2_h0nd2"]
[ext_resource type="Texture2D" uid="uid://b5skdm3q7tkh3" path="res://assets/sprites/gui/ChooseYourSeeds/Grabber.tres" id="3_i6w8j"]
[ext_resource type="Texture2D" uid="uid://cc8jaddr5lww3" path="res://assets/sprites/gui/almanach/slider_h.tres" id="3_nec55"]
[ext_resource type="Texture2D" uid="uid://dvldjlg0nr355" path="res://assets/sprites/atlases/atlas1.png" id="3_yeah5"]
[ext_resource type="Texture2D" uid="uid://cv255d4s0qopj" path="res://assets/sprites/gui/ChooseYourSeeds/Slider.tres" id="4_yeah5"]
[ext_resource type="Texture2D" uid="uid://lg1o4pu0n0u6" path="res://assets/sprites/gui/almanach/decrement.tres" id="5_ij6vn"]
[ext_resource type="Texture2D" uid="uid://dssr8m4gbpks4" path="res://assets/sprites/gui/almanach/tab_disabled.tres" id="5_w6b64"]
[ext_resource type="Texture2D" uid="uid://cdyfech0howdr" path="res://assets/sprites/gui/almanach/decrement_h.tres" id="6_nec55"]
[ext_resource type="Texture2D" uid="uid://2bk8ce82cmw" path="res://assets/sprites/gui/almanach/tab.tres" id="6_ygj8j"]
[ext_resource type="Texture2D" uid="uid://blr2uchlakvor" path="res://assets/sprites/gui/almanach/description_panel.tres" id="7_5pe7g"]
[ext_resource type="Texture2D" uid="uid://dpfkai158kyfu" path="res://assets/sprites/gui/almanach/holder.tres" id="7_ls06u"]
[ext_resource type="Texture2D" uid="uid://vpuytn3nd6c1" path="res://assets/sprites/gui/almanach/increment.tres" id="8_csc22"]
[ext_resource type="Texture2D" uid="uid://cnio0bw2xla23" path="res://assets/sprites/gui/almanach/increment_h.tres" id="9_r6ela"]
[ext_resource type="Texture2D" uid="uid://4cdp0k17u2l5" path="res://assets/sprites/gui/almanach/menu.tres" id="10_vatwx"]
[ext_resource type="Texture2D" uid="uid://drvrnblf2fvgk" path="res://assets/sprites/gui/almanach/slider_bg.tres" id="14_3qjha"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_na4u2"]
texture = ExtResource("1_y0kbp")
texture_margin_left = 12.0
texture_margin_top = 12.0
texture_margin_right = 12.0
texture_margin_bottom = 12.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mv7jy"]
texture = ExtResource("2_h0nd2")
texture_margin_left = 12.0
texture_margin_top = 12.0
texture_margin_right = 12.0
texture_margin_bottom = 12.0
axis_stretch_horizontal = 1
axis_stretch_vertical = 1
draw_center = false
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_csc22"]
texture = ExtResource("3_nec55")
texture_margin_left = 7.0
texture_margin_top = 4.0
texture_margin_right = 7.0
texture_margin_bottom = 4.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_r6ela"]
texture = ExtResource("14_3qjha")
texture_margin_left = 6.0
texture_margin_top = 6.0
texture_margin_right = 6.0
texture_margin_bottom = 6.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_vatwx"]
texture = ExtResource("14_3qjha")
texture_margin_left = 6.0
texture_margin_top = 6.0
texture_margin_right = 6.0
texture_margin_bottom = 6.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ij6vn"]
texture = ExtResource("4_yeah5")
texture_margin_left = 5.0
texture_margin_top = 5.0
texture_margin_right = 5.0
texture_margin_bottom = 5.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_nec55"]
texture = ExtResource("4_yeah5")
texture_margin_left = 5.0
texture_margin_top = 5.0
texture_margin_right = 5.0
texture_margin_bottom = 5.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ls06u"]
texture = ExtResource("4_yeah5")
texture_margin_left = 5.0
texture_margin_top = 5.0
texture_margin_right = 5.0
texture_margin_bottom = 5.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_jjopa"]
texture = ExtResource("7_5pe7g")
texture_margin_left = 4.0
texture_margin_top = 5.0
texture_margin_right = 7.0
texture_margin_bottom = 4.0
[sub_resource type="AtlasTexture" id="AtlasTexture_5pe7g"]
atlas = ExtResource("3_yeah5")
region = Rect2(226, 77, 18, 18)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_pjyej"]
texture = SubResource("AtlasTexture_5pe7g")
texture_margin_left = 6.0
texture_margin_top = 6.0
texture_margin_right = 6.0
texture_margin_bottom = 6.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_w6b64"]
texture = SubResource("AtlasTexture_5pe7g")
texture_margin_left = 6.0
texture_margin_top = 6.0
texture_margin_right = 6.0
texture_margin_bottom = 6.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_g0cdn"]
texture = SubResource("AtlasTexture_5pe7g")
texture_margin_left = 6.0
texture_margin_top = 6.0
texture_margin_right = 6.0
texture_margin_bottom = 6.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_gl5ke"]
texture = ExtResource("5_w6b64")
texture_margin_left = 8.0
texture_margin_top = 6.0
texture_margin_right = 8.0
texture_margin_bottom = 1.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_xmjd3"]
texture = ExtResource("6_ygj8j")
texture_margin_left = 8.0
texture_margin_top = 6.0
texture_margin_right = 8.0
texture_margin_bottom = 1.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_3qjha"]
texture = SubResource("AtlasTexture_5pe7g")
texture_margin_left = 6.0
texture_margin_top = 6.0
texture_margin_right = 6.0
texture_margin_bottom = 6.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_gvd6y"]
texture = ExtResource("3_i6w8j")
texture_margin_left = 4.0
texture_margin_top = 7.0
texture_margin_right = 4.0
texture_margin_bottom = 7.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_epvq8"]
texture = ExtResource("3_i6w8j")
texture_margin_left = 4.0
texture_margin_top = 7.0
texture_margin_right = 4.0
texture_margin_bottom = 7.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_lfl2m"]
texture = ExtResource("3_i6w8j")
texture_margin_left = 4.0
texture_margin_top = 7.0
texture_margin_right = 4.0
texture_margin_bottom = 7.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_41q1p"]
texture = ExtResource("14_3qjha")
texture_margin_left = 6.0
texture_margin_top = 6.0
texture_margin_right = 6.0
texture_margin_bottom = 6.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_5pe7g"]
texture = ExtResource("4_yeah5")
texture_margin_left = 5.0
texture_margin_top = 5.0
texture_margin_right = 5.0
texture_margin_bottom = 5.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_chra8"]
texture = ExtResource("7_5pe7g")
texture_margin_left = 4.0
texture_margin_top = 5.0
texture_margin_right = 7.0
texture_margin_bottom = 4.0
[resource]
default_font = ExtResource("1_103to")
Button/colors/font_color = Color(0, 0, 0, 1)
Button/colors/font_focus_color = Color(0, 0, 0, 1)
Button/colors/font_outline_color = Color(1, 1, 1, 1)
Button/colors/font_pressed_color = Color(1, 1, 1, 1)
Button/styles/disabled = SubResource("StyleBoxTexture_na4u2")
Button/styles/focus = SubResource("StyleBoxTexture_mv7jy")
Button/styles/hover = SubResource("StyleBoxTexture_na4u2")
Button/styles/normal = SubResource("StyleBoxTexture_na4u2")
Button/styles/pressed = SubResource("StyleBoxTexture_na4u2")
HScrollBar/styles/grabber = SubResource("StyleBoxTexture_csc22")
HScrollBar/styles/grabber_highlight = SubResource("StyleBoxTexture_csc22")
HScrollBar/styles/grabber_pressed = SubResource("StyleBoxTexture_csc22")
HScrollBar/styles/scroll = SubResource("StyleBoxTexture_r6ela")
HScrollBar/styles/scroll_focus = SubResource("StyleBoxTexture_vatwx")
HSlider/icons/grabber = ExtResource("3_nec55")
HSlider/icons/grabber_disabled = ExtResource("3_nec55")
HSlider/icons/grabber_highlight = ExtResource("3_nec55")
HSlider/styles/grabber_area = SubResource("StyleBoxTexture_ij6vn")
HSlider/styles/grabber_area_highlight = SubResource("StyleBoxTexture_nec55")
HSlider/styles/slider = SubResource("StyleBoxTexture_ls06u")
LineEdit/colors/font_color = Color(0, 0, 0, 1)
LineEdit/colors/font_selected_color = Color(0, 0, 0, 1)
LineEdit/colors/font_uneditable_color = Color(0, 0, 0, 0.501961)
LineEdit/styles/focus = SubResource("StyleBoxTexture_jjopa")
LineEdit/styles/normal = SubResource("StyleBoxTexture_jjopa")
LineEdit/styles/read_only = SubResource("StyleBoxTexture_jjopa")
Panel/styles/panel = SubResource("StyleBoxTexture_pjyej")
PanelContainer/styles/panel = SubResource("StyleBoxTexture_w6b64")
TabContainer/icons/decrement = ExtResource("5_ij6vn")
TabContainer/icons/decrement_highlight = ExtResource("6_nec55")
TabContainer/icons/drop_mark = ExtResource("7_ls06u")
TabContainer/icons/increment = ExtResource("8_csc22")
TabContainer/icons/increment_highlight = ExtResource("9_r6ela")
TabContainer/icons/menu = ExtResource("10_vatwx")
TabContainer/icons/menu_highlight = ExtResource("10_vatwx")
TabContainer/styles/panel = SubResource("StyleBoxTexture_g0cdn")
TabContainer/styles/tab_disabled = SubResource("StyleBoxTexture_gl5ke")
TabContainer/styles/tab_focus = SubResource("StyleBoxTexture_xmjd3")
TabContainer/styles/tab_hovered = SubResource("StyleBoxTexture_xmjd3")
TabContainer/styles/tab_selected = SubResource("StyleBoxTexture_xmjd3")
TabContainer/styles/tab_unselected = SubResource("StyleBoxTexture_gl5ke")
TextEdit/colors/font_color = Color(0, 0, 0, 1)
TextEdit/styles/focus = SubResource("StyleBoxTexture_jjopa")
TextEdit/styles/normal = SubResource("StyleBoxTexture_jjopa")
TextEdit/styles/read_only = SubResource("StyleBoxTexture_jjopa")
Tree/styles/panel = SubResource("StyleBoxTexture_3qjha")
VScrollBar/styles/grabber = SubResource("StyleBoxTexture_gvd6y")
VScrollBar/styles/grabber_highlight = SubResource("StyleBoxTexture_epvq8")
VScrollBar/styles/grabber_pressed = SubResource("StyleBoxTexture_lfl2m")
VScrollBar/styles/scroll = SubResource("StyleBoxTexture_41q1p")
VScrollBar/styles/scroll_focus = SubResource("StyleBoxTexture_41q1p")
VSlider/icons/grabber = ExtResource("3_i6w8j")
VSlider/icons/grabber_disabled = ExtResource("3_i6w8j")
VSlider/icons/grabber_highlight = ExtResource("3_i6w8j")
VSlider/styles/grabber_area = SubResource("StyleBoxTexture_5pe7g")
VSlider/styles/grabber_area_highlight = SubResource("StyleBoxTexture_5pe7g")
VSlider/styles/slider = SubResource("StyleBoxTexture_5pe7g")
description_panel_container/base_type = &"PanelContainer"
description_panel_container/styles/panel = SubResource("StyleBoxTexture_chra8")

View file

@ -0,0 +1,44 @@
[gd_resource type="Theme" load_steps=8 format=3 uid="uid://btulhvgwclket"]
[ext_resource type="Texture2D" uid="uid://cmcwrgcm272gy" path="res://assets/sprites/gui/main_menu_buttons.png" id="1_jv7fv"]
[sub_resource type="AtlasTexture" id="AtlasTexture_132w1"]
atlas = ExtResource("1_jv7fv")
region = Rect2(96, 0, 48, 48)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_45124"]
texture = SubResource("AtlasTexture_132w1")
texture_margin_left = 15.0
texture_margin_top = 15.0
texture_margin_right = 15.0
texture_margin_bottom = 15.0
[sub_resource type="AtlasTexture" id="AtlasTexture_n6pvk"]
atlas = ExtResource("1_jv7fv")
region = Rect2(0, 0, 48, 48)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2hb1n"]
texture = SubResource("AtlasTexture_n6pvk")
texture_margin_left = 15.0
texture_margin_top = 15.0
texture_margin_right = 15.0
texture_margin_bottom = 15.0
[sub_resource type="AtlasTexture" id="AtlasTexture_p1ypd"]
atlas = ExtResource("1_jv7fv")
region = Rect2(48, 0, 48, 48)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_fg17j"]
texture = SubResource("AtlasTexture_p1ypd")
texture_margin_left = 15.0
texture_margin_top = 15.0
texture_margin_right = 15.0
texture_margin_bottom = 15.0
[resource]
Button/colors/font_color = Color(0.875, 0.875, 0.875, 1)
Button/colors/font_focus_color = Color(0.95, 0.95, 0.95, 1)
Button/colors/font_hover_color = Color(1, 1, 1, 1)
Button/styles/hover = SubResource("StyleBoxTexture_45124")
Button/styles/normal = SubResource("StyleBoxTexture_2hb1n")
Button/styles/pressed = SubResource("StyleBoxTexture_fg17j")

22
assets/zombies/basic.tres Normal file
View file

@ -0,0 +1,22 @@
[gd_resource type="Resource" script_class="ZombieResource" load_steps=5 format=3 uid="uid://buvacn56kyy2p"]
[ext_resource type="PackedScene" uid="uid://co11v3w8hbwgf" path="res://scenes/entities/Zombies/zombie.tscn" id="1_c2mq3"]
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/ZombieResource.cs" id="1_k277m"]
[ext_resource type="Texture2D" uid="uid://5gpf2sodhn6e" path="res://assets/sprites/zombies/previews.png" id="1_l6de4"]
[sub_resource type="AtlasTexture" id="AtlasTexture_wu2q8"]
atlas = ExtResource("1_l6de4")
region = Rect2(0, 0, 43, 88)
[resource]
script = ExtResource("1_k277m")
name_key = "basic"
description_key = "basic_desc"
Cost = 1.0
Scene = ExtResource("1_c2mq3")
ReloadTime = 1.0
ReloadProgress = 0.0
Preview = SubResource("AtlasTexture_wu2q8")
Layer = 1
Order = 0
metadata/_custom_type_script = "uid://cqxj7o8hdm82n"

View file

@ -0,0 +1,22 @@
[gd_resource type="Resource" script_class="ZombieResource" load_steps=5 format=3 uid="uid://dkhjlu7u0vny6"]
[ext_resource type="PackedScene" uid="uid://xu4i6tmkv00a" path="res://scenes/entities/Zombies/bucket_zombie.tscn" id="1_lhcag"]
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/ZombieResource.cs" id="1_sngfh"]
[ext_resource type="Texture2D" uid="uid://5gpf2sodhn6e" path="res://assets/sprites/zombies/previews.png" id="1_ufs7s"]
[sub_resource type="AtlasTexture" id="AtlasTexture_drksh"]
atlas = ExtResource("1_ufs7s")
region = Rect2(137, 0, 47, 101)
[resource]
script = ExtResource("1_sngfh")
name_key = "buckethead"
description_key = "buckethead_desc"
Cost = 5.0
Scene = ExtResource("1_lhcag")
ReloadTime = 1.0
ReloadProgress = 0.0
Preview = SubResource("AtlasTexture_drksh")
Layer = 1
Order = 2
metadata/_custom_type_script = "uid://cqxj7o8hdm82n"

View file

@ -0,0 +1,22 @@
[gd_resource type="Resource" script_class="ZombieResource" load_steps=5 format=3 uid="uid://nceohd32fkxk"]
[ext_resource type="Texture2D" uid="uid://5gpf2sodhn6e" path="res://assets/sprites/zombies/previews.png" id="1_f7g7v"]
[ext_resource type="PackedScene" uid="uid://hhjbqkjqpt7x" path="res://scenes/entities/Zombies/cone_zombie.tscn" id="1_llf5l"]
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/ZombieResource.cs" id="1_sw7hj"]
[sub_resource type="AtlasTexture" id="AtlasTexture_q44xp"]
atlas = ExtResource("1_f7g7v")
region = Rect2(92, 0, 45, 106)
[resource]
script = ExtResource("1_sw7hj")
name_key = "conehead"
description_key = "conehead_desc"
Cost = 2.0
Scene = ExtResource("1_llf5l")
ReloadTime = 1.0
ReloadProgress = 0.0
Preview = SubResource("AtlasTexture_q44xp")
Layer = 1
Order = 1
metadata/_custom_type_script = "uid://cqxj7o8hdm82n"

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="ZombieResource" load_steps=3 format=3 uid="uid://cugwy5bw4wljr"]
[ext_resource type="PackedScene" uid="uid://p5jhgg2r7e07" path="res://scenes/entities/Zombies/door_zombie.tscn" id="1_3664b"]
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/ZombieResource.cs" id="3_bydiv"]
[resource]
script = ExtResource("3_bydiv")
name_key = "doorz"
description_key = "doorz_desc"
Cost = 4.5
Scene = ExtResource("1_3664b")
ReloadTime = 1.0
ReloadProgress = 0.0
Layer = 1
Order = 4
metadata/_custom_type_script = "uid://cqxj7o8hdm82n"

22
assets/zombies/hobo.tres Normal file
View file

@ -0,0 +1,22 @@
[gd_resource type="Resource" script_class="ZombieResource" load_steps=5 format=3 uid="uid://c38vfdw5b60xw"]
[ext_resource type="PackedScene" uid="uid://bgqmwsb6ynm81" path="res://scenes/entities/Zombies/hobo.tscn" id="1_4myt6"]
[ext_resource type="Texture2D" uid="uid://5gpf2sodhn6e" path="res://assets/sprites/zombies/previews.png" id="1_nt7w3"]
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/ZombieResource.cs" id="1_u5qpq"]
[sub_resource type="AtlasTexture" id="AtlasTexture_73ahc"]
atlas = ExtResource("1_nt7w3")
region = Rect2(43, 0, 49, 95)
[resource]
script = ExtResource("1_u5qpq")
name_key = "hobo"
description_key = "hobo_desc"
Cost = 7.0
Scene = ExtResource("1_4myt6")
ReloadTime = 1.0
ReloadProgress = 0.0
Preview = SubResource("AtlasTexture_73ahc")
Layer = 1
Order = 5
metadata/_custom_type_script = "uid://cqxj7o8hdm82n"