Merge task #12: animals start loose (new LOOSE status), penned set persisted
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
b2eae679f8
8 changed files with 257 additions and 42 deletions
|
|
@ -85,6 +85,14 @@ extends Resource
|
|||
@export var animal_calm_time: float = 30.0
|
||||
## Animals following the scarecrow walk its trail at up to this speed.
|
||||
@export var follow_speed: float = 6.0
|
||||
## Where loose animals start (#12): scattered open-farmyard spots outside FarmZone.Kind.ANIMAL_PEN
|
||||
## (x -10..4, z -11..-1), walkable, and clear of the future crop fields (x -11..-1 z 2..12 and
|
||||
## x 2..12 z 2..12 -- see LAYOUT.md). Each is grazed around (AnimalSystem.LOOSE_WANDER_RADIUS)
|
||||
## until the player leads that animal into a built pen. Cycles if there are more animals than spots.
|
||||
@export var animal_loose_spots: Array[Vector2] = [
|
||||
Vector2(-9.0, 0.5), Vector2(-6.0, 0.5), Vector2(-3.0, 0.5), Vector2(0.0, 0.5), Vector2(3.0, 0.5),
|
||||
Vector2(-12.0, -3.0), Vector2(-12.0, -6.0), Vector2(-12.0, -9.0),
|
||||
]
|
||||
## What a thief with no set target goes for ("any" in a night plan), and where a thief whose target
|
||||
## is gone goes next: relative weights per category.
|
||||
@export var target_weights: Dictionary = {"crops": 2.0, "animals": 1.0, "supplies": 1.0}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue