mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-26 02:30:38 +01:00
12 lines
256 B
Lua
12 lines
256 B
Lua
|
-----------------------------
|
||
|
-- Default class assignment
|
||
|
--
|
||
|
|
||
|
pclasses.api.register_class("adventurer", {
|
||
|
determination = function() return true end,
|
||
|
on_assigned = function(pname)
|
||
|
minetest.chat_send_player(pname, "You are now an adventurer")
|
||
|
end
|
||
|
})
|
||
|
|