mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-06 02:20:24 +01:00
23 lines
481 B
Lua
Executable File
23 lines
481 B
Lua
Executable File
------------------
|
|
-- Wizard class --
|
|
------------------
|
|
|
|
--
|
|
-- No Issue Yet
|
|
--
|
|
|
|
pclasses.api.register_class("wizard", {
|
|
on_assigned = function(pname)
|
|
-- minetest.sound_play("pclasses_full_wizard")
|
|
minetest.chat_send_player(pname, "You are now a wizard.")
|
|
-- Add specs here
|
|
minetest.log("action", "[PClasses] Player " .. pname .. " becomes a wizard")
|
|
end,
|
|
switch_params = {
|
|
color = {r = 230, g = 230, b = 0},
|
|
holo_item = "default:book"
|
|
}
|
|
})
|
|
|
|
-- Reserved items here
|