mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 01:18:40 +01:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user