Updated Component Generator (markdown)

Vexatos 2014-02-28 09:40:31 -08:00
parent 1439f58d76
commit fd4d631fe8

@ -6,6 +6,7 @@ Callbacks:
The current number of fuel items still in the generator.
- `insert([count: number]): boolean[, string]`
Inserts up to the specified number of fuel items from the currently selected inventory slot into the generator's inventory. Returns `true` if at least one item was moved to the generator's inventory. Returns `false` and an error message otherwise.
Possible error messages are:
`"selected slot does not contain fuel"` if the selected slot has no item which can be burnt
`"different fuel type already queued"` if there is already another type of item in the generator