mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-19 16:50:31 +01:00
22efc57bf1
- Added plate template for runes - Added on_punch API's handler's function - Added popper rune
59 lines
1.2 KiB
Lua
59 lines
1.2 KiB
Lua
-- Rune definitions : registration.lua
|
|
|
|
runes.datas.items = {
|
|
["project"] = {
|
|
description = "Projection rune",
|
|
img = "default_dirt.png",
|
|
type = "craftitem",
|
|
needed_mana = 30
|
|
},
|
|
["damager"] = {
|
|
description = "Damaging rune",
|
|
img = "default_lava.png",
|
|
type = "craftitem",
|
|
needed_mana = 190
|
|
},
|
|
["earthquake"] = {
|
|
description = "Earth Quake rune",
|
|
img = "default_apple.png",
|
|
type = "craftitem",
|
|
needed_mana = 80
|
|
},
|
|
["simple_heal"] = {
|
|
description = "Simple healing rune",
|
|
img = "default_water.png",
|
|
type = "cube"
|
|
},
|
|
["improved_heal"] = {
|
|
description = "Improved healing rune",
|
|
img = "default_acid.png",
|
|
type = "cube"
|
|
},
|
|
["perfect_heal"] = {
|
|
description = "Perfect healing rune",
|
|
img = "default_lava.png",
|
|
type = "cube"
|
|
},
|
|
["gotome"] = {
|
|
description = "Go to me rune",
|
|
img = "default_wood.png",
|
|
type = "cube"
|
|
},
|
|
["megamana"] = {
|
|
description = "Mega Mana",
|
|
img = "default_diamond.png",
|
|
type = "craftitem"
|
|
},
|
|
["popper"] = {
|
|
description = "Popper",
|
|
img = "default_grass.png",
|
|
type = "plate"
|
|
},
|
|
}
|
|
|
|
for key, value in pairs(runes.datas.items) do
|
|
local runereg = table.copy(value)
|
|
runereg.name = key
|
|
runes.functions.register_rune(runereg)
|
|
end
|