P07-01-WX: 仕上がった天候の機能の受入:自然天候・雨・嵐・世界樹と成人客のマナ霧・上部の表示と予報・保存と移行(マナ炉の産出 120 を除く。P07-01 の補助の作業。原単位への加算 0)
This commit is contained in:
@@ -145,6 +145,11 @@ func prune_rain_holds(present_guest_ids: Dictionary) -> void:
|
||||
if not present_guest_ids.has(StringName(key)):
|
||||
_rain_holds.erase(key)
|
||||
|
||||
## The hold of a guest that has just left; a save in that same minute then
|
||||
## holds only present guests' holds (P07-01 SPEC section 5).
|
||||
func release_rain_hold(guest_id: StringName) -> void:
|
||||
_rain_holds.erase(String(guest_id))
|
||||
|
||||
func create_snapshot() -> Dictionary:
|
||||
return {&"version": VERSION, &"minute": _minute, &"kind": _kind,
|
||||
&"since": _since, &"pending": _pending.duplicate(true),
|
||||
|
||||
Reference in New Issue
Block a user