Make craftrecipes of digiline stuff in another mod (for submodules).
This commit is contained in:
parent
261c45ff34
commit
3330339e1c
@ -115,12 +115,3 @@ end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'digilines:wire_std_00000000',
|
||||
recipe = {
|
||||
{'technic:rubber', 'mesecons:mesecon', 'technic:rubber'},
|
||||
{'mesecons:mesecon', 'technic:rubber', 'mesecons:mesecon'},
|
||||
{'technic:rubber', 'mesecons:mesecon', 'technic:rubber'},
|
||||
}
|
||||
})
|
||||
|
@ -232,10 +232,3 @@ generate_line = function(s, ypos)
|
||||
end
|
||||
return texture
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'digilines_lcd:lcd',
|
||||
recipe = {
|
||||
{'digilines:wire_std_00000000', 'mesecons_materials:silicon', 'digilines:wire_std_00000000'},
|
||||
}
|
||||
})
|
||||
|
@ -55,10 +55,3 @@ minetest.register_node("digilines_lightsensor:lightsensor", {
|
||||
meta:set_string("channel", fields.channel)
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'digilines_lightsensor:lightsensor',
|
||||
recipe = {
|
||||
{'digilines:wire_std_00000000', 'technic:brass_ingot', 'digilines:wire_std_00000000'},
|
||||
}
|
||||
})
|
||||
|
@ -51,10 +51,3 @@ minetest.register_node("digilines_rtc:rtc", {
|
||||
meta:set_string("channel", fields.channel)
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'digilines_lcd:lcd',
|
||||
recipe = {
|
||||
{'digilines:wire_std_00000000', 'default:bronze_ingot', 'digilines:wire_std_00000000'},
|
||||
}
|
||||
})
|
||||
|
33
mods/digilines_craftrecipes/init.lua
Normal file
33
mods/digilines_craftrecipes/init.lua
Normal file
@ -0,0 +1,33 @@
|
||||
minetest.register_craft({
|
||||
output = 'digilines:wire_std_00000000',
|
||||
recipe = {
|
||||
{'technic:rubber', 'mesecons:mesecon', 'technic:rubber'},
|
||||
{'mesecons:mesecon', 'technic:rubber', 'mesecons:mesecon'},
|
||||
{'technic:rubber', 'mesecons:mesecon', 'technic:rubber'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'digilines_lcd:lcd',
|
||||
recipe = {
|
||||
{'digilines:wire_std_00000000', 'mesecons_materials:silicon', 'digilines:wire_std_00000000'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'digilines_lightsensor:lightsensor',
|
||||
recipe = {
|
||||
{'digilines:wire_std_00000000', 'technic:brass_ingot', 'digilines:wire_std_00000000'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'digilines_lcd:lcd',
|
||||
recipe = {
|
||||
{'digilines:wire_std_00000000', 'default:bronze_ingot', 'digilines:wire_std_00000000'},
|
||||
}
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user