foreach (var job in jobs)
{
- if (!job.SetPreference)
+ if (!job.OverrideConsoleVisibility.GetValueOrDefault(job.SetPreference))
{
continue;
}
[DataField("setPreference")]
public bool SetPreference { get; private set; } = true;
+ /// <summary>
+ /// Whether this job should show in the ID Card Console.
+ /// If set to null, it will default to SetPreference's value.
+ /// </summary>
+ [DataField]
+ public bool? OverrideConsoleVisibility { get; private set; } = null;
+
[DataField("canBeAntag")]
public bool CanBeAntag { get; private set; } = true;
job-description-scientist = Research alien artifacts, unlock new technologies, build newer and better machines around the station, and make everything run more efficiently.
job-description-security = Catch criminals and enemies of the station, enforce the law, and ensure that the station does not fall into disarray.
job-description-serviceworker = Learn the basics of bartending, cooking, and growing plants.
+job-description-visitor = Enjoy your visit to the station.
job-description-warden = Patrol the security department, ensure that no one is stealing from the armory, and make sure that all prisoners are processed and let out when their time is up.
job-description-zookeeper = Put on a joyful display of cute animals and space carps for all the crew to see. Currently available on Gemini Station.
job-name-ertjanitor = ERT Janitor
job-name-boxer = Boxer
job-name-zookeeper = Zookeeper
+job-name-visitor = Visitor
# Role timers - Make these alphabetical or I cut you
JobAtmosphericTechnician = Atmospheric Technician
JobServiceWorker = Service Worker
JobStationEngineer = Station Engineer
JobTechnicalAssistant = Technical Assistant
+JobVisitor = Visitor
JobWarden = Warden
JobZookeeper = Zookeeper
- JobIconServiceWorker
- JobIconSecurityCadet
- JobIconZookeeper
+ - JobIconVisitor
- type: ActivatableUI
key: enum.AgentIDCardUiKey.Key
inHandsOnly: true
--- /dev/null
+- type: job
+ id: Visitor
+ name: job-name-visitor
+ description: job-description-visitor
+ playTimeTracker: JobVisitor
+ canBeAntag: false
+ icon: JobIconVisitor
+ setPreference: false
+ overrideConsoleVisibility: true
+ access:
+ - Maintenance
- Musician
- Passenger
- Reporter
+ - Visitor
- Zookeeper
- ServiceWorker
- type: playTimeTracker
id: JobTechnicalAssistant
+- type: playTimeTracker
+ id: JobVisitor
+
- type: playTimeTracker
id: JobWarden
icon:
sprite: Interface/Misc/job_icons.rsi
state: SeniorResearcher
+
+- type: statusIcon
+ parent: JobIcon
+ id: JobIconVisitor
+ icon:
+ sprite: Interface/Misc/job_icons.rsi
+ state: Visitor
},
{
"name": "Syndicate"
+ },
+ {
+ "name": "Visitor"
}
]
}