How to remove jobs?

How, what and why to code in BYOND.

Moderators: MisterPerson, Code Maintainers

Joined: Sun Mar 24, 2019 4:21 pm
Byond Username: Verhulst

How to remove jobs?

Postby MasonKin » Wed Apr 10, 2019 9:17 pm #489009

First off just going to say, please be patient I have autism.

I'm currently trying to make a small unique station for my friends and I to play on. There are a couple of jobs that I to remove, specifically the head roles.

This is located in my map folder, titled ""
Code: Select all
#define JOB_MODIFICATION_MAP_NAME "testingstation"
#define MAP_REMOVE_JOB(captain)
#define MAP_REMOVE_JOB(head_of_personnel)
#define MAP_REMOVE_JOB(chief_engineer)
#define MAP_REMOVE_JOB(research_director)
#define MAP_REMOVE_JOB(chief_medical_officer)

This is in
Code: Select all
#include "..\..\..\..\_maps\map_files\PubbyStation\"

#include "..\..\..\..\_maps\map_files\testing station\"

So I have two questions

1. This wasn't enough to remove the jobs from the code. What am I missing here?

2. Once the jobs are removed, will I still have to remove them from a list? For instance in code/modules/jobs/, will the head jobs need to be commented out?

Any help would be greatly appreciated, I'm very new to coding as you are already probably aware.

Code Maintainer
Joined: Fri Sep 22, 2017 4:06 am
Byond Username: SpaceManiac
Github Username: SpaceManiac

Re: How to remove jobs?

Postby SpaceManiac » Wed Apr 10, 2019 10:58 pm #489037

You need to lose the "#define" before each of the "MAP_REMOVE_JOB" lines. After that it should be handled by the rest of the code.

Return to Coding

Who is online

Users browsing this forum: No registered users