ConsumeAction v3 - RealMegaMinds/ActionInventoryMod GitHub Wiki
Consume actions consume things called consumables.
They look like:
{
...common fields...
"actions": [],
"consumables": [],
"singlePay": false,
"requireFull": false
}
(common fields are specified in Actions v3)
These are the actions that will be executed after all consumables have been consumed. This is an array of objects. See Actions v3.
These are the consumables that get consumed. This is an array of objects. See Consumables v3.
Whether people only need to pay once (true->pay first time, false->pay every time). This is a boolean.
Whether the full amount needs to be paid at once. (true->nothing is consumed until everything can be, false->will consume as much as possible). Regardless of choice, no actions are executed until the full amount has been consumed.
This can also be specified per consumable, however if true, all consumables will be set to true as well.
This is a boolean.