1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-29 12:10:34 +01:00
server-nalc/mods/runes/registration.lua
LeMagnesium 333c57bbeb
[runes] Remove popper rune and add prankster glyph
- Remove that useless call to `minetest.register_on_globalstep` in mods/runes/handlers.lua, and with it the popper rune, to replace it by a glyph
 - For #179
2016-08-09 20:26:09 +02:00

65 lines
1.2 KiB
Lua
Executable File

-- Rune definitions : registration.lua
runes.datas.items = {
["project"] = {
description = "Projection rune",
img = "runes_projection",
type = "craftitem",
needed_mana = {
["minor"] = 15,
["medium"] = 30,
["major"] = 45,
},
},
["damager"] = {
description = "Damaging rune",
img = "runes_damaging",
type = "craftitem",
needed_mana = {
["minor"] = 180,
["medium"] = 190,
["major"] = 230
}
},
["earthquake"] = {
description = "Earth Quake rune",
img = "runes_earthquake",
type = "craftitem",
needed_mana = {
["minor"] = 70,
["medium"] = 80,
["major"] = 90
}
},
["heal"] = {
description = "Healing rune",
img = "runes_heal",
type = "cube"
},
["gotome"] = {
description = "Go to me rune",
img = "runes_go_to_me",
type = "cube",
needed_mana = {
["minor"] = 40,
["medium"] = 50,
["major"] = 75
}
},
["megamana"] = {
description = "Mega Mana",
img = {
["minor"] = "default_diamond.png",
["medium"] = "default_diamond.png",
["major"] = "default_diamond.png"
},
type = "craftitem"
},
}
for key, value in pairs(runes.datas.items) do
local runereg = table.copy(value)
runereg.name = key
runes.functions.register_rune(runereg)
end