Revert "Necropolis IPCs (#8334)" (#8369)

This commit is contained in:
Alberyk
2020-02-29 21:30:37 -03:00
committed by GitHub
parent bd90e910b1
commit bf404fa459
6 changed files with 5 additions and 55 deletions
@@ -284,17 +284,10 @@
if (!SSjobs.name_factions[pref.faction])
pref.faction = SSjobs.default_faction.name
to_client_chat(SPAN_DANGER("Your faction selection has been reset to [pref.faction]."))
to_client_chat(SPAN_DANGER("Your jobs have been reset due to this!"))
to_client_chat("<span class='danger'>Your faction selection has been reset to [pref.faction].</span>")
to_client_chat("<span class='danger'>Your jobs have been reset due to this!</span>")
ResetJobs()
var/datum/faction/faction = SSjobs.name_factions[pref.faction]
for(var/datum/job/job in faction.get_occupations())
if(pref.species in job.blacklisted_species)
to_client_chat(SPAN_DANGER("Your faction selection does not permit this species-occupation combination."))
to_client_chat(SPAN_DANGER("Your jobs have been reset due to this!"))
ResetJobs()
/datum/category_item/player_setup_item/occupation/proc/SetPlayerAltTitle(datum/job/job, new_title)
// remove existing entry
pref.player_alt_titles -= job.title