mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-09 16:09:15 +00:00
🆑 coiax code: Jobe code has been moved into seperate files. There should be no change in behaviour. /🆑 Every time I've ever gone into job code, this has annoyed me so much. Some jobs have seperate files, some do not. So I put them in seperate files, which I thought was a simple job. I removed some comments in the process. But it turns out the display order on the job preference screen was literally determined by the ordering of the datums in the source files. So I needed to add a way to order it. Now you can reorder the jobs by changing the values of the defines.
89 lines
2.5 KiB
Plaintext
89 lines
2.5 KiB
Plaintext
|
|
#define ENGSEC (1<<0)
|
|
|
|
#define CAPTAIN (1<<0)
|
|
#define HOS (1<<1)
|
|
#define WARDEN (1<<2)
|
|
#define DETECTIVE (1<<3)
|
|
#define OFFICER (1<<4)
|
|
#define CHIEF (1<<5)
|
|
#define ENGINEER (1<<6)
|
|
#define ATMOSTECH (1<<7)
|
|
#define ROBOTICIST (1<<8)
|
|
#define AI_JF (1<<9)
|
|
#define CYBORG (1<<10)
|
|
|
|
|
|
#define MEDSCI (1<<1)
|
|
|
|
#define RD_JF (1<<0)
|
|
#define SCIENTIST (1<<1)
|
|
#define CHEMIST (1<<2)
|
|
#define CMO_JF (1<<3)
|
|
#define DOCTOR (1<<4)
|
|
#define GENETICIST (1<<5)
|
|
#define VIROLOGIST (1<<6)
|
|
|
|
|
|
#define CIVILIAN (1<<2)
|
|
|
|
#define HOP (1<<0)
|
|
#define BARTENDER (1<<1)
|
|
#define BOTANIST (1<<2)
|
|
#define COOK (1<<3)
|
|
#define JANITOR (1<<4)
|
|
#define CURATOR (1<<5)
|
|
#define QUARTERMASTER (1<<6)
|
|
#define CARGOTECH (1<<7)
|
|
#define MINER (1<<8)
|
|
#define LAWYER (1<<9)
|
|
#define CHAPLAIN (1<<10)
|
|
#define CLOWN (1<<11)
|
|
#define MIME (1<<12)
|
|
#define ASSISTANT (1<<13)
|
|
|
|
#define JOB_AVAILABLE 0
|
|
#define JOB_UNAVAILABLE_GENERIC 1
|
|
#define JOB_UNAVAILABLE_BANNED 2
|
|
#define JOB_UNAVAILABLE_PLAYTIME 3
|
|
#define JOB_UNAVAILABLE_ACCOUNTAGE 4
|
|
#define JOB_UNAVAILABLE_SLOTFULL 5
|
|
|
|
#define DEFAULT_RELIGION "Christianity"
|
|
#define DEFAULT_DEITY "Space Jesus"
|
|
|
|
#define JOB_DISPLAY_ORDER_DEFAULT 0
|
|
|
|
#define JOB_DISPLAY_ORDER_ASSISTANT 1
|
|
#define JOB_DISPLAY_ORDER_CAPTAIN 2
|
|
#define JOB_DISPLAY_ORDER_HEAD_OF_PERSONNEL 3
|
|
#define JOB_DISPLAY_ORDER_QUARTERMASTER 4
|
|
#define JOB_DISPLAY_ORDER_CARGO_TECHNICIAN 5
|
|
#define JOB_DISPLAY_ORDER_SHAFT_MINER 6
|
|
#define JOB_DISPLAY_ORDER_BARTENDER 7
|
|
#define JOB_DISPLAY_ORDER_COOK 8
|
|
#define JOB_DISPLAY_ORDER_BOTANIST 9
|
|
#define JOB_DISPLAY_ORDER_JANITOR 10
|
|
#define JOB_DISPLAY_ORDER_CLOWN 11
|
|
#define JOB_DISPLAY_ORDER_MIME 12
|
|
#define JOB_DISPLAY_ORDER_CURATOR 13
|
|
#define JOB_DISPLAY_ORDER_LAWYER 14
|
|
#define JOB_DISPLAY_ORDER_CHAPLAIN 15
|
|
#define JOB_DISPLAY_ORDER_CHIEF_ENGINEER 16
|
|
#define JOB_DISPLAY_ORDER_STATION_ENGINEER 17
|
|
#define JOB_DISPLAY_ORDER_ATMOSPHERIC_TECHNICIAN 18
|
|
#define JOB_DISPLAY_ORDER_CHIEF_MEDICAL_OFFICER 19
|
|
#define JOB_DISPLAY_ORDER_MEDICAL_DOCTOR 20
|
|
#define JOB_DISPLAY_ORDER_CHEMIST 21
|
|
#define JOB_DISPLAY_ORDER_GENETICIST 22
|
|
#define JOB_DISPLAY_ORDER_VIROLOGIST 23
|
|
#define JOB_DISPLAY_ORDER_RESEARCH_DIRECTOR 24
|
|
#define JOB_DISPLAY_ORDER_SCIENTIST 25
|
|
#define JOB_DISPLAY_ORDER_ROBOTICIST 26
|
|
#define JOB_DISPLAY_ORDER_HEAD_OF_SECURITY 27
|
|
#define JOB_DISPLAY_ORDER_WARDEN 28
|
|
#define JOB_DISPLAY_ORDER_DETECTIVE 29
|
|
#define JOB_DISPLAY_ORDER_SECURITY_OFFICER 30
|
|
#define JOB_DISPLAY_ORDER_AI 31
|
|
#define JOB_DISPLAY_ORDER_CYBORG 32
|