mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 12:16:37 +09:00
Changed Name Of Afk Time
This commit is contained in:
@@ -21,7 +21,7 @@ function Ranking.output_ranks(player)
|
||||
local admin = 'No'; if rank.is_root then admin = 'Root' elseif rank.is_admin then admin = 'Yes' end
|
||||
output=output..' Admin: '..admin
|
||||
output=output..' Group: '..rank.group.name
|
||||
output=output..' AFK: '..tostring(rank.max_afk_time)
|
||||
output=output..' AFK: '..tostring(rank.base_afk_time)
|
||||
player_return(output,rank.colour,player)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -109,7 +109,7 @@ root:add_rank{
|
||||
colour=defines.color.white,
|
||||
is_root=true,
|
||||
is_admin = true,
|
||||
max_afk_time=false
|
||||
base_afk_time=false
|
||||
}
|
||||
|
||||
admin:add_rank{
|
||||
@@ -119,7 +119,7 @@ admin:add_rank{
|
||||
colour={r=233,g=63,b=233},
|
||||
is_admin = true
|
||||
,
|
||||
max_afk_time=false
|
||||
base_afk_time=false
|
||||
}
|
||||
|
||||
user:add_rank{
|
||||
@@ -132,7 +132,7 @@ user:add_rank{
|
||||
'change_programmable_speaker_alert_parameters',
|
||||
'drop_item'
|
||||
},
|
||||
max_afk_time=60
|
||||
base_afk_time=60
|
||||
}
|
||||
user:add_rank{
|
||||
name='Guest',
|
||||
@@ -147,7 +147,7 @@ user:add_rank{
|
||||
'reset_assembling_machine',
|
||||
'cancel_research'
|
||||
},
|
||||
max_afk_time=10
|
||||
base_afk_time=10
|
||||
}
|
||||
|
||||
jail:add_rank{
|
||||
@@ -156,7 +156,7 @@ jail:add_rank{
|
||||
tag='[Jail]',
|
||||
colour={r=50,g=50,b=50},
|
||||
disallow={},
|
||||
max_afk_time=false
|
||||
base_afk_time=false
|
||||
}
|
||||
|
||||
function Ranking._auto_edit_ranks()
|
||||
|
||||
Reference in New Issue
Block a user