summaryrefslogtreecommitdiff
path: root/technic/machines/LV/generator.lua
blob: dc9815f0639e285a5c822fc8ae6cc2138372ca15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-- The electric generator.
-- A simple device to get started on the electric machines.
-- Inefficient and expensive in fuel (200EU per tick)
-- Also only allows for LV machinery to run.

minetest.register_alias("lv_generator", "technic:lv_generator")

minetest.register_craft({
	output = 'technic:lv_generator',
	recipe = {
		{'default:stone', 'default:furnace',        'default:stone'},
		{'default:stone', 'technic:machine_casing', 'default:stone'},
		{'default:stone', 'technic:lv_cable',       'default:stone'},
	}
})

technic.register_generator({tier="LV", supply=200})