des trucs

This commit is contained in:
2024-09-04 20:04:20 +02:00
parent fc4be1f695
commit e20ad3db95
33 changed files with 470 additions and 55 deletions

View File

@@ -5,7 +5,7 @@
[ext_resource type="Theme" uid="uid://dnebunkx13tbr" path="res://assets/gui/Text.tres" id="3_lefgl"]
[sub_resource type="CircleShape2D" id="CircleShape2D_5dvar"]
radius = 599.083
radius = 557.022
[sub_resource type="Animation" id="Animation_qi2vx"]
resource_name = "Closed"
@@ -308,8 +308,9 @@ fill_to = Vector2(0.538462, 0.175214)
font_size = 21
[node name="Animal" type="Node2D"]
y_sort_enabled = true
script = ExtResource("1_bjim0")
n_plant_needed = 8
n_plant_needed = 15
[node name="Sprite2D" type="Sprite2D" parent="."]
modulate = Color(0.529067, 0.529067, 0.529067, 1)
@@ -351,6 +352,7 @@ scale = Vector2(0.964966, 0.964966)
texture = SubResource("GradientTexture2D_7pg56")
[node name="PlantsCount" type="Label" parent="."]
z_index = 1
offset_left = -15.0
offset_top = -148.0
offset_right = 45.0

View File

@@ -31,7 +31,7 @@ one_shot = true
position = Vector2(1439, 1360)
[node name="RobotSeed" type="Sprite2D" parent="Robot"]
position = Vector2(0, 63)
scale = Vector2(0.5, 0.5)
position = Vector2(0, 10)
scale = Vector2(0.3, 0.3)
[connection signal="Planted" from="Robot" to="." method="_on_robot_planted"]

View File

@@ -13,11 +13,13 @@
script = ExtResource("1_4eix8")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(0, -63)
scale = Vector2(0.0890625, 0.0890625)
sprite_frames = ExtResource("2_k06te")
animation = &"Walk"
autoplay = "Walk"
frame_progress = 0.127315
offset = Vector2(0, -33.765)
[node name="Planting" type="Timer" parent="."]
one_shot = true

View File

@@ -75,6 +75,7 @@ one_shot = true
scale = Vector2(0.2, 0.2)
sprite_frames = SubResource("SpriteFrames_667un")
animation = &"SEED"
speed_scale = 0.0
offset = Vector2(0, -250)
[node name="Area2D" type="Area2D" parent="."]

View File

@@ -1,15 +1,136 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://cfbdjq14ouwra"]
[gd_resource type="Resource" script_class="PlantType" load_steps=39 format=3 uid="uid://cfbdjq14ouwra"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_208yf"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_wwtfx"]
[ext_resource type="Texture2D" uid="uid://di74g50h3oruf" path="res://assets/plants/plantes mortes/arbre_mort.png" id="3_8jirk"]
[ext_resource type="Texture2D" uid="uid://dwm660gppiset" path="res://assets/plants/abre2.png" id="4_ore5j"]
[ext_resource type="Texture2D" uid="uid://c5felbfti153f" path="res://assets/plants/arbre_phase1.png" id="5_aukq7"]
[ext_resource type="Texture2D" uid="uid://c20w02hmmlrnu" path="res://assets/plants/frames_arbre_sprites.png" id="5_udqsl"]
[sub_resource type="AtlasTexture" id="AtlasTexture_wgugp"]
atlas = ExtResource("2_wwtfx")
region = Rect2(0, 540, 270, 270)
[sub_resource type="AtlasTexture" id="AtlasTexture_cjm6v"]
atlas = ExtResource("5_udqsl")
region = Rect2(0, 0, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_t5gw7"]
atlas = ExtResource("5_udqsl")
region = Rect2(1000, 0, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_mspmq"]
atlas = ExtResource("5_udqsl")
region = Rect2(2000, 0, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_82el2"]
atlas = ExtResource("5_udqsl")
region = Rect2(3000, 0, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_3ymjj"]
atlas = ExtResource("5_udqsl")
region = Rect2(4000, 0, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_dmppb"]
atlas = ExtResource("5_udqsl")
region = Rect2(5000, 0, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_o46cw"]
atlas = ExtResource("5_udqsl")
region = Rect2(6000, 0, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_i6ohj"]
atlas = ExtResource("5_udqsl")
region = Rect2(7000, 0, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_hv1dq"]
atlas = ExtResource("5_udqsl")
region = Rect2(0, 605, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_gdio8"]
atlas = ExtResource("5_udqsl")
region = Rect2(1000, 605, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_hmlqp"]
atlas = ExtResource("5_udqsl")
region = Rect2(2000, 605, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_obt0y"]
atlas = ExtResource("5_udqsl")
region = Rect2(3000, 605, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_ch6bx"]
atlas = ExtResource("5_udqsl")
region = Rect2(4000, 605, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_ekdvb"]
atlas = ExtResource("5_udqsl")
region = Rect2(5000, 605, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_3rpko"]
atlas = ExtResource("5_udqsl")
region = Rect2(6000, 605, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_4xhw5"]
atlas = ExtResource("5_udqsl")
region = Rect2(7000, 605, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_bxl2x"]
atlas = ExtResource("5_udqsl")
region = Rect2(0, 1210, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_keg52"]
atlas = ExtResource("5_udqsl")
region = Rect2(1000, 1210, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_tuv5m"]
atlas = ExtResource("5_udqsl")
region = Rect2(2000, 1210, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_safva"]
atlas = ExtResource("5_udqsl")
region = Rect2(3000, 1210, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_hs5wt"]
atlas = ExtResource("5_udqsl")
region = Rect2(4000, 1210, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_wpud5"]
atlas = ExtResource("5_udqsl")
region = Rect2(5000, 1210, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_2wqx7"]
atlas = ExtResource("5_udqsl")
region = Rect2(6000, 1210, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_4uv5p"]
atlas = ExtResource("5_udqsl")
region = Rect2(7000, 1210, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_5vpdr"]
atlas = ExtResource("5_udqsl")
region = Rect2(0, 1815, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_v5wkb"]
atlas = ExtResource("5_udqsl")
region = Rect2(1000, 1815, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_y11b3"]
atlas = ExtResource("5_udqsl")
region = Rect2(2000, 1815, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_oipy7"]
atlas = ExtResource("5_udqsl")
region = Rect2(3000, 1815, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_c3gyp"]
atlas = ExtResource("5_udqsl")
region = Rect2(4000, 1815, 1000, 605)
[sub_resource type="AtlasTexture" id="AtlasTexture_ssj6n"]
atlas = ExtResource("5_udqsl")
region = Rect2(5000, 1815, 1000, 605)
[sub_resource type="SpriteFrames" id="SpriteFrames_teefd"]
animations = [{
"frames": [{
@@ -23,6 +144,96 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_ore5j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cjm6v")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t5gw7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mspmq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_82el2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3ymjj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dmppb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_o46cw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i6ohj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hv1dq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gdio8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hmlqp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_obt0y")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ch6bx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ekdvb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3rpko")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4xhw5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bxl2x")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_keg52")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tuv5m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_safva")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hs5wt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wpud5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2wqx7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4uv5p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5vpdr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_v5wkb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_y11b3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oipy7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_c3gyp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ssj6n")
}],
"loop": true,
"name": &"GROWN",
@@ -42,8 +253,8 @@ script = ExtResource("1_208yf")
type = "Bonaluria"
seed_sprite = SubResource("AtlasTexture_wgugp")
sprite_frames = SubResource("SpriteFrames_teefd")
growing_time = 60.0
offspring_per_lifetime = 0
growing_time = 30.0
offspring_per_lifetime = 1
dying_time = 240.0
dead_time = 120.0
water_need = [-1, 10]
@@ -55,3 +266,4 @@ presence_prod = 4
dead_water_prod = 3
dead_fertility_prod = 2
distance_prod = 600
distance_prod_falloff = 300

View File

@@ -1,9 +1,10 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://b4bdxpunvgc2j"]
[gd_resource type="Resource" script_class="PlantType" load_steps=9 format=3 uid="uid://b4bdxpunvgc2j"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_duqty"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_lk0j2"]
[ext_resource type="Texture2D" uid="uid://ceebnlqxcbmlw" path="res://assets/plants/plantes mortes/plante_morte1.png" id="3_2wyd1"]
[ext_resource type="Texture2D" uid="uid://d02mdx460lfgm" path="res://assets/plants/evolution2.4.png" id="4_rihq1"]
[ext_resource type="Texture2D" uid="uid://db46hrnjgcunf" path="res://assets/plants/evolution2.4_glow.png" id="5_erp4i"]
[ext_resource type="Texture2D" uid="uid://d0xlqgttxwkgh" path="res://assets/plants/evolution2.png" id="5_i5m6k"]
[sub_resource type="AtlasTexture" id="AtlasTexture_u2flf"]
@@ -23,6 +24,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_rihq1")
}, {
"duration": 1.0,
"texture": ExtResource("5_erp4i")
}],
"loop": true,
"name": &"GROWN",
@@ -46,8 +50,8 @@ growing_time = 2.0
offspring_per_lifetime = 1
dying_time = 120.0
dead_time = 60.0
water_need = [-5, 8]
fertility_need = [-1, 9]
water_need = [-5, 10]
fertility_need = [-1, 10]
presence_need = [2, 19]
water_prod = 4
fertility_prod = 0
@@ -55,3 +59,4 @@ presence_prod = 2
dead_water_prod = 2
dead_fertility_prod = 0
distance_prod = 300
distance_prod_falloff = 150

View File

@@ -55,3 +55,4 @@ presence_prod = 1
dead_water_prod = 0
dead_fertility_prod = 1
distance_prod = 200
distance_prod_falloff = 100

View File

@@ -1,9 +1,10 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://di5eh5yvhanlt"]
[gd_resource type="Resource" script_class="PlantType" load_steps=9 format=3 uid="uid://di5eh5yvhanlt"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_1xwqx"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_5ijhj"]
[ext_resource type="Texture2D" uid="uid://cuujr7p18dv3g" path="res://assets/plants/plantes mortes/plante_morte2.png" id="3_3ueid"]
[ext_resource type="Texture2D" uid="uid://34v3ub405uwp" path="res://assets/plants/evolution2.3.png" id="4_uv55b"]
[ext_resource type="Texture2D" uid="uid://bkq3n2q6m01e3" path="res://assets/plants/evolution2.3glow.png" id="5_olkuo"]
[ext_resource type="Texture2D" uid="uid://d0xlqgttxwkgh" path="res://assets/plants/evolution2.png" id="5_vsmg7"]
[sub_resource type="AtlasTexture" id="AtlasTexture_6mli1"]
@@ -23,6 +24,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_uv55b")
}, {
"duration": 1.0,
"texture": ExtResource("5_olkuo")
}],
"loop": true,
"name": &"GROWN",
@@ -55,3 +59,4 @@ presence_prod = 2
dead_water_prod = 1
dead_fertility_prod = 1
distance_prod = 300
distance_prod_falloff = 150

View File

@@ -1,10 +1,12 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://cbvlod5m6s5pk"]
[gd_resource type="Resource" script_class="PlantType" load_steps=10 format=3 uid="uid://cbvlod5m6s5pk"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_sfd4l"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_5nqbe"]
[ext_resource type="Texture2D" uid="uid://di74g50h3oruf" path="res://assets/plants/plantes mortes/arbre_mort.png" id="3_k1kks"]
[ext_resource type="Texture2D" uid="uid://bu462tqc23ygm" path="res://assets/plants/arbre3.png" id="4_rhg44"]
[ext_resource type="Texture2D" uid="uid://crgjmsk6ailnb" path="res://assets/plants/arbre3_bebe.png" id="5_43s5v"]
[ext_resource type="Texture2D" uid="uid://b2da8t4efoaqq" path="res://assets/plants/arbre3_glow.png" id="5_iiu8o"]
[ext_resource type="Texture2D" uid="uid://e3d3wchaado3" path="res://assets/plants/arbre3_bebe_glow.png" id="7_78ppv"]
[sub_resource type="AtlasTexture" id="AtlasTexture_rihnu"]
atlas = ExtResource("2_5nqbe")
@@ -23,6 +25,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_rhg44")
}, {
"duration": 1.0,
"texture": ExtResource("5_iiu8o")
}],
"loop": true,
"name": &"GROWN",
@@ -31,6 +36,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("5_43s5v")
}, {
"duration": 1.0,
"texture": ExtResource("7_78ppv")
}],
"loop": true,
"name": &"SAPLING",
@@ -43,7 +51,7 @@ type = "Lithoniel"
seed_sprite = SubResource("AtlasTexture_rihnu")
sprite_frames = SubResource("SpriteFrames_8hq66")
growing_time = 60.0
offspring_per_lifetime = 0
offspring_per_lifetime = 1
dying_time = 240.0
dead_time = 120.0
water_need = [2, 10]
@@ -55,3 +63,4 @@ presence_prod = 4
dead_water_prod = 2
dead_fertility_prod = 4
distance_prod = 600
distance_prod_falloff = 300

View File

@@ -1,9 +1,10 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://bbi00n5snleur"]
[gd_resource type="Resource" script_class="PlantType" load_steps=9 format=3 uid="uid://bbi00n5snleur"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_32rwi"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_liffp"]
[ext_resource type="Texture2D" uid="uid://ceebnlqxcbmlw" path="res://assets/plants/plantes mortes/plante_morte1.png" id="3_4qc5e"]
[ext_resource type="Texture2D" uid="uid://cmhajduampeuf" path="res://assets/plants/evolution3.1.png" id="4_6je8p"]
[ext_resource type="Texture2D" uid="uid://depyywow3yxex" path="res://assets/plants/evolution3.1glow.png" id="5_4or8w"]
[ext_resource type="Texture2D" uid="uid://bhofpsc2gk2s8" path="res://assets/plants/evolution3.png" id="5_6yscv"]
[sub_resource type="AtlasTexture" id="AtlasTexture_2qduo"]
@@ -23,6 +24,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_6je8p")
}, {
"duration": 1.0,
"texture": ExtResource("5_4or8w")
}],
"loop": true,
"name": &"GROWN",
@@ -55,3 +59,4 @@ presence_prod = 2
dead_water_prod = 0
dead_fertility_prod = 1
distance_prod = 400
distance_prod_falloff = 200

View File

@@ -1,9 +1,10 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://cg2ou1520k162"]
[gd_resource type="Resource" script_class="PlantType" load_steps=9 format=3 uid="uid://cg2ou1520k162"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_cmyhw"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_nese1"]
[ext_resource type="Texture2D" uid="uid://ceebnlqxcbmlw" path="res://assets/plants/plantes mortes/plante_morte1.png" id="3_io6uv"]
[ext_resource type="Texture2D" uid="uid://ouxdlglbbnme" path="res://assets/plants/evolution1.4.png" id="4_h2yn0"]
[ext_resource type="Texture2D" uid="uid://deckgdj2y50a0" path="res://assets/plants/evolution1.4glow.png" id="5_6v40j"]
[ext_resource type="Texture2D" uid="uid://hkcjtfch0kub" path="res://assets/plants/evolution1.png" id="5_c6tg4"]
[sub_resource type="AtlasTexture" id="AtlasTexture_b4v1x"]
@@ -23,6 +24,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_h2yn0")
}, {
"duration": 1.0,
"texture": ExtResource("5_6v40j")
}],
"loop": true,
"name": &"GROWN",
@@ -55,3 +59,4 @@ presence_prod = 2
dead_water_prod = 1
dead_fertility_prod = 1
distance_prod = 400
distance_prod_falloff = 200

View File

@@ -1,10 +1,11 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://3f0c3ant0i74"]
[gd_resource type="Resource" script_class="PlantType" load_steps=9 format=3 uid="uid://3f0c3ant0i74"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_incgu"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_7j0g4"]
[ext_resource type="Texture2D" uid="uid://cuujr7p18dv3g" path="res://assets/plants/plantes mortes/plante_morte2.png" id="3_qbnxd"]
[ext_resource type="Texture2D" uid="uid://bi08m8a3ikw7j" path="res://assets/plants/evolution3.3.png" id="4_1gp5r"]
[ext_resource type="Texture2D" uid="uid://bhofpsc2gk2s8" path="res://assets/plants/evolution3.png" id="5_gjb21"]
[ext_resource type="Texture2D" uid="uid://yjn26ei0e2du" path="res://assets/plants/evolution3.3glow.png" id="5_mhn2m"]
[sub_resource type="AtlasTexture" id="AtlasTexture_6rb5i"]
atlas = ExtResource("2_7j0g4")
@@ -23,6 +24,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_1gp5r")
}, {
"duration": 1.0,
"texture": ExtResource("5_mhn2m")
}],
"loop": true,
"name": &"GROWN",
@@ -55,3 +59,4 @@ presence_prod = 1
dead_water_prod = 0
dead_fertility_prod = 1
distance_prod = 200
distance_prod_falloff = 100

View File

@@ -1,10 +1,11 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://brcimvxigi5g7"]
[gd_resource type="Resource" script_class="PlantType" load_steps=9 format=3 uid="uid://brcimvxigi5g7"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_4c8pg"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_lyimn"]
[ext_resource type="Texture2D" uid="uid://cuujr7p18dv3g" path="res://assets/plants/plantes mortes/plante_morte2.png" id="3_ircru"]
[ext_resource type="Texture2D" uid="uid://br1olfut3p0tx" path="res://assets/plants/evolution1.1.png" id="4_8xdmf"]
[ext_resource type="Texture2D" uid="uid://hkcjtfch0kub" path="res://assets/plants/evolution1.png" id="5_3e24e"]
[ext_resource type="Texture2D" uid="uid://drxb6gfgib6b2" path="res://assets/plants/evolution1.1glow.png" id="5_n8mr6"]
[sub_resource type="AtlasTexture" id="AtlasTexture_4k2ke"]
atlas = ExtResource("2_lyimn")
@@ -23,6 +24,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_8xdmf")
}, {
"duration": 1.0,
"texture": ExtResource("5_n8mr6")
}],
"loop": true,
"name": &"GROWN",
@@ -46,8 +50,8 @@ growing_time = 1.0
offspring_per_lifetime = 3
dying_time = 60.0
dead_time = 30.0
water_need = [-1, 9]
fertility_need = [-5, 8]
water_need = [-1, 10]
fertility_need = [-5, 10]
presence_need = [2, 19]
water_prod = 0
fertility_prod = 4
@@ -55,3 +59,4 @@ presence_prod = 2
dead_water_prod = 0
dead_fertility_prod = 2
distance_prod = 300
distance_prod_falloff = 150

View File

@@ -1,10 +1,12 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://bje2xwse2ilga"]
[gd_resource type="Resource" script_class="PlantType" load_steps=10 format=3 uid="uid://bje2xwse2ilga"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_8y2m5"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_0bswh"]
[ext_resource type="Texture2D" uid="uid://di74g50h3oruf" path="res://assets/plants/plantes mortes/arbre_mort.png" id="3_pmix4"]
[ext_resource type="Texture2D" uid="uid://cbj6fmw8pxnsb" path="res://assets/plants/arbre4.png" id="4_4j1rk"]
[ext_resource type="Texture2D" uid="uid://bxw81k0af64wo" path="res://assets/plants/arbre4_bebe.png" id="5_0d7t0"]
[ext_resource type="Texture2D" uid="uid://6sbvx064f20y" path="res://assets/plants/arbre4_glow.png" id="5_8ok3i"]
[ext_resource type="Texture2D" uid="uid://dvon76hnof5ny" path="res://assets/plants/arbre4_bebe_glow.png" id="7_jijhl"]
[sub_resource type="AtlasTexture" id="AtlasTexture_e0ddp"]
atlas = ExtResource("2_0bswh")
@@ -23,6 +25,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_4j1rk")
}, {
"duration": 1.0,
"texture": ExtResource("5_8ok3i")
}],
"loop": true,
"name": &"GROWN",
@@ -31,6 +36,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("5_0d7t0")
}, {
"duration": 1.0,
"texture": ExtResource("7_jijhl")
}],
"loop": true,
"name": &"SAPLING",
@@ -43,7 +51,7 @@ type = "Neviusia"
seed_sprite = SubResource("AtlasTexture_e0ddp")
sprite_frames = SubResource("SpriteFrames_qtm0k")
growing_time = 60.0
offspring_per_lifetime = 0
offspring_per_lifetime = 1
dying_time = 240.0
dead_time = 120.0
water_need = [0, 10]
@@ -55,3 +63,4 @@ presence_prod = 4
dead_water_prod = 2
dead_fertility_prod = 2
distance_prod = 600
distance_prod_falloff = 300

View File

@@ -1,10 +1,11 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://dr17d2cg8cmar"]
[gd_resource type="Resource" script_class="PlantType" load_steps=9 format=3 uid="uid://dr17d2cg8cmar"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_mr0h0"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_e84rt"]
[ext_resource type="Texture2D" uid="uid://cuujr7p18dv3g" path="res://assets/plants/plantes mortes/plante_morte2.png" id="3_p1ccf"]
[ext_resource type="Texture2D" uid="uid://bklqkrqhw6fdf" path="res://assets/plants/evolution2.2.png" id="4_bd3io"]
[ext_resource type="Texture2D" uid="uid://d0xlqgttxwkgh" path="res://assets/plants/evolution2.png" id="5_3xk5n"]
[ext_resource type="Texture2D" uid="uid://b6yakjoc56ykx" path="res://assets/plants/evolution2.2glow.png" id="5_svnxg"]
[sub_resource type="AtlasTexture" id="AtlasTexture_7ctak"]
atlas = ExtResource("2_e84rt")
@@ -23,6 +24,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_bd3io")
}, {
"duration": 1.0,
"texture": ExtResource("5_svnxg")
}],
"loop": true,
"name": &"GROWN",
@@ -55,3 +59,4 @@ presence_prod = 2
dead_water_prod = 1
dead_fertility_prod = 1
distance_prod = 400
distance_prod_falloff = 200

View File

@@ -1,10 +1,11 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://d25s1eywvsyei"]
[gd_resource type="Resource" script_class="PlantType" load_steps=9 format=3 uid="uid://d25s1eywvsyei"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_4cghd"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_o8yby"]
[ext_resource type="Texture2D" uid="uid://cuujr7p18dv3g" path="res://assets/plants/plantes mortes/plante_morte2.png" id="3_feqkx"]
[ext_resource type="Texture2D" uid="uid://bhqhdoxql4odd" path="res://assets/plants/evolution3.2.png" id="4_uxebp"]
[ext_resource type="Texture2D" uid="uid://bhofpsc2gk2s8" path="res://assets/plants/evolution3.png" id="5_6hg7m"]
[ext_resource type="Texture2D" uid="uid://bb4t30vv1erc3" path="res://assets/plants/evolution3.2glow.png" id="5_nka4w"]
[sub_resource type="AtlasTexture" id="AtlasTexture_1kvg0"]
atlas = ExtResource("2_o8yby")
@@ -23,6 +24,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_uxebp")
}, {
"duration": 1.0,
"texture": ExtResource("5_nka4w")
}],
"loop": true,
"name": &"GROWN",
@@ -55,3 +59,4 @@ presence_prod = 1
dead_water_prod = 0
dead_fertility_prod = 1
distance_prod = 200
distance_prod_falloff = 100

View File

@@ -1,10 +1,11 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://c64hhkqk4tnas"]
[gd_resource type="Resource" script_class="PlantType" load_steps=9 format=3 uid="uid://c64hhkqk4tnas"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_d77oo"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_3tp7g"]
[ext_resource type="Texture2D" uid="uid://cuujr7p18dv3g" path="res://assets/plants/plantes mortes/plante_morte2.png" id="3_6kltw"]
[ext_resource type="Texture2D" uid="uid://24ift4wt1h2h" path="res://assets/plants/evolution2.1.png" id="4_cxwjh"]
[ext_resource type="Texture2D" uid="uid://d0xlqgttxwkgh" path="res://assets/plants/evolution2.png" id="5_0cele"]
[ext_resource type="Texture2D" uid="uid://dj145jeb441ms" path="res://assets/plants/evolution2.1glow.png" id="5_diyuo"]
[sub_resource type="AtlasTexture" id="AtlasTexture_efpgb"]
atlas = ExtResource("2_3tp7g")
@@ -23,6 +24,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_cxwjh")
}, {
"duration": 1.0,
"texture": ExtResource("5_diyuo")
}],
"loop": true,
"name": &"GROWN",
@@ -55,3 +59,4 @@ presence_prod = 1
dead_water_prod = 0
dead_fertility_prod = 1
distance_prod = 200
distance_prod_falloff = 100

View File

@@ -1,9 +1,10 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 format=3 uid="uid://cev7wbg0cfel3"]
[gd_resource type="Resource" script_class="PlantType" load_steps=9 format=3 uid="uid://cev7wbg0cfel3"]
[ext_resource type="Script" path="res://scripts/plant_type.gd" id="1_xvhlf"]
[ext_resource type="Texture2D" uid="uid://b3kjaw1hajc6s" path="res://assets/grille_seeds.png" id="2_2wi5a"]
[ext_resource type="Texture2D" uid="uid://cuujr7p18dv3g" path="res://assets/plants/plantes mortes/plante_morte2.png" id="3_0hwfl"]
[ext_resource type="Texture2D" uid="uid://clnrdh4ygkrr8" path="res://assets/plants/evolution1.3.png" id="4_ee77a"]
[ext_resource type="Texture2D" uid="uid://dx8rc0ac1luab" path="res://assets/plants/evolution1.3_glow.png" id="5_evuaa"]
[ext_resource type="Texture2D" uid="uid://hkcjtfch0kub" path="res://assets/plants/evolution1.png" id="5_xqm7x"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ssp8o"]
@@ -23,6 +24,9 @@ animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_ee77a")
}, {
"duration": 1.0,
"texture": ExtResource("5_evuaa")
}],
"loop": true,
"name": &"GROWN",
@@ -55,3 +59,4 @@ presence_prod = 2
dead_water_prod = 0
dead_fertility_prod = 2
distance_prod = 400
distance_prod_falloff = 200