Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit feb4830
Author: Evildragon <[email protected]>
Date:   Mon Aug 12 19:18:41 2024 +0900

    squashed

commit 3995bb6
Author: ss13-beebot <[email protected]>
Date:   Tue Jul 30 00:12:18 2024 +0000

    Automatic changelog compile [ci skip]

commit bfa45eb
Author: ss13-beebot <[email protected]>
Date:   Mon Jul 29 13:06:00 2024 +0000

    Automatic changelog compile [ci skip]

commit 4718a84
Author: ss13-beebot <[email protected]>
Date:   Mon Jul 29 07:20:21 2024 -0500

    Automatic changelog generation for PR BeeStation#11246 [ci skip]

commit 25bba7d
Author: spockye <[email protected]>
Date:   Mon Jul 29 14:10:09 2024 +0200

    fixes missing wall (BeeStation#11246)

commit 75fed78
Author: ss13-beebot <[email protected]>
Date:   Mon Jul 29 00:12:20 2024 +0000

    Automatic changelog compile [ci skip]

commit ad07e7c
Author: ss13-beebot <[email protected]>
Date:   Sun Jul 28 23:03:33 2024 +0000

    Automatic changelog compile [ci skip]

commit 3a20888
Author: ss13-beebot <[email protected]>
Date:   Sun Jul 28 17:07:12 2024 -0500

    Automatic changelog generation for PR BeeStation#11245 [ci skip]

commit 1c7a624
Author: spockye <[email protected]>
Date:   Sun Jul 28 23:57:54 2024 +0200

    removes holopad from glass floor on corg (BeeStation#11245)

    * removes holopad from glass floor

    * replaced glass floor with holopad

commit 384db43
Author: BeeBot <[email protected]>
Date:   Sun Jul 28 16:48:45 2024 -0500

    Update TGS DMAPI (BeeStation#11232)

commit fa030d5
Author: ss13-beebot <[email protected]>
Date:   Sun Jul 28 00:13:22 2024 +0000

    Automatic changelog compile [ci skip]

commit 1aba55e
Author: ss13-beebot <[email protected]>
Date:   Sat Jul 27 21:03:32 2024 +0000

    Automatic changelog compile [ci skip]

commit fc224ac
Author: ss13-beebot <[email protected]>
Date:   Sat Jul 27 15:17:35 2024 -0500

    Automatic changelog generation for PR BeeStation#11235 [ci skip]

commit 7d5399c
Author: spockye <[email protected]>
Date:   Sat Jul 27 21:58:19 2024 +0200

    [PORT] ports the shark plushie (BeeStation#11235)

    * ports shark plushie from TG

    * adds the plush to the choice beacon

    * oops

    adds a comma

    * Pigeon Variation Package: moodlet, better icon and spawners

    ---------

    Co-authored-by: PigeonVerde322 <[email protected]>

commit 3a18dca
Author: ss13-beebot <[email protected]>
Date:   Sat Jul 27 15:07:48 2024 -0500

    Automatic changelog generation for PR BeeStation#11237 [ci skip]

commit 32b1ae2
Author: spockye <[email protected]>
Date:   Sat Jul 27 21:58:08 2024 +0200

    simply ports better cone sprites (BeeStation#11237)

commit f2841a9
Author: ss13-beebot <[email protected]>
Date:   Sat Jul 27 00:11:38 2024 +0000

    Automatic changelog compile [ci skip]

commit 1f3df7e
Author: ss13-beebot <[email protected]>
Date:   Fri Jul 26 16:03:54 2024 +0000

    Automatic changelog compile [ci skip]

commit 7314954
Author: ss13-beebot <[email protected]>
Date:   Fri Jul 26 10:16:56 2024 -0500

    Automatic changelog generation for PR BeeStation#11231 [ci skip]

commit a1c9962
Author: Markus Larsson <[email protected]>
Date:   Fri Jul 26 17:07:21 2024 +0200

    Prevents Free Range Intercoms from Accessing Syndicate and CentCom Radio Channels (BeeStation#11231)

    * Update radio.dm

    * Update radio.dm

commit daf7f99
Author: ss13-beebot <[email protected]>
Date:   Fri Jul 26 13:04:56 2024 +0000

    Automatic changelog compile [ci skip]

commit f56e6e4
Author: ss13-beebot <[email protected]>
Date:   Fri Jul 26 07:55:51 2024 -0500

    Automatic changelog generation for PR BeeStation#11213 [ci skip]

commit 45bfa98
Author: XeonMations <[email protected]>
Date:   Fri Jul 26 15:42:09 2024 +0300

    Adds the ability to craft different types of lockers. (BeeStation#11213)

    * done

    * done

commit 08a6811
Author: ss13-beebot <[email protected]>
Date:   Fri Jul 26 07:46:25 2024 -0500

    Automatic changelog generation for PR BeeStation#11121 [ci skip]

commit 57f99c4
Author: XeonMations <[email protected]>
Date:   Fri Jul 26 15:36:50 2024 +0300

    Fixed space dragon's gust ability hitting people through walls (BeeStation#11121)

    * Update space_dragon.dm

    * stuffs

    * Update space_dragon.dm

commit 01d39bc
Author: ss13-beebot <[email protected]>
Date:   Fri Jul 26 00:11:45 2024 +0000

    Automatic changelog compile [ci skip]

commit 98ecd3c
Author: ss13-beebot <[email protected]>
Date:   Thu Jul 25 01:29:46 2024 +0000

    Automatic changelog compile [ci skip]

commit 1514cd2
Author: ss13-beebot <[email protected]>
Date:   Wed Jul 24 20:12:13 2024 -0500

    Automatic changelog generation for PR BeeStation#11217 [ci skip]

commit 6b40f76
Author: XeonMations <[email protected]>
Date:   Thu Jul 25 04:02:28 2024 +0300

    no more bugs (BeeStation#11217)

commit 4eb2ffa
Author: ss13-beebot <[email protected]>
Date:   Wed Jul 24 04:03:49 2024 +0000

    Automatic changelog compile [ci skip]

commit 7f5c69b
Author: ss13-beebot <[email protected]>
Date:   Tue Jul 23 22:35:43 2024 -0500

    Automatic changelog generation for PR BeeStation#11228 [ci skip]

commit 4c30a59
Author: Rukofamicom <[email protected]>
Date:   Tue Jul 23 22:26:01 2024 -0500

    Revert "Pirate shuttle rebalancing and update (BeeStation#11221)" (BeeStation#11228)

    This reverts commit 00c836b.

commit dcecb26
Author: ss13-beebot <[email protected]>
Date:   Wed Jul 24 00:12:56 2024 +0000

    Automatic changelog compile [ci skip]

commit 25e2ea9
Author: ss13-beebot <[email protected]>
Date:   Tue Jul 23 23:04:03 2024 +0000

    Automatic changelog compile [ci skip]

commit 7c497d2
Author: ss13-beebot <[email protected]>
Date:   Tue Jul 23 17:06:20 2024 -0500

    Automatic changelog generation for PR BeeStation#11182 [ci skip]

commit d0359b6
Author: Tsar-Salat <[email protected]>
Date:   Tue Jul 23 17:56:51 2024 -0400

    MetaSec brig retiling (BeeStation#11182)

    * nice

    * oops

    * redoes armoury / storage and gear room decalling

    * oops

    fixed a floor decal

    * more small decal changes to offices and sec

    ---------

    Co-authored-by: spockye <[email protected]>

commit 51fb123
Author: ss13-beebot <[email protected]>
Date:   Tue Jul 23 17:03:16 2024 +0000

    Automatic changelog compile [ci skip]

commit 8e7dc53
Author: ss13-beebot <[email protected]>
Date:   Tue Jul 23 11:18:59 2024 -0500

    Automatic changelog generation for PR BeeStation#11220 [ci skip]

commit f427c3a
Author: Geatish <[email protected]>
Date:   Tue Jul 23 18:09:06 2024 +0200

    Small Radstation atmos fix and changes take 2 (BeeStation#11220)

    * rad atmos dep fix

    Rerouted distro piping around the designated work area, also removed the unremovable glass floor from there.
    Finally fixed the atmosphereic shutters not being openable.

    * Fixes small things around gas miners

    Fixed: Removed plating between the eastern miners and atmos. Fixed plasma glass tiles on gas chambers spawning with N2, making them contaminate the gas chamber if you were to remove the glass.

    * I hate maints I hate maints I hate maints

    also removed the extra apc in xeno.

    * Empty commit

    Just dirt

    * god i pray

    guhh

    * The apc was added again???

    how?

    * added back a window

    whoops

    * Now it was too many windows

    smh, better be fucking done now

    ---------

    Co-authored-by: HowToLoLu <[email protected]>

commit d7cd6e6
Author: ss13-beebot <[email protected]>
Date:   Tue Jul 23 16:04:38 2024 +0000

    Automatic changelog compile [ci skip]

commit 8ee0c29
Author: ss13-beebot <[email protected]>
Date:   Tue Jul 23 10:59:17 2024 -0500

    Automatic changelog generation for PR BeeStation#11225 [ci skip]

commit 7348c94
Author: spockye <[email protected]>
Date:   Tue Jul 23 17:49:43 2024 +0200

    small fix for cameras on explo shuttle (BeeStation#11225)

commit c319bc0
Author: ss13-beebot <[email protected]>
Date:   Tue Jul 23 00:12:12 2024 +0000

    Automatic changelog compile [ci skip]

commit af9e370
Author: ss13-beebot <[email protected]>
Date:   Mon Jul 22 08:04:39 2024 +0000

    Automatic changelog compile [ci skip]

commit a6b490c
Author: ss13-beebot <[email protected]>
Date:   Mon Jul 22 02:25:07 2024 -0500

    Automatic changelog generation for PR BeeStation#11221 [ci skip]

commit 85300f2
Author: spockye <[email protected]>
Date:   Mon Jul 22 09:15:31 2024 +0200

    Pirate shuttle rebalancing and update (BeeStation#11221)

    * tones down decalling and supplies

    * Update pirate_default.dmm

commit fb21ec8
Author: ss13-beebot <[email protected]>
Date:   Mon Jul 22 01:30:07 2024 +0000

    Automatic changelog compile [ci skip]

commit 95b4254
Author: ss13-beebot <[email protected]>
Date:   Sun Jul 21 20:15:49 2024 -0500

    Automatic changelog generation for PR BeeStation#11211 [ci skip]

commit 57fff7a
Author: ClownMoff <[email protected]>
Date:   Mon Jul 22 02:06:12 2024 +0100

    Fixes the bananium sword causing bleed (BeeStation#11211)

    * henk

    * Update clown_weapons.dm

commit 50f1640
Author: ss13-beebot <[email protected]>
Date:   Sun Jul 21 00:13:07 2024 +0000

    Automatic changelog compile [ci skip]

commit 6cae2a6
Author: ss13-beebot <[email protected]>
Date:   Sat Jul 20 00:11:40 2024 +0000

    Automatic changelog compile [ci skip]

commit e72bb00
Author: ss13-beebot <[email protected]>
Date:   Fri Jul 19 12:04:44 2024 +0000

    Automatic changelog compile [ci skip]

commit 947433a
Author: ss13-beebot <[email protected]>
Date:   Fri Jul 19 06:35:45 2024 -0500

    Automatic changelog generation for PR BeeStation#11208 [ci skip]

commit 7da94eb
Author: Aramix <[email protected]>
Date:   Fri Jul 19 14:26:18 2024 +0300

    added divable var to closet and its logic (BeeStation#11208)

commit af034cd
Author: ss13-beebot <[email protected]>
Date:   Fri Jul 19 00:12:42 2024 +0000

    Automatic changelog compile [ci skip]

commit 286b02e
Author: ss13-beebot <[email protected]>
Date:   Thu Jul 18 17:03:21 2024 +0000

    Automatic changelog compile [ci skip]

commit 3dcaaa4
Author: ss13-beebot <[email protected]>
Date:   Thu Jul 18 11:40:19 2024 -0500

    Automatic changelog generation for PR BeeStation#11187 [ci skip]

commit b40c9a0
Author: ToasterBan <[email protected]>
Date:   Thu Jul 18 18:23:16 2024 +0200

    Baton shove now requires disarm intent (BeeStation#11187)

    * tonfa now paralyses rather than sleeps, stunbaton only shoves on disarm

    * Revert "tonfa now paralyses rather than sleeps, stunbaton only shoves on disarm"

    This reverts commit ac7814c.

commit aabea95
Author: ss13-beebot <[email protected]>
Date:   Thu Jul 18 11:30:39 2024 -0500

    Automatic changelog generation for PR BeeStation#11175 [ci skip]

commit 1040e75
Author: Hardly3D <[email protected]>
Date:   Thu Jul 18 13:20:52 2024 -0300

    New Hairstyle: Short Bangs 2 (BeeStation#11175)

    * Adds short bangs 2

    * Consistency fix
  • Loading branch information
XeonMations committed Aug 13, 2024
1 parent 53c6d9b commit 6e0247c
Show file tree
Hide file tree
Showing 85 changed files with 460 additions and 425 deletions.
57 changes: 32 additions & 25 deletions code/__DEFINES/department.dm
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
// station departments
#define DEPT_NAME_COMMAND "Command"
#define DEPT_BITFLAG_COM (1<<0)
#define DEPARTMENT_COMMAND "Command"
#define DEPT_NAME_CIVILIAN "Civilian"
#define DEPT_BITFLAG_CIV (1<<1)
#define DEPARTMENT_CIVILIAN "Civilian"
#define DEPT_NAME_SERVICE "Service"
#define DEPT_BITFLAG_SRV (1<<2)
#define DEPARTMENT_SERVICE "Service"
#define DEPT_NAME_CARGO "Cargo"
#define DEPT_BITFLAG_CAR (1<<3)
#define DEPARTMENT_CARGO "Cargo"
#define DEPT_NAME_SCIENCE "Science"
#define DEPT_BITFLAG_SCI (1<<4)
#define DEPARTMENT_SCIENCE "Science"
#define DEPT_NAME_ENGINEERING "Engineering"
#define DEPT_BITFLAG_ENG (1<<5)
#define DEPARTMENT_ENGINEERING "Engineering"
#define DEPT_NAME_MEDICAL "Medical"
#define DEPT_BITFLAG_MED (1<<6)
#define DEPARTMENT_MEDICAL "Medical"
#define DEPT_NAME_SECURITY "Security"
#define DEPT_BITFLAG_SEC (1<<7)
#define DEPARTMENT_SECURITY "Security"
#define DEPT_NAME_VIP "VIP"
#define DEPT_BITFLAG_VIP (1<<8)
#define DEPARTMENT_VIP "VIP"
#define DEPT_NAME_SILICON "Silicon"
#define DEPT_BITFLAG_SILICON (1<<9)
#define DEPARTMENT_SILICON "Silicon"
#define DEPT_BITFLAG_CENTCOM (1<<10)
#define DEPARTMENT_CENTCOM "CentCom"
#define DEPT_BITFLAG_OTHER (1<<11)
#define DEPARTMENT_OTHER "Other"
#define DEPT_BITFLAG_CAPTAIN (1<<12)
#define DEPARTMENT_CAPTAIN
#define DEPT_NAME_UNASSIGNED "Misc"
#define DEPT_BITFLAG_UNASSIGNED (1<<10)

#define DEPT_NAME_CENTCOM "CentCom"
#define DEPT_BITFLAG_CENTCOM (1<<11)
#define DEPT_NAME_OTHER "Other"
#define DEPT_BITFLAG_OTHER (1<<12)

// not real department. These exist for pref grouping
#define DEPT_NAME_ASSISTANT "Assistant"
#define DEPT_NAME_CAPTAIN "Captain"


// Crew Manifest will show crew data in this order
Expand All @@ -39,15 +45,16 @@
#define DEPT_MANIFEST_ORDER_SERVICE 70
#define DEPT_MANIFEST_ORDER_CIVILIAN 80
#define DEPT_MANIFEST_ORDER_SILICON 90
#define DEPT_MANIFEST_ORDER_OTHER 999 // not used but just in case
#define DEPT_MANIFEST_ORDER_UNASSIGNED 666 // dummy department for people with no department


#define DEPT_PREF_ORDER_COMMAND 10
#define DEPT_PREF_ORDER_SECURITY 20
// used for /mob/dead/new_player/proc/LateChoices()
#define DEPT_PREF_ORDER_COMMAND 10
#define DEPT_PREF_ORDER_SECURITY 20
#define DEPT_PREF_ORDER_ENGINEERING 30
#define DEPT_PREF_ORDER_MEDICAL 40
#define DEPT_PREF_ORDER_SCIENCE 50
#define DEPT_PREF_ORDER_CARGO 60
#define DEPT_PREF_ORDER_SERVICE 70
#define DEPT_PREF_ORDER_CIVILIAN 80
#define DEPT_PREF_ORDER_SILICON 90
#define DEPT_PREF_ORDER_MEDICAL 40
#define DEPT_PREF_ORDER_SCIENCE 50
#define DEPT_PREF_ORDER_CARGO 60
#define DEPT_PREF_ORDER_SERVICE 70
#define DEPT_PREF_ORDER_CIVILIAN 80
#define DEPT_PREF_ORDER_SILICON 90
10 changes: 0 additions & 10 deletions code/__HELPERS/jobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,3 @@ GLOBAL_LIST_INIT(command_huds, list(
JOB_HUD_UNKNOWN = JOB_CHATCOLOR_UNKNOWN
)
return hud_to_chatcolor[jobname] || JOB_CHATCOLOR_UNKNOWN

/proc/get_job_departments(field)
. = list()
for(var/flag in GLOB.bitflags)
var/key = "[flag]"
var/department = SSdepartment.department_bitflag_to_name[key]
if(!department || !SSdepartment.departments[department])
continue
if(CHECK_BITFIELD(field, flag))
. += department
Loading

0 comments on commit 6e0247c

Please sign in to comment.