merge: integrate remote player quest slices

This commit is contained in:
Rijad Zuzo
2026-08-16 16:53:30 +02:00
55 changed files with 3640 additions and 54 deletions
@@ -14,6 +14,10 @@ func configure(economy_state: RefCounted, record_event: Callable) -> void:
func advance_needs(food_modifier: float) -> void:
player_state.set_hunger(player_state.get_hunger() + 0.125 * food_modifier)
player_state.set_energy(maxf(player_state.get_energy() - 0.0625, 0.0))
# Starvation is an authoritative state transition, not a UI-only warning.
# Reuse the record's bounded compatibility transition so save/load and the
# legacy embodied-needs slice observe the same death counter and fact state.
player_state.advance(0.0, 0.0)
func add_carried(item_id: StringName, amount: float) -> void: