Valentin Anger 965aeaa868 Improve energy balancing and add a new hud
- 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
2017-01-13 20:22:16 +01:00

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
}
})