Modding
Discord Wishlist on Steam

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.

Wait until indoorsallwhoseconds600buildingindoors
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.

StartallwhosecondsWhileconditionLoop bodyDoneIs indoorsofindoorsbuildingroomExpressionnot inside and waited < secondsinsideseconds= yes or noWaitseconds1waited +=value1valueIs indoorsofindoorsbuildingroomReturnallbuildingindoors
Wait until indoors

Built from