Library›Items
Has enough
fn/game.HasEnough
Whether somebody carries at least so many of an item.
- Does
- A value: worked out when a node wired to it asks
- Runs
- On every machine
- Listed under
- Library › Items
- In a file
fn/game.HasEnough
Pins
- inwhoa character
The person.
- initeman item data
Which item.
Starts as
item/BreadSlice - inamounta whole number
How many.
Starts as
1 - outenoughyes or no
Yes when they have enough.
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