mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Added prototype to ExpGamingCore.Role
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
Role.add_flag('is_default') -- this must be included in atleast one role
|
||||
Role.add_flag('is_root',function(player,state) player.character.destructible = not state end)
|
||||
Role.add_flag('is_admin',function(player,state) player.admin = state end)
|
||||
Role.add_flag('is_spectator',function(player,state) player.spectator = state end)
|
||||
Role.add_flag('is_jail',function(player,state) player.character.active = not state end)
|
||||
|
||||
Role{
|
||||
name='Root',
|
||||
short_hand='Root',
|
||||
tag='[Root]',
|
||||
group='Root',
|
||||
colour={r=255,b=255,g=255},
|
||||
is_root=true,
|
||||
is_admin=true,
|
||||
is_spectator=true,
|
||||
base_afk_time=false
|
||||
allow={}
|
||||
}
|
||||
|
||||
Role.order = {
|
||||
'Root'
|
||||
}
|
||||
Reference in New Issue
Block a user