fix six critical bugs from audit sprint
save/load round-trip: workbench bills, crop static-method, bed owner, wolf target now all survive reload via Bill.from_dict reconstruction, _spawn_crop using setup(), and a new _post_load_resolve_references pass. PlantProvider: sow path added; consumes 1 grain on a TILLED crop tile. CraftingProvider: ingredient2 supported via new KIND_DEPOSIT_AT_WB toil and Workbench.deposited_inputs buffer. Cremation pyre now actually consumes wood. HaulingProvider: per-item haul_retry_count + haul_rejected after 3 orphan passes; new EventBus.stockpile_layout_changed resets rejects on any player stockpile edit. Storyteller: 14 stubbed event effects implemented. New buff registry (add_buff/get_buff_multiplier/has_buff, day-prune, save/load) drives seasonal/resource events. New request_pawn_spawn signal + WANDERER table for arrivals. New SICK status + 3 mood thoughts. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
00cf8f445d
commit
d9638a4ea4
19 changed files with 711 additions and 101 deletions
|
|
@ -243,10 +243,12 @@ func unregister_item(it) -> void:
|
|||
func register_stockpile(s) -> void:
|
||||
if not stockpiles.has(s):
|
||||
stockpiles.append(s)
|
||||
EventBus.stockpile_layout_changed.emit()
|
||||
|
||||
|
||||
func unregister_stockpile(s) -> void:
|
||||
stockpiles.erase(s)
|
||||
EventBus.stockpile_layout_changed.emit()
|
||||
|
||||
|
||||
func mark_item_needs_haul(it) -> void:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue