1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-15 23:10:31 +01:00
server-nalc/mods/pclasses/adventurer.lua
crabman77 482329bf1d fix pclasse assign now others class on join server, no only the default
fix pclasse assign now if class is same, bug on join server
add on_unassigned for all class
2015-12-24 20:36:17 +01:00

18 lines
374 B
Lua
Executable File

-----------------------------
-- Boilerplate class
--
pclasses.api.register_class("adventurer", {
switch_params = {
color = { r = 142, g = 64, b = 00},
tile = "wool_white.png",
holo_item = "unified_inventory:bag_large"
},
on_assigned = function(pname)
minetest.chat_send_player(pname, "You are now an adventurer")
end,
on_unassigned = function(pname)
end
})