mega_generator/generator.lua
david 077b693886 Initalized Repo
Release 1.0.0
2021-04-27 17:13:37 -04:00

20 lines
609 B
Lua

minetest.register_alias("mega_generator", "mega_generator:mega_generator")
if mega_settings.allow_craft == true then
minetest.register_craft({
output = 'mega_generator:mega_generator',
recipe = {
{'technic:uranium_fuel', 'technic:uranium_fuel', 'technic:uranium_fuel'},
{'technic:uranium_fuel', 'technic:hv_nuclear_reactor_core', 'technic:uranium_fuel'},
{'technic:lv_transformer', 'technic:hv_transformer', 'technic:mv_transformer'},
}
})
end
tech.register_generator2({
supply_lv=mega_settings.supply_lv,
supply_mv=mega_settings.supply_mv,
supply_hv=mega_settings.supply_hv
})