Bug inv size

master
MasterGollum 2012-10-29 11:34:53 +01:00
parent 87d758cc0d
commit fbf03894fd
2 changed files with 40 additions and 5 deletions

View File

@ -3,12 +3,47 @@ by Master Gollum
Introduction:
This MOD adds a new kind of crafts (smelting) with a grid
of 2x2 intended for allow to smelt materials, for example
to create alloys.
This MOD introduces a new kind of Furnace called Smelter.
It is intended for provide a mean for smelt materials, for
example to create alloys in a more realistic way.
This MOD adds also a new kind of crafts (smelting) with a
2x2 grid.
The first release transform iron_ore in iron_ingot also
iron_ingot + coal_lump in steel_ingot
iron_ingot + coal_lump in steel_ingot as example of
uses.
CRAFT for a Smelter
[cobble] [cobble] [cobble]
[cobble] [furnace] [cobble]
[cobble] [cobble] [cobble]
For developers:
Anyone that intends to define a new smelting they MUST
be registered with the crafter MOD.
crafter.register_craft({
type = "smelting",
output = "smelter:iron_ingot",
recipe = {
{"default:iron_lump"}
}
})
crafter.register_craft({
type = "smelting",
output = "default:steel_ingot",
recipe = {
{"smelter:iron_ingot"},
{"default:coal_lump"}
}
})
Depends
default
crafter
Release Notes

View File

@ -154,7 +154,7 @@ minetest.register_abm({
local srclist = inv:get_list("src")
if srclist then
cooked = crafter.get_craft_result({method = "smelting", width = 1, items = srclist})
cooked = crafter.get_craft_result({method = "smelting", width = 2, items = srclist})
end
if fuellist then
fuel = minetest.get_craft_result({method = "fuel", width = 1, items = fuellist})