Library›Places
Wait until indoors
fn/game.WaitUntilIndoors
Waits until somebody is under a roof that keeps the rain off - a house, a hall, a tent - looking once a second, or until the seconds are up. Gives back the building and whether they went in.
- Does
- An action: done when the run reaches it
- Runs
- On every machine
- Listed under
- Library › Places
- In a file
fn/game.WaitUntilIndoors
Pins
- inwhoa thing
The person.
- insecondsa number
How long, in seconds of game time.
Starts as
600 - outbuildinga game object
The building or shelter; nothing for none.
- outindoorsyes or no
Yes when they went in.
How it is made
Its body, as the bench opens it read-only. Copy into my mod on the bench makes a copy to change. The library's file is places.graph.json.
Built from
- While
flow/WhileDoes Body again and again while the condition holds, then Done. - Is indoors
get/Game.IsIndoorsWhether somebody, something or a spot is under a roof that keeps the rain off - the game's own rule for rain, wet and fire - and which building and room. - Expression
math/ExpressionWorks out what is typed, like a line of code - Wait
flow/WaitWaits so many seconds of game time before going on.
Modding