More hud icon stuff

This commit is contained in:
Heroman
2021-07-04 10:48:59 +10:00
parent 79c4c27787
commit ad8e911c34
4 changed files with 17 additions and 9 deletions
+15 -3
View File
@@ -492,6 +492,18 @@ var/global/list/remainless_species = list(SPECIES_PROMETHEAN,
SPECIES_GOLEM, //Some special species that may or may not be ever used in event too,
SPECIES_SHADEKIN) //Shadefluffers just poof away
/var/global/list/alt_titles_with_icons = list(
"Virologist",
"Apprentice Engineer",
"Medical Intern",
"Research Intern",
"Security Cadet",
"Jr. Cargo Tech",
"Jr. Explorer",
"Server",
"Electrician",
"Barista")
/var/global/list/existing_solargrubs = list()
/hook/startup/proc/init_vore_datum_ref_lists()
@@ -512,10 +524,10 @@ var/global/list/remainless_species = list(SPECIES_PROMETHEAN,
var/cost = instance.cost
traits_costs[path] = cost
all_traits[path] = instance
// Shakey shakey shake
sortTim(all_traits, /proc/cmp_trait_datums_name, associative = TRUE)
// Split 'em up
for(var/traitpath in all_traits)
var/datum/trait/T = all_traits[traitpath]
@@ -529,7 +541,7 @@ var/global/list/remainless_species = list(SPECIES_PROMETHEAN,
everyone_traits[traitpath] = T
if(0.1 to INFINITY)
positive_traits[traitpath] = T
// Weaver recipe stuff
paths = typesof(/datum/weaver_recipe/structure) - /datum/weaver_recipe/structure
+1 -1
View File
@@ -236,7 +236,7 @@
return C.registered_name
/proc/get_all_job_icons() //For all existing HUD icons
return joblist + list("Prisoner")
return joblist + alt_titles_with_icons + list("Prisoner")
/obj/proc/GetJobName() //Used in secHUD icon generation
var/obj/item/weapon/card/id/I = GetID()
+1 -5
View File
@@ -16,8 +16,7 @@
access = list() //See /datum/job/intern/get_access()
minimal_access = list() //See /datum/job/intern/get_access()
outfit_type = /decl/hierarchy/outfit/job/assistant/intern
alt_titles = list("Intern" = /datum/alt_title/intern,
"Apprentice Engineer" = /datum/alt_title/intern_eng,
alt_titles = list("Apprentice Engineer" = /datum/alt_title/intern_eng,
"Medical Intern" = /datum/alt_title/intern_med,
"Research Intern" = /datum/alt_title/intern_sci,
"Security Cadet" = /datum/alt_title/intern_sec,
@@ -28,9 +27,6 @@
another job. Though they are part of the crew, they have no real authority."
timeoff_factor = 0 // Interns, noh
/datum/alt_title/intern
title = "Intern"
/datum/alt_title/intern_eng
title = "Apprentice Engineer"
title_blurb = "An Apprentice Engineer attempts to provide whatever the Engineering department needs. They are not proper Engineers, and are \
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB