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

Edit colors of class switches

- Solves #216
This commit is contained in:
LeMagnesium
2015-08-16 15:28:15 +02:00
parent 195a0822a2
commit e281845f45
6 changed files with 7 additions and 4 deletions

View File

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

View File

@ -21,6 +21,7 @@ pclasses.api.register_class("hunter", {
on_unassigned = function(pname)
sprint.set_default_maxstamina(pname)
end,
switch_color = {r = 60, g = 75, b = 00}
})

View File

@ -16,6 +16,7 @@ pclasses.api.register_class("warrior", {
on_unassigned = function(pname)
sprint.set_default_maxstamina(pname)
end,
switch_color = {r = 00, g = 00, b = 114}
})
pclasses.api.reserve_item("warrior", "moreores:sword_mithril")