I want to remove the following jobs
All civillian, Security, Captain, and bartender.
Not as in delete their files entirely, Just I would prefer that I have clients to not have the option to set a preference for said jobs when they join.
How do I go about deleting jobs from TGStation?
-
- Joined: Sat Mar 10, 2018 1:27 am
- Byond Username: Ensefalon
- Dax Dupont
- In-Game Admin
- Joined: Sun Apr 20, 2014 9:07 pm
- Byond Username: DaxYeen
- Github Username: DaxDupont
- Location: Belgium
Re: How do I go about deleting jobs from TGStation?
Everything but the captain and sec is civilian
- Armhulen
- Global Moderator
- Joined: Thu Apr 28, 2016 4:30 pm
- Byond Username: Armhulenn
- Github Username: bazelart
- Location: The Grand Tournament
Re: How do I go about deleting jobs from TGStation?
I think he means service
-
- Joined: Sat Mar 10, 2018 1:27 am
- Byond Username: Ensefalon
Re: How do I go about deleting jobs from TGStation?
Dax Dupont wrote:Everything but the captain and sec is civilian
I need to know how to delete these jobs from the occupation preference menu
-
- Joined: Fri Sep 22, 2017 4:06 am
- Byond Username: SpaceManiac
- Github Username: SpaceManiac
Re: How do I go about deleting jobs from TGStation?
There is a per-map job adjustment system which you can use if you run a custom map. Create "_maps/map_files/YourMapFolder/job_changes.dm", and write "MAP_REMOVE_JOB(id)" for each job ID you want to remove:
Then, in "code/modules/jobs/map_changes/map_changes.dm", add a pair of lines to include that file:
Alternatively, to disable the jobs for all maps, go through each file in the "code/modules/jobs/job_types/" folder. For each job you wish to remove, edit the "total_positions = <number>" and "spawn_positions = <number>" to be zero.
Code: Select all
#define JOB_MODIFICATION_MAP_NAME "Your Map Name"
MAP_REMOVE_JOB(captain)
MAP_REMOVE_JOB(bartender)
MAP_REMOVE_JOB(head_of_security)
etc...
Code: Select all
#include "..\..\..\..\_maps\map_files\YourMapFolder\job_changes.dm"
#undef JOB_MODIFICATION_MAP_NAME
-
- Joined: Sat Mar 10, 2018 1:27 am
- Byond Username: Ensefalon
Re: How do I go about deleting jobs from TGStation?
I've finally disabled the jobs I wanted, But I haven't tried the job mod for each specific map, I'll take a look and see if it works cleaner.
Who is online
Users browsing this forum: No registered users