complete refactor
This commit is contained in:
parent
65fe0e5c5d
commit
de2e8b1e50
71 changed files with 212 additions and 137 deletions
|
|
@ -5,7 +5,7 @@
|
|||
[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_uatri"]
|
||||
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/entities/ZombieResource.cs" id="5_uatri"]
|
||||
[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"]
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
[ext_resource type="Script" uid="uid://cw7yc3i2lgcja" path="res://addons/pvzadventure/WaveEvent.cs" id="3_icaa5"]
|
||||
[ext_resource type="Script" uid="uid://7rptlb5qr3b6" path="res://addons/pvzadventure/WaveData.cs" id="4_kc7t2"]
|
||||
[ext_resource type="Script" uid="uid://dl12rj75tk2qi" path="res://addons/pvzadventure/RowSpawn.cs" id="5_66y5q"]
|
||||
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/ZombieResource.cs" id="6_66y5q"]
|
||||
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/entities/ZombieResource.cs" id="6_66y5q"]
|
||||
[ext_resource type="Resource" uid="uid://buvacn56kyy2p" path="res://assets/zombies/basic.tres" id="7_c21si"]
|
||||
[ext_resource type="Resource" uid="uid://nceohd32fkxk" path="res://assets/zombies/conehead.tres" id="8_c21si"]
|
||||
[ext_resource type="Resource" uid="uid://dkhjlu7u0vny6" path="res://assets/zombies/buckethead.tres" id="9_tuvrx"]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
[ext_resource type="Script" uid="uid://cw7yc3i2lgcja" path="res://addons/pvzadventure/WaveEvent.cs" id="2_pkoaj"]
|
||||
[ext_resource type="Script" uid="uid://7rptlb5qr3b6" path="res://addons/pvzadventure/WaveData.cs" id="3_mtsmf"]
|
||||
[ext_resource type="Script" uid="uid://dl12rj75tk2qi" path="res://addons/pvzadventure/RowSpawn.cs" id="4_tpjav"]
|
||||
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/ZombieResource.cs" id="5_tpjav"]
|
||||
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/entities/ZombieResource.cs" id="5_tpjav"]
|
||||
[ext_resource type="Resource" uid="uid://buvacn56kyy2p" path="res://assets/zombies/basic.tres" id="6_swlbc"]
|
||||
[ext_resource type="Resource" uid="uid://nceohd32fkxk" path="res://assets/zombies/conehead.tres" id="7_swlbc"]
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
[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="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/entities/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"
|
||||
NameKey = "aloe"
|
||||
DescriptionKey = "aloe_desc"
|
||||
Cost = 75.0
|
||||
Scene = ExtResource("2_6a4ia")
|
||||
ReloadTime = 15.0
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[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="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/entities/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"]
|
||||
|
||||
|
|
@ -10,8 +10,8 @@ region = Rect2(2, 1, 41, 65)
|
|||
|
||||
[resource]
|
||||
script = ExtResource("1_jrx81")
|
||||
name_key = "cucumber"
|
||||
description_key = "cucumber_desc"
|
||||
NameKey = "cucumber"
|
||||
DescriptionKey = "cucumber_desc"
|
||||
Cost = 75.0
|
||||
Scene = ExtResource("2_0mr6r")
|
||||
ReloadTime = 5.0
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
[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="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/entities/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"
|
||||
NameKey = "garlic"
|
||||
DescriptionKey = "garlic_desc"
|
||||
Cost = 50.0
|
||||
Scene = ExtResource("2_81n0p")
|
||||
ReloadTime = 7.5
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[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"]
|
||||
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/entities/PlantResource.cs" id="3_30qd0"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ivp5w"]
|
||||
atlas = ExtResource("1_of51r")
|
||||
|
|
@ -10,8 +10,8 @@ region = Rect2(477, 9, 60, 59)
|
|||
|
||||
[resource]
|
||||
script = ExtResource("3_30qd0")
|
||||
name_key = "nerdus"
|
||||
description_key = "nerdus_desc"
|
||||
NameKey = "nerdus"
|
||||
DescriptionKey = "nerdus_desc"
|
||||
Cost = 125.0
|
||||
Scene = ExtResource("2_0i6qf")
|
||||
ReloadTime = 10.0
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
[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="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/entities/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"
|
||||
NameKey = "peashooter"
|
||||
DescriptionKey = "peashooter_desc"
|
||||
Cost = 75.0
|
||||
Scene = ExtResource("1_rqf2x")
|
||||
ReloadTime = 5.0
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
[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="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/entities/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"
|
||||
NameKey = "potatomine"
|
||||
DescriptionKey = "potatomine_desc"
|
||||
Cost = 25.0
|
||||
Scene = ExtResource("2_ig2ti")
|
||||
ReloadTime = 25.0
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
[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="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/entities/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"
|
||||
NameKey = "snowpea"
|
||||
DescriptionKey = "snowpea_desc"
|
||||
Cost = 175.0
|
||||
Scene = ExtResource("2_k47h0")
|
||||
ReloadTime = 5.0
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
[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="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/entities/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"
|
||||
NameKey = "spikeweed"
|
||||
DescriptionKey = "spikeweed_desc"
|
||||
Cost = 100.0
|
||||
Scene = ExtResource("2_iv8de")
|
||||
ReloadTime = 5.0
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
[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"]
|
||||
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/entities/PlantResource.cs" id="3_vt4jc"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_vt4jc")
|
||||
name_key = "sunflower"
|
||||
description_key = "sunflower_desc"
|
||||
NameKey = "sunflower"
|
||||
DescriptionKey = "sunflower_desc"
|
||||
Cost = 50.0
|
||||
Scene = ExtResource("2_gcyr5")
|
||||
ReloadTime = 5.0
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
[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"]
|
||||
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/entities/PlantResource.cs" id="3_3lugi"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_3lugi")
|
||||
name_key = "threepeater"
|
||||
description_key = "threepeater_desc"
|
||||
NameKey = "threepeater"
|
||||
DescriptionKey = "threepeater_desc"
|
||||
Cost = 275.0
|
||||
Scene = ExtResource("2_uqpu0")
|
||||
ReloadTime = 5.0
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
[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="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/entities/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"
|
||||
NameKey = "wallnut"
|
||||
DescriptionKey = "wallnut_desc"
|
||||
Cost = 50.0
|
||||
Scene = ExtResource("2_rkn3h")
|
||||
ReloadTime = 20.0
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[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="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/entities/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"]
|
||||
|
|
@ -10,8 +10,8 @@ region = Rect2(0, 0, 43, 88)
|
|||
|
||||
[resource]
|
||||
script = ExtResource("1_k277m")
|
||||
name_key = "basic"
|
||||
description_key = "basic_desc"
|
||||
NameKey = "basic"
|
||||
DescriptionKey = "basic_desc"
|
||||
Cost = 1.0
|
||||
Scene = ExtResource("1_c2mq3")
|
||||
ReloadTime = 1.0
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[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="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/entities/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"]
|
||||
|
|
@ -10,8 +10,8 @@ region = Rect2(137, 0, 47, 101)
|
|||
|
||||
[resource]
|
||||
script = ExtResource("1_sngfh")
|
||||
name_key = "buckethead"
|
||||
description_key = "buckethead_desc"
|
||||
NameKey = "buckethead"
|
||||
DescriptionKey = "buckethead_desc"
|
||||
Cost = 5.0
|
||||
Scene = ExtResource("1_lhcag")
|
||||
ReloadTime = 1.0
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[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"]
|
||||
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/entities/ZombieResource.cs" id="1_sw7hj"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_q44xp"]
|
||||
atlas = ExtResource("1_f7g7v")
|
||||
|
|
@ -10,8 +10,8 @@ region = Rect2(92, 0, 45, 106)
|
|||
|
||||
[resource]
|
||||
script = ExtResource("1_sw7hj")
|
||||
name_key = "conehead"
|
||||
description_key = "conehead_desc"
|
||||
NameKey = "conehead"
|
||||
DescriptionKey = "conehead_desc"
|
||||
Cost = 2.0
|
||||
Scene = ExtResource("1_llf5l")
|
||||
ReloadTime = 1.0
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[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"]
|
||||
[ext_resource type="Script" uid="uid://cqxj7o8hdm82n" path="res://scripts/resources/entities/ZombieResource.cs" id="1_u5qpq"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_73ahc"]
|
||||
atlas = ExtResource("1_nt7w3")
|
||||
|
|
@ -10,8 +10,8 @@ region = Rect2(43, 0, 49, 95)
|
|||
|
||||
[resource]
|
||||
script = ExtResource("1_u5qpq")
|
||||
name_key = "hobo"
|
||||
description_key = "hobo_desc"
|
||||
NameKey = "hobo"
|
||||
DescriptionKey = "hobo_desc"
|
||||
Cost = 7.0
|
||||
Scene = ExtResource("1_4myt6")
|
||||
ReloadTime = 1.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue