License: LGPL-2.1
Everything in there will be used as power to creat new items. (make sure it not becomes empty or the process will fail and restart over again)
Add stuff that will be cloned, the results will be placed in the right side (make shore it not becomes full)
You can let other people contribute or use the generator, (press to cycle status)
but only add to burn or take from the results.
Write the players names (1 name at every line) then press save.
Only you can add and take.
Averyone can add, you and members can take.
Everyone can add and take.
Are in the settings.lua
Some settings are:
- What items can be made and what can not (valid and invalid)
- What items contribute to the process of making an item. (burn value)
- Super allow on some stuff that can seem to be to powerful.
- Allow anything to be burned? (Includes how much that item is worth if unrecognized)
- Allow all except that on the invalid list. (Can be used for those who are lazy and don't want to help contribute to the list of mods supported automatically)
Use the fsg namespace.
local fsg = rawget(_G, "fsg") or nil
if fsg ~= nil then
-- API calls here!
endFunctions:
add_invalid(itemstring)Adds the given itemstring to the invalid list, that means it can not be told to produce that item.add_valid(itemstring)Adds the given itemstring to the valid list, that means you can produce it. (Not needed iffsg_allow_allistrue)add_burnable(itemstring, burn_amount)Adds the given itemstring to the burnable list with burn_amount, that is, this item will provide this burn_amount to the progress of an item when placed in the burn area.is_invalid(itemstring)Returnstrueif the item is invalid,falseotherwise.is_valid(itemstring)Returnstrueif the item is valid,falseotherwise.is_burnable(itemstring)Returns burn_amount if item is in the burnable list, 0 otherwise.
See example.lua for examples of using these calls.
Added support for some mod items (not all) via the extended folder and in the settings.lua file (at line 102, subject to change).
- minetest_game
- technic
- drawers
- schemedit
- moreblocks
- laptop
- moreores
- airtanks
A Item Generator (fsg:gen) consumes "junk" items to produce other items. (Depending the items to be burned up, it may be significantly faster than a Item Factory, but the Factory can run indefinitly)
Where as a Item Factory (fsg:gen2) simply requires a product and gets to work producing items. (This also means an Item Factory doesn't have the big area for burning items, instead it goes at a constant rate)
- Simply stick your Item Generator into the furnace with plenty of fuel for the furnace.
- Wait 5 minutes till you get your Item Factory from the furnace. (With coal lumps and a furnace, it took 8 coal to produce 1 Factory)
There are 2 ways:
Crafting:
- Simply stick your Item Factory into any slot on the crafting grid (9x9) and get your Item Generator back.
Furnace:
- Stick your Item Factory back into the furnace to return it to a Item Generator. (About 1 second is needed to "cook" it down)