Merge pull request #10201 from Birdtalon/self-playtime

Adds a verb to check one's own playtime.
This commit is contained in:
variableundefined
2018-11-12 18:14:02 +08:00
committed by GitHub
+12
View File
@@ -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.