Power: Add fuel-fired generator

Textures by @XtremeHacker
Non-functional.
This commit is contained in:
octacian 2017-02-24 14:32:58 -08:00
parent cad8033e34
commit 45f28d18cf
4 changed files with 30 additions and 0 deletions

26
modules/power/gen.lua Normal file
View File

@ -0,0 +1,26 @@
-- power/gen.lua
local me = microexpansion
-- [register node] Fuel Fired Generator
me.register_node("fuel_fired_generator", {
description = "Fuel-Fired Generator",
tiles = {
"fuelgen_sides",
"fuelgen_sides",
"fuelgen_sides",
"fuelgen_sides",
"fuelgen_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",
})

View File

@ -3,3 +3,7 @@
local path = microexpansion.get_module_path("power") local path = microexpansion.get_module_path("power")
-- Power generators, wires, etc... -- Power generators, wires, etc...
-- Load Resources
dofile(path.."/gen.lua") -- Generators

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B