Library›Money
Buy
fn/game.Buy
Somebody pays a price and gets so many of an item - nothing changes hands when they have too little. Bought tells which.
- Does
- An action: done when the run reaches it
- Runs
- On every machine
- Listed under
- Library › Money
- In a file
fn/game.Buy
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
2 - outboughtyes or no
Yes when they paid and got it.
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.
Modding