Skip to content

Commit

Permalink
[MIRROR] Feedback: splits the stats for account age and job exp relat…
Browse files Browse the repository at this point in the history
…ed job preference denials [MDB IGNORE] (#3703)

* 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 <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>
  • Loading branch information
3 people authored and StealsThePRs committed Jul 11, 2024
1 parent 7ee51a6 commit 94934a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/controllers/subsystem/job.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand All @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 94934a1

Please sign in to comment.