mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-18 08:10:38 +01:00
2cd80bccf1
- Refers to #216
15 lines
291 B
Lua
Executable File
15 lines
291 B
Lua
Executable File
-----------------------------
|
|
-- Boilerplate class
|
|
--
|
|
|
|
pclasses.api.register_class("adventurer", {
|
|
switch_params = {
|
|
color = { r = 142, g = 64, b = 00},
|
|
tile = "wool_white.png",
|
|
},
|
|
on_assigned = function(pname)
|
|
minetest.chat_send_player(pname, "You are now an adventurer")
|
|
end
|
|
})
|
|
|