Modding
Discord Wishlist on Steam

Library›Items

Take all

fn/game.TakeAll

Takes every one of an item somebody carries, and says how many that was.

Take allallwhoitemBreadSlicetaken
Does
An action: done when the run reaches it
Runs
On every machine
Listed under
Library › Items
In a file
fn/game.TakeAll

Pins

  • inwhoa character

    The person.

  • initeman item data

    Which item.

    Starts as item/BreadSlice

  • outtakena whole number

    Taken.

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 items.graph.json.

StartallwhoitemCount itemwhoitemcounthad =valuevalueTake itemwhoitemamountokhadReturnalltaken
Take all

Built from