1
0
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:
Wouters Dorian
2015-07-31 21:47:55 +02:00
parent fbfc43fc63
commit 9e359f7fcd
12 changed files with 58 additions and 128 deletions

View File

@ -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
})