merge: integrate remote player quest slices
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user