Modding
Discord Wishlist on Steam

Library›Places

Drop items around

fn/game.DropItemsAround

Lays so many of an item on the ground, one by one, at places picked by chance round a place.

Drop items aroundallitemBreadSlicecount3atmetres2
Does
An action: done when the run reaches it
Runs
On every machine
Listed under
Library › Places
In a file
fn/game.DropItemsAround

Pins

  • initeman item data

    Which item.

    Starts as item/BreadSlice

  • incounta whole number

    How many.

    Starts as 3

  • inata position

    The place.

  • inmetresa number

    How far round it, in metres.

    Starts as 2

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.

StartallitemcountatmetresForfirst1lastLoop bodyDoneindexRandom point nearallatmetrespointDrop itemitemamount1atmadeReturnall
Drop items around

Built from