- Now a function that actually creates the relative average is used - A new hud has been added to show the energy level of items hold in the players hand
18 lines
424 B
Lua
18 lines
424 B
Lua
minetest.register_node(minetest.get_current_modname() ..":capacitor", {
|
|
description = "Capacitor",
|
|
tiles = {
|
|
"capacitor_top.png",
|
|
"capacitor_top.png",
|
|
"capacitor_side.png",
|
|
"capacitor_side.png",
|
|
"capacitor_side.png",
|
|
"capacitor_side.png"
|
|
},
|
|
groups = {
|
|
sparktech_techy = 3,
|
|
sparktech_energy_conductor = 3,
|
|
sparktech_energy_storeonbreak = 1,
|
|
sparktech_energy_max = 40000
|
|
}
|
|
})
|