microexpansion/modules/power/gen.lua
octacian 9cb4790f40 Power: Add geothermal generator
Texture by @XtremeHacker
Non-functional.
2017-02-24 22:09:48 -08:00

68 lines
1.5 KiB
Lua

-- power/gen.lua
local me = microexpansion
-- [register node] Fuel Fired Generator
me.register_node("fuel_fired_generator", {
description = "Fuel-Fired Generator",
tiles = {
"machine_sides",
"machine_sides",
"machine_sides",
"machine_sides",
"machine_sides",
"fuelgen_front",
},
recipe = {
"single",
{ 1,
{ "default:steel_ingot", "default:furnace", "default:steel_ingot" },
{"default:steel_ingot", "microexpansion:machine_casing", "default:steel_ingot" },
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" },
}
},
groups = { cracky = 1 },
paramtype2 = "facedir",
status = "no",
})
-- [register node] Super Smelter
me.register_node("super_smelter", {
description = "Super Smelter",
tiles = {
"machine_sides",
"machine_sides",
"machine_sides",
"machine_sides",
"machine_sides",
"super_smelter_front",
},
recipe = {
"single",
{ 1,
{ "default:furnace", "default:furnace", "default:furnace" },
{ "default:steel_ingot", "microexpansion:machine_casing", "default:steel_ingot" },
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" },
},
},
groups = { cracky = 1 },
paramtype2 = "facedir",
status = "no",
})
-- [register item] Geothermal Generator
me.register_node("geo_generator", {
description = "Geothermal Generator",
tiles = {
"machine_sides",
"machine_sides",
"machine_sides",
"machine_sides",
"machine_sides",
"geogen_front",
},
groups = { cracky = 1 },
paramtype2 = "facedir",
status = "no",
})