Add screenshot, more items, craftin recipes
This commit is contained in:
parent
4d9cd7163f
commit
c6fc12e651
@ -64,3 +64,8 @@ minetest.register_craftitem("electronics:transformer", {
|
||||
description = "Transformer",
|
||||
inventory_image = "electronics_transformer.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("electronics:circuitboard_multimeter_digital", {
|
||||
description = "Digital Multimeter Circuit Board",
|
||||
inventory_image = "electronics_circuitboard_multimeter_digital.png",
|
||||
})
|
||||
|
58
crafts.lua
Normal file
58
crafts.lua
Normal file
@ -0,0 +1,58 @@
|
||||
minetest.register_craft({
|
||||
output = "electronics:fuse_glass 32",
|
||||
recipe = {
|
||||
{"", "", ""},
|
||||
{"default:steel_ingot", "default:glass", "default:steel_ingot"},
|
||||
{"", "", ""},
|
||||
},
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "electronics:wire_copper 16",
|
||||
recipe = {
|
||||
{"", "default:copper_ingot", ""},
|
||||
{"", "default:copper_ingot", ""},
|
||||
{"", "", ""},
|
||||
},
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "electronics:wire_copper_insulated",
|
||||
recipe = {
|
||||
{"", "farming:cotton", ""},
|
||||
{"", "electronics:wire_copper", ""},
|
||||
{"", "", ""},
|
||||
},
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "electronics:light_bulb_incandescent_white 4",
|
||||
recipe = {
|
||||
{"", "default:glass", ""},
|
||||
{"default:glass", "", "default:glass"},
|
||||
{"", "default:steel_ingot", ""},
|
||||
},
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "electronics:battery_li_ion_aa",
|
||||
recipe = {
|
||||
{"", "", ""},
|
||||
{"default:coal_lump", "default:steel_ingot", "default:steel_ingot"},
|
||||
{"", "", ""},
|
||||
},
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "electronics:coil_copper 2",
|
||||
recipe = {
|
||||
{"electronics:wire_copper", "electronics:wire_copper", "electronics:wire_copper"},
|
||||
{"electronics:wire_copper", "", "electronics:wire_copper"},
|
||||
{"", "", ""},
|
||||
}
|
||||
})
|
3
depends.lua
Normal file
3
depends.lua
Normal file
@ -0,0 +1,3 @@
|
||||
default
|
||||
farming
|
||||
|
1
init.lua
1
init.lua
@ -2,3 +2,4 @@ local modpath = minetest.get_modpath("electronics")
|
||||
|
||||
dofile(modpath .. "/craftitems.lua")
|
||||
dofile(modpath .. "/tools.lua")
|
||||
dofile(modpath .. "/crafts.lua")
|
||||
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
textures/electronics_circuitboard_multimeter_digital.png
Normal file
BIN
textures/electronics_circuitboard_multimeter_digital.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 355 B |
Loading…
x
Reference in New Issue
Block a user