Modding
Discord Wishlist on Steam

Library›Money

Sell

fn/game.Sell

Somebody gives up so many of an item for a price in coin - nothing changes hands when they have too few. Sold tells which.

SellallwhoitemBreadSliceamount1price1sold
Does
An action: done when the run reaches it
Runs
On every machine
Listed under
Library › Money
In a file
fn/game.Sell

Pins

  • inwhoa character

    The person.

  • initeman item data

    Which item.

    Starts as item/BreadSlice

  • inamounta whole number

    How many.

    Starts as 1

  • inpricea whole number

    Denars.

    Starts as 1

  • outsoldyes or no

    Yes when they had it and were paid.

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.

StartallwhoitemamountpriceTake itemwhoitemamountokBranchconditiontruefalseGive moneywhodenarsReturnallsoldReturnallsold
Sell

Built from