mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-05 18:10:29 +01:00
ee5c6c23fa
An electrical network now requires a switching station to work. This statin is the one resolving the network collecting power and distributing it again. Added up/down converter. It is kind of finished. It can be updated with a slot for an upgrade but so far it works without by resolving the types of wires above and below the box. Tool and machine registering changed to use a table with key+value instead of the iterative method it used to have. The power radiator changed to be able to send up to 3000MV EUs in a radius of 6. This update will most likely require existing networks to be dug up and placed again. Also the switching station must be added.
56 lines
1.7 KiB
Lua
56 lines
1.7 KiB
Lua
technic.register_grinder_recipe("gloopores:alatro_lump","technic:alatro_dust 2")
|
||
technic.register_grinder_recipe("gloopores:kalite_lump","technic:kalite_dust 2")
|
||
technic.register_grinder_recipe("gloopores:arol_lump","technic:arol_dust 2")
|
||
technic.register_grinder_recipe("gloopores:talinite_lump","technic:talinite_dust 2")
|
||
technic.register_grinder_recipe("gloopores:akalin_lump","technic:akalin_dust 2")
|
||
|
||
minetest.register_craftitem("technic:alatro_dust", {
|
||
description = "Alatro Dust",
|
||
inventory_image = "technic_alatro_dust.png",
|
||
})
|
||
|
||
minetest.register_craft({
|
||
type = "cooking",
|
||
output = "gloopores:alatro_ingot",
|
||
recipe = "technic:alatro_dust",
|
||
})
|
||
|
||
minetest.register_craftitem("technicplus:arol_dust", {
|
||
description = "Arol Dust",
|
||
inventory_image = "technic_arol_dust.png",
|
||
})
|
||
|
||
minetest.register_craft({
|
||
type = "cooking",
|
||
output = "gloopores:arol_ingot",
|
||
recipe = "technic:arol_dust",
|
||
})
|
||
|
||
minetest.register_craftitem("technic:talinite_dust", {
|
||
description = "Talinite Dust",
|
||
inventory_image = "technic_talinite_dust.png",
|
||
})
|
||
|
||
minetest.register_craft({
|
||
type = "cooking",
|
||
output = "gloopores:talinite_ingot",
|
||
recipe = "technic:talinite_dust",
|
||
})
|
||
|
||
minetest.register_craftitem("technic:akalin_dust", {
|
||
description = "Akalin Dust",
|
||
inventory_image = "technic_akalin_dust.png",
|
||
})
|
||
|
||
minetest.register_craft({
|
||
type = "cooking",
|
||
output = "gloopores:akalin_ingot",
|
||
recipe = "technic:akalin_dust",
|
||
})
|
||
|
||
minetest.register_craftitem("technic:kalite_dust", {
|
||
description = "Kalite Dust",
|
||
inventory_image = "technic_kalite_dust.png",
|
||
on_use = minetest.item_eat(2)
|
||
})
|