feat: define reusable animal archetypes

This commit is contained in:
Rijad Zuzo
2026-08-12 20:50:52 +02:00
parent d5eb2b81f9
commit 4e4ae1a969
20 changed files with 1141 additions and 411 deletions
@@ -0,0 +1,18 @@
[gd_resource type="Resource" script_class="AnimalDefinition" load_steps=2 format=3]
[ext_resource type="Script" path="res://simulation/animals/AnimalDefinition.gd" id="1_definition"]
[resource]
script = ExtResource("1_definition")
animal_definition_id = &"domestic_goat"
species_id = &"goat"
display_name = "Domestic goat"
behavior_id = &"grazer_routine"
supported_action_ids = Array[StringName]([&"feed_animal"])
presentation_scene_path = "res://world/animals/grazer/cozy_grazer.tscn"
movement_speed = 1.6
visual_scale = Vector3(1, 1, 1)
body_scale = Vector3(1, 1, 1)
fluff_scale = Vector3(1, 1, 1)
show_horns = true
show_beard = true