This commit is contained in:
2024-09-01 22:38:10 +02:00
parent 40a71daba8
commit 8691b94b88
2 changed files with 62 additions and 2 deletions

View File

@@ -0,0 +1,57 @@
[gd_resource type="Resource" script_class="PlantType" load_steps=8 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"]
[sub_resource type="AtlasTexture" id="AtlasTexture_e0ddp"]
atlas = ExtResource("2_0bswh")
region = Rect2(810, 270, 270, 270)
[sub_resource type="SpriteFrames" id="SpriteFrames_qtm0k"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_pmix4")
}],
"loop": true,
"name": &"DEAD",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_4j1rk")
}],
"loop": true,
"name": &"GROWN",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("5_0d7t0")
}],
"loop": true,
"name": &"SAPLING",
"speed": 5.0
}]
[resource]
script = ExtResource("1_8y2m5")
type = "Neviusia"
seed_sprite = SubResource("AtlasTexture_e0ddp")
sprite_frames = SubResource("SpriteFrames_qtm0k")
growing_time = 60.0
offspring_per_lifetime = 0
dying_time = 240.0
dead_time = 120.0
water_need = [0, 10]
fertility_need = [0, 10]
presence_need = [2, 20]
water_prod = 4
fertility_prod = 4
presence_prod = 4
dead_water_prod = 2
dead_fertility_prod = 2
distance_prod = 600