mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-17 23:20:23 +02:00
[pclasses] Remove active detection, introduce class switch orbs
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
-----------------------------
|
||||
-- Default class assignment
|
||||
-- Boilerplate class
|
||||
--
|
||||
|
||||
pclasses.api.register_class("adventurer", {
|
||||
determination = function() return true end,
|
||||
orb_color = { r = 255, g = 200, b = 200 },
|
||||
on_assigned = function(pname)
|
||||
minetest.chat_send_player(pname, "You are now an adventurer")
|
||||
minetest.chat_send_player(pname, "You are now an adventurer")
|
||||
end
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user