Power: Add fuel-fired generator
Textures by @XtremeHacker Non-functional.
This commit is contained in:
parent
cad8033e34
commit
45f28d18cf
26
modules/power/gen.lua
Normal file
26
modules/power/gen.lua
Normal 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",
|
||||
})
|
@ -3,3 +3,7 @@
|
||||
local path = microexpansion.get_module_path("power")
|
||||
|
||||
-- Power generators, wires, etc...
|
||||
|
||||
-- Load Resources
|
||||
|
||||
dofile(path.."/gen.lua") -- Generators
|
||||
|
BIN
textures/microexpansion_fuelgen_front.png
Normal file
BIN
textures/microexpansion_fuelgen_front.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 339 B |
BIN
textures/microexpansion_fuelgen_sides.png
Normal file
BIN
textures/microexpansion_fuelgen_sides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 272 B |
Loading…
Reference in New Issue
Block a user