mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 16:42:13 +00:00
Some Corporate Liaison alt titles (#14581)
This commit is contained in:
@@ -18,6 +18,11 @@
|
|||||||
|
|
||||||
access = list(access_lawyer, access_maint_tunnels)
|
access = list(access_lawyer, access_maint_tunnels)
|
||||||
minimal_access = list(access_lawyer)
|
minimal_access = list(access_lawyer)
|
||||||
|
alt_titles = list(
|
||||||
|
"Workplace Liaison",
|
||||||
|
"Corporate Representative",
|
||||||
|
"Corporate Executive"
|
||||||
|
)
|
||||||
outfit = /datum/outfit/job/representative
|
outfit = /datum/outfit/job/representative
|
||||||
blacklisted_species = list(SPECIES_VAURCA_BULWARK, SPECIES_VAURCA_BREEDER)
|
blacklisted_species = list(SPECIES_VAURCA_BULWARK, SPECIES_VAURCA_BREEDER)
|
||||||
|
|
||||||
|
|||||||
@@ -262,7 +262,7 @@
|
|||||||
var/list/choices = pref.GetValidTitles(job)
|
var/list/choices = pref.GetValidTitles(job)
|
||||||
if(!LAZYLEN(choices))
|
if(!LAZYLEN(choices))
|
||||||
return ..()// should never happen
|
return ..()// should never happen
|
||||||
var/choice = input("Choose an title for [job.title].", "Choose Title", pref.GetPlayerAltTitle(job)) as anything in choices|null
|
var/choice = input("Choose a title for [job.title].", "Choose Title", pref.GetPlayerAltTitle(job)) as anything in choices|null
|
||||||
if(choice && CanUseTopic(user))
|
if(choice && CanUseTopic(user))
|
||||||
SetPlayerAltTitle(job, choice)
|
SetPlayerAltTitle(job, choice)
|
||||||
return TOPIC_REFRESH_UPDATE_PREVIEW
|
return TOPIC_REFRESH_UPDATE_PREVIEW
|
||||||
|
|||||||
42
html/changelogs/wezzy_liaisonalttitles.yml
Normal file
42
html/changelogs/wezzy_liaisonalttitles.yml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
################################
|
||||||
|
# Example Changelog File
|
||||||
|
#
|
||||||
|
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
|
||||||
|
#
|
||||||
|
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
|
||||||
|
# When it is, any changes listed below will disappear.
|
||||||
|
#
|
||||||
|
# Valid Prefixes:
|
||||||
|
# bugfix
|
||||||
|
# wip (For works in progress)
|
||||||
|
# tweak
|
||||||
|
# soundadd
|
||||||
|
# sounddel
|
||||||
|
# rscadd (general adding of nice things)
|
||||||
|
# rscdel (general deleting of nice things)
|
||||||
|
# imageadd
|
||||||
|
# imagedel
|
||||||
|
# maptweak
|
||||||
|
# spellcheck (typo fixes)
|
||||||
|
# experiment
|
||||||
|
# balance
|
||||||
|
# admin
|
||||||
|
# backend
|
||||||
|
# security
|
||||||
|
# refactor
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Your name.
|
||||||
|
author: Wowzewow (Wezzy)
|
||||||
|
|
||||||
|
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
|
||||||
|
delete-after: True
|
||||||
|
|
||||||
|
# Any changes you've made. See valid prefix list above.
|
||||||
|
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
|
||||||
|
# SCREW THIS UP AND IT WON'T WORK.
|
||||||
|
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
|
||||||
|
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
|
||||||
|
changes:
|
||||||
|
- rscadd: "Added some alt titles for Corporate Liaisons."
|
||||||
|
- bugfix: "Fixes a typo when setting alt titles."
|
||||||
Reference in New Issue
Block a user