[MIRROR] Feedback: splits the stats for account age and job exp related job preference denials (#28785)

* Feedback: splits the stats for account age and job exp related job preference denials (#84854)

* Feedback: splits the stats for account age and job exp related job preference denials

---------

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
This commit is contained in:
SkyratBot
2024-07-12 09:35:53 +05:30
committed by GitHub
co-authored by Kyle Spier-Swenson
parent 5f7a1fa550
commit 0db1b9fc85
+3 -1
View File
@@ -634,6 +634,7 @@ SUBSYSTEM_DEF(job)
var/never = 0 //never
var/banned = 0 //banned
var/young = 0 //account too young
var/newbie = 0 //exp too low
for(var/i in GLOB.new_player_list)
var/mob/dead/new_player/player = i
if(!(player.ready == PLAYER_READY_TO_PLAY && player.mind && is_unassigned_job(player.mind.assigned_role)))
@@ -645,7 +646,7 @@ SUBSYSTEM_DEF(job)
young++
continue
if(job.required_playtime_remaining(player.client))
young++
newbie++
continue
switch(player.client.prefs.job_preferences[job.title])
if(JP_HIGH)
@@ -662,6 +663,7 @@ SUBSYSTEM_DEF(job)
SSblackbox.record_feedback("nested tally", "job_preferences", never, list("[job.title]", "never"))
SSblackbox.record_feedback("nested tally", "job_preferences", banned, list("[job.title]", "banned"))
SSblackbox.record_feedback("nested tally", "job_preferences", young, list("[job.title]", "young"))
SSblackbox.record_feedback("nested tally", "job_preferences", newbie, list("[job.title]", "newbie"))
/datum/controller/subsystem/job/proc/PopcapReached()
var/hpc = CONFIG_GET(number/hard_popcap)