feat: define reusable animal archetypes
This commit is contained in:
@@ -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_sheep"
|
||||
species_id = &"sheep"
|
||||
display_name = "Domestic sheep"
|
||||
behavior_id = &"grazer_routine"
|
||||
supported_action_ids = Array[StringName]([&"feed_animal"])
|
||||
presentation_scene_path = "res://world/animals/grazer/cozy_grazer.tscn"
|
||||
movement_speed = 1.4
|
||||
visual_scale = Vector3(1.08, 1.04, 1.08)
|
||||
body_scale = Vector3(1.12, 1.08, 1.12)
|
||||
fluff_scale = Vector3(1.16, 1.14, 1.16)
|
||||
show_horns = false
|
||||
show_beard = false
|
||||
Reference in New Issue
Block a user