Modding
Discord Wishlist on Steam

Library›Places

Spawn around

fn/game.SpawnAround

Makes so many of a catalog thing at places picked by chance round a place, and gives them back as a list.

Spawn aroundallthingLanterncount3atmetres4made
Does
An action: done when the run reaches it
Runs
On every machine
Listed under
Library › Places
In a file
fn/game.SpawnAround

Pins

  • inthinga game object

    Which catalog thing.

    Starts as thing/Lantern

  • incounta whole number

    How many.

    Starts as 3

  • inata position

    The place.

  • inmetresa number

    How far round it, in metres.

    Starts as 4

  • outmadea list

    What was made.

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.

StartallthingcountatmetresForfirst1lastLoop bodyDoneindexRandom point nearallatmetrespointSpawn thingthingatmademadeAdd to listalllistitemReturnallmade
Spawn around

Built from