1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 22:26:08 +02:00

Add tile image in class switches' parameters and tweak colors

- Refers to #216
This commit is contained in:
LeMagnesium
2015-08-17 10:53:13 +02:00
parent 26fae174b1
commit 2cd80bccf1
6 changed files with 22 additions and 9 deletions

View File

@ -10,7 +10,9 @@ pclasses.api.register_class("admin", {
on_assigned = function(pname)
minetest.chat_send_player(pname, "Hello admin.")
end,
switch_color = {r = 255, g = 00, b = 224}
switch_params = {
color = {r = 255, g = 00, b = 224}
}
})
pclasses.api.reserve_item("admin", "3d_armor:helmet_admin")