feat: spawn enemies from reusable definitions
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="EnemyDefinition" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://simulation/definitions/EnemyDefinition.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
enemy_id = &"enemy_boar"
|
||||
display_name = "Wild Boar"
|
||||
kind = &"wolf"
|
||||
behavior_profile_id = &"wolf_hunt"
|
||||
combatant_id_prefix = "boar"
|
||||
faction_id = &"faction_tribe"
|
||||
hostile = true
|
||||
weapon_id = &"item_claw"
|
||||
health = 55.0
|
||||
move_speed = 3.6
|
||||
body_color = Color(0.28, 0.16, 0.08, 1)
|
||||
accent_color = Color(0.78, 0.68, 0.5, 1)
|
||||
visual_scale = Vector3(1.05, 0.9, 1.15)
|
||||
Reference in New Issue
Block a user