Add more items
@ -1,6 +1,6 @@
|
||||
minetest.register_craftitem("electronics:light_bulb_incandescent", {
|
||||
description = "Incandescent Light Bulb",
|
||||
inventory_image = "electronics_light_bulb_incandescent.png",
|
||||
inventory_image = "electronics_light_bulb_incandescent_white.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("electronics:led_red", {
|
||||
@ -22,11 +22,38 @@ minetest.register_craftitem("electronics:wire_copper", {
|
||||
description = "Copper Wire",
|
||||
inventory_image = "electronics_copper_wire.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("electronics:wire_copper_insulated", {
|
||||
description = "Insulated Copper Wire",
|
||||
inventory_image = "electronics_copper_wire_insulated.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("electronics:fuse_glass", {
|
||||
description = "Glass Fuse",
|
||||
inventory_image = "electronics_fuse_glass.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("electronics:fuse_ceramic", {
|
||||
description = "Ceramic Fuse",
|
||||
inventory_image = "electronics_fuse_ceramic.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("electronics:battery_li_ion_aa", {
|
||||
description = "AA Battery",
|
||||
inventory_image = "electronics_battery_li_ion_aa.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("electronics:battery_li_ion_aaa", {
|
||||
description = "AAA Battery",
|
||||
inventory_image = "electronics_battery_li_ion_aaa.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("electronics:resistor", {
|
||||
description = "Resistor",
|
||||
inventory_image = "electronics_resistor.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("electronics:motor_dc", {
|
||||
description = "DC Motor",
|
||||
inventory_image = "electronics_motor_dc.png",
|
||||
})
|
||||
|
4
init.lua
Normal file
@ -0,0 +1,4 @@
|
||||
local modpath = minetest.get_modpath("electronics")
|
||||
|
||||
dofile(modpath .. "/craftitems.lua")
|
||||
dofile(modpath .. "/tools.lua")
|
BIN
textures/electronics_battery_li_ion_aa.png
Normal file
After Width: | Height: | Size: 459 B |
BIN
textures/electronics_battery_li_ion_aaa.png
Normal file
After Width: | Height: | Size: 493 B |
BIN
textures/electronics_fuse_ceramic.png
Normal file
After Width: | Height: | Size: 503 B |
Before Width: | Height: | Size: 527 B After Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 311 B After Width: | Height: | Size: 309 B |
BIN
textures/electronics_light_bulb_incandescent_white.png
Normal file
After Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 415 B |
BIN
textures/electronics_motor_dc.png
Normal file
After Width: | Height: | Size: 292 B |
9
tools.lua
Normal file
@ -0,0 +1,9 @@
|
||||
minetest.register_tool("electronics:multimeter_analog", {
|
||||
description = "Analog Multimeter",
|
||||
inventory_image = "electronics_multimeter_analog.png",
|
||||
})
|
||||
|
||||
minetest.register_tool("electronics:multimeter_digital", {
|
||||
description = "Digital Multimeter",
|
||||
inventory_image = "electronics_multimeter_digital.png",
|
||||
})
|