[Mod] Smelter [0.1] [smelter]
- MasterGollum
- Member
- Posts: 79
- Joined: Thu Sep 27, 2012 14:48
[Mod] Smelter [0.1] [smelter]
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 as example of uses.
CRAFT for a Smelter
[clay brick] [clay brick] [clay brick]
[clay brick] [] [clay brick]
[clay brick] [clay brick] [clay brick]
For developers:
Anyone that intends to define a new smelting they MUST be registered with the crafter MOD.
Examples:
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"}
}
})
Images:
License: WTFPL.
Depends: default, crafter (http://minetest.net/forum/viewtopic.php?pid=48534)
Download: https://github.com/MasterGollum/smelter/zipball/master
Releases:
Version 0.1 Initial release
The first release transform iron_ore in iron_ingot also iron_ingot + coal_lump in steel_ingot as example of uses.
CRAFT for a Smelter
[clay brick] [clay brick] [clay brick]
[clay brick] [] [clay brick]
[clay brick] [clay brick] [clay brick]
For developers:
Anyone that intends to define a new smelting they MUST be registered with the crafter MOD.
Examples:
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"}
}
})
Images:
License: WTFPL.
Depends: default, crafter (http://minetest.net/forum/viewtopic.php?pid=48534)
Download: https://github.com/MasterGollum/smelter/zipball/master
Releases:
Version 0.1 Initial release
Last edited by MasterGollum on Mon Oct 29, 2012 11:33, edited 1 time in total.
- MasterGollum
- Member
- Posts: 79
- Joined: Thu Sep 27, 2012 14:48
Umm can be, I'm not sure if ancient smelters were done with bricks. There are several civilizations that worked with metals but they didn't use bricks (well as long as I know, maybe is required further investigation). I did it with cobbles because the furnace is also done with cobbles. It is like a reinforced furnacePilzAdam wrote:Maybe you can use bricks to craft it? It would be a bit more realistic.
The node sucks a little but a smelter looks like a stone cylinder with a hole
http://www.ehow.com/how_4856726_build-m ... elter.html
In our case, a cube "holed"
- MasterGollum
- Member
- Posts: 79
- Joined: Thu Sep 27, 2012 14:48
- MasterGollum
- Member
- Posts: 79
- Joined: Thu Sep 27, 2012 14:48
I thought twice and I changed the recipe as you suggested, also because it adds complexity to the building of a smelter. Otherwise it is too easy to create steel from the game.PilzAdam wrote:I also thought about that but I think its not possible.MasterGollum wrote:btw is it possible to unregister a craft? For example to remove the iron lump -> steel ingot to force to use the smelter
It is a shame, so the only way is to provide a default/init.lua patched?
Last edited by MasterGollum on Mon Oct 29, 2012 11:36, edited 1 time in total.
- GloopMaster
- Member
- Posts: 213
- Joined: Wed Aug 01, 2012 18:03
- Location: http://minetest.net/forum/
- MasterGollum
- Member
- Posts: 79
- Joined: Thu Sep 27, 2012 14:48
Oh do you mean this?GloopMaster wrote:Um... Yeah.
Also, make this use technic alloy furnace recipes as well (detect technic then the recipes) and you will be god.
http://technicpack.wikia.com/wiki/Alloy_Furnace
Lol I didn't know it existed!
Well I was planning to do a release of moreores for the Smelter, where the alloys must be crafted using this item. BTW looking at the recipe and image I will change my recipe and the textures Maybe I can do 2 versions of the Smelter one simple done as the original recipe I did that doesn't reach a high temperature, and then a more advanced crafted with the bricks that allows to smelt anything inside.
Last edited by MasterGollum on Mon Oct 29, 2012 14:25, edited 1 time in total.
- GloopMaster
- Member
- Posts: 213
- Joined: Wed Aug 01, 2012 18:03
- Location: http://minetest.net/forum/
- MasterGollum
- Member
- Posts: 79
- Joined: Thu Sep 27, 2012 14:48
Oh ok, never used it I'm more old fashioned, it looked... well too technic to me. It will require another version of the technic Mod changing the recipes for use the Smelter. I already did it with moreores, and added zinc, lead and brass. After test it I will upload here the link.GloopMaster wrote:No, i mean technic mod for minetest. If you havent been living under a rock, you should know what it is.
- GloopMaster
- Member
- Posts: 213
- Joined: Wed Aug 01, 2012 18:03
- Location: http://minetest.net/forum/
- GloopMaster
- Member
- Posts: 213
- Joined: Wed Aug 01, 2012 18:03
- Location: http://minetest.net/forum/
- RealBadAngel
- Member
- Posts: 557
- Joined: Wed Jul 18, 2012 16:30
- Dan Duncombe
- Member
- Posts: 904
- Joined: Thu May 09, 2013 21:11
- Location: In the unknown depths of Earth
Does it cook faster than a regular furnace? if so, how?
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
My Games: Nostalgia Realtest Revamped
Servers: See above games.
- MasterGollum
- Member
- Posts: 79
- Joined: Thu Sep 27, 2012 14:48
- MasterGollum
- Member
- Posts: 79
- Joined: Thu Sep 27, 2012 14:48
- SegFault22
- Member
- Posts: 872
- Joined: Mon May 21, 2012 03:17
- Location: NaN
Is it intentional that the smelter does not consume fuel?
If not, you can fix it easily by taking this code from the end of the ABM:
And replacing it with this code:
Other than that, this mod is awesome. It should be added to minetest_game ASAP.
If not, you can fix it easily by taking this code from the end of the ABM:
Code: Select all
meta:set_string("fuel_totaltime", fuel.time)
meta:set_string("fuel_time", 0)
if consume then
local stack = inv:get_stack("fuel", 1)
stack:take_item()
inv:set_stack("fuel", 1, stack)
end
Code: Select all
meta:set_string("fuel_totaltime", fuel.time)
meta:set_string("fuel_time", 0)
inv:set_stack("fuel", 1, cooked.item[1])
Last edited by SegFault22 on Sun Nov 17, 2013 00:46, edited 1 time in total.
"All we need it the right major crisis and the nations will accept the new world order."
- durtective6
- Member
- Posts: 186
- Joined: Sun Aug 12, 2012 14:19
- In-game: derplez or BlockFrog
- Location: a shed in the desert
uh when i try and put things to smelt in the top right corner slot it gives this error
16:19:25: ERROR[main]: ServerError: LuaError: ...8-win32-msvc\minetest-0.4.8\bin\..\mods\crafter\init.lua:91: attempt to index a nil value
16:19:25: ERROR[main]: stack traceback:
16:19:25: ERROR[main]: ...8-win32-msvc\minetest-0.4.8\bin\..\mods\crafter\init.lua:91: in function '_check_craft'
16:19:25: ERROR[main]: ...8-win32-msvc\minetest-0.4.8\bin\..\mods\crafter\init.lua:26: in function 'get_craft_result'
16:19:25: ERROR[main]: ...8-win32-msvc\minetest-0.4.8\bin\..\mods\smelter\init.lua in function <...8-win32-msvc\minetest-0.4.8\bin\..\mods\smelter\init.lua:81>
EDIT: that world i used it in can no longer be used as it crashes upon loading, giving the same error
16:19:25: ERROR[main]: ServerError: LuaError: ...8-win32-msvc\minetest-0.4.8\bin\..\mods\crafter\init.lua:91: attempt to index a nil value
16:19:25: ERROR[main]: stack traceback:
16:19:25: ERROR[main]: ...8-win32-msvc\minetest-0.4.8\bin\..\mods\crafter\init.lua:91: in function '_check_craft'
16:19:25: ERROR[main]: ...8-win32-msvc\minetest-0.4.8\bin\..\mods\crafter\init.lua:26: in function 'get_craft_result'
16:19:25: ERROR[main]: ...8-win32-msvc\minetest-0.4.8\bin\..\mods\smelter\init.lua in function <...8-win32-msvc\minetest-0.4.8\bin\..\mods\smelter\init.lua:81>
EDIT: that world i used it in can no longer be used as it crashes upon loading, giving the same error
Last edited by durtective6 on Thu Dec 12, 2013 16:22, edited 1 time in total.
I'm still here, last time I checked at least.
- Christian9
- Member
- Posts: 338
- Joined: Fri Sep 19, 2014 20:29
- In-game: Christian9
- Location: Hell Creek
Re: [Mod] Smelter [0.1] [smelter]
is there a way to edit this to add a new crafting method? im trying to add "extraction" for my dinosaur mod but it doesnt work it keeps saying hacky_swap_node a nil value ive tried removeing hacky_ but it wont work
Who is online
Users browsing this forum: Google [Bot] and 18 guests