1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-26 02:30:38 +01:00
server-nalc/mods/pclasses/adventurer.lua

20 lines
406 B
Lua
Raw Normal View History

-----------------------------
-- Boilerplate class
--
pclasses.api.register_class("adventurer", {
switch_params = {
color = { r = 142, g = 64, b = 00},
tile = "wool_white.png",
holo_item = "unified_inventory:bag_large"
},
on_assigned = function(pname, inform)
if inform then
minetest.chat_send_player(pname, "You are now an adventurer")
end
end,
on_unassigned = function(pname)
end
})