mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Merge pull request #10201 from Birdtalon/self-playtime
Adds a verb to check one's own playtime.
This commit is contained in:
@@ -37,6 +37,18 @@ var/global/list/role_playtime_requirements = list(
|
||||
ROLE_ABDUCTOR = 10,
|
||||
)
|
||||
|
||||
// Client Verbs
|
||||
|
||||
/client/verb/cmd_check_own_playtime()
|
||||
set category = "Special Verbs"
|
||||
set name = "Check my playtime"
|
||||
|
||||
if(!config.use_exp_restrictions)
|
||||
to_chat(src, "<span class='warning'>Playtime tracking is not enabled.</span>")
|
||||
return
|
||||
|
||||
to_chat(src, "<span class='notice>Your playtime is [get_exp_living()].</span>")
|
||||
|
||||
// Admin Verbs
|
||||
|
||||
/client/proc/cmd_mentor_check_player_exp() //Allows admins to determine who the newer players are.
|
||||
|
||||
Reference in New Issue
Block a user