mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-05 18:10:26 +01:00
0754d7a5aa
- Tweaked sprint bar in order to change its maximum value according to the one defined for each player - Reorganized pclasses into multiple files (api, init, one for each class). Next thing to do : document/simplify api
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
|
|
})
|
|
|