Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into Disks
Browse files Browse the repository at this point in the history
  • Loading branch information
Gw0sty committed Sep 30, 2024
2 parents 80d9ed9 + 125eb27 commit 7983215
Show file tree
Hide file tree
Showing 78 changed files with 639 additions and 247 deletions.
55 changes: 36 additions & 19 deletions _maps/map_files/Deltastation/DeltaStation2.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -5787,11 +5787,11 @@
/turf/open/floor/iron,
/area/station/cargo/storage)
"bqC" = (
/obj/machinery/seed_extractor,
/obj/effect/turf_decal/bot,
/obj/structure/railing{
dir = 1
},
/obj/machinery/seed_extractor,
/turf/open/floor/iron/dark,
/area/station/service/hydroponics)
"bqF" = (
Expand Down Expand Up @@ -50110,14 +50110,15 @@
/turf/open/floor/iron,
/area/station/hallway/primary/fore)
"lPs" = (
/obj/machinery/biogenerator,
/obj/effect/turf_decal/bot,
/obj/structure/railing{
dir = 1
},
/obj/machinery/biogenerator,
/obj/structure/railing{
dir = 4;
layer = 4.1
layer = 4.1;
pixel_x = 5
},
/turf/open/floor/iron/dark,
/area/station/service/hydroponics)
Expand Down Expand Up @@ -55068,7 +55069,9 @@
/turf/open/floor/iron,
/area/station/service/hydroponics)
"mZA" = (
/obj/machinery/door/window/left/directional/west,
/obj/machinery/door/window/left/directional/west{
name = "Hydroponics Center"
},
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/machinery/atmospherics/components/binary/pump{
dir = 8;
Expand Down Expand Up @@ -61762,19 +61765,21 @@
/turf/open/floor/iron/dark,
/area/station/science/explab)
"oJj" = (
/obj/structure/reagent_dispensers/watertank/high,
/obj/effect/turf_decal/delivery/white{
color = "#52B4E9"
},
/obj/item/reagent_containers/cup/watering_can,
/obj/item/reagent_containers/cup/watering_can,
/obj/structure/railing{
dir = 4;
layer = 4.1
layer = 4.1;
pixel_x = 5
},
/obj/effect/turf_decal/delivery/white{
color = "#52B4E9"
},
/obj/structure/railing{
dir = 1
dir = 1;
pixel_x = 5
},
/obj/structure/reagent_dispensers/watertank/high,
/obj/item/reagent_containers/cup/watering_can,
/obj/item/reagent_containers/cup/watering_can,
/turf/open/floor/iron/dark/textured,
/area/station/service/hydroponics)
"oJy" = (
Expand Down Expand Up @@ -70627,13 +70632,17 @@
/obj/effect/turf_decal/delivery/white{
color = "#52B4E9"
},
/obj/machinery/composters,
/obj/structure/railing{
dir = 1
dir = 1;
pixel_x = -5
},
/obj/structure/railing{
dir = 8;
layer = 4.1
layer = 4.1;
pixel_x = -5
},
/obj/machinery/composters{
pixel_x = -1
},
/turf/open/floor/iron/dark/textured,
/area/station/service/hydroponics)
Expand Down Expand Up @@ -81011,7 +81020,9 @@
pixel_x = 32
},
/obj/structure/table/wood/fancy/blue,
/obj/machinery/door/window/left/directional/west,
/obj/machinery/door/window/left/directional/west{
name = "Hydroponics Center"
},
/obj/structure/window/reinforced/spawner/directional/south,
/turf/open/floor/wood/tile,
/area/station/service/library/artgallery)
Expand Down Expand Up @@ -92150,14 +92161,15 @@
/turf/open/floor/iron,
/area/station/hallway/secondary/exit/departure_lounge)
"vZo" = (
/obj/machinery/smartfridge,
/obj/effect/turf_decal/bot,
/obj/structure/railing{
dir = 1
},
/obj/machinery/smartfridge,
/obj/structure/railing{
dir = 8;
layer = 4.1
layer = 4.1;
pixel_x = -5
},
/turf/open/floor/iron/dark,
/area/station/service/hydroponics)
Expand Down Expand Up @@ -97698,6 +97710,11 @@
/obj/effect/turf_decal/tile/blue{
dir = 4
},
/obj/structure/railing{
dir = 4;
layer = 4.1;
pixel_x = 5
},
/turf/open/floor/iron,
/area/station/service/hydroponics)
"xpr" = (
Expand Down Expand Up @@ -100790,7 +100807,7 @@
"yba" = (
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/obj/machinery/door/window/right/directional/west{
/obj/machinery/door/window/left/directional/west{
name = "Hydroponics Center"
},
/turf/open/floor/iron/dark,
Expand Down
37 changes: 33 additions & 4 deletions _maps/map_files/tramstation/tramstation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -2526,6 +2526,11 @@
"ajF" = (
/turf/open/floor/iron,
/area/station/engineering/gravity_generator)
"ajG" = (
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/effect/landmark/start/scientist,
/turf/open/floor/iron/dark,
/area/station/science/explab)
"ajI" = (
/obj/effect/spawner/structure/window,
/turf/open/floor/plating,
Expand Down Expand Up @@ -6708,6 +6713,10 @@
},
/turf/open/floor/iron,
/area/station/hallway/secondary/entry)
"bax" = (
/obj/effect/landmark/start/scientist,
/turf/open/floor/glass/reinforced,
/area/station/science/research)
"bay" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
Expand Down Expand Up @@ -7863,6 +7872,7 @@
/obj/effect/turf_decal/trimline/purple/filled/line{
dir = 1
},
/obj/effect/landmark/start/roboticist,
/turf/open/floor/iron,
/area/station/science/robotics/lab)
"buQ" = (
Expand Down Expand Up @@ -16042,6 +16052,7 @@
},
/obj/effect/turf_decal/trimline/red/filled/line,
/obj/item/radio/intercom/directional/south,
/obj/effect/landmark/start/depsec/science,
/turf/open/floor/iron,
/area/station/security/checkpoint/science)
"eal" = (
Expand Down Expand Up @@ -26976,6 +26987,7 @@
/obj/machinery/atmospherics/components/unary/vent_scrubber/on/layer2{
dir = 8
},
/obj/effect/landmark/start/scientist,
/turf/open/floor/iron/cafeteria,
/area/station/science/breakroom)
"hFJ" = (
Expand Down Expand Up @@ -29739,6 +29751,7 @@
/obj/structure/chair/office,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/obj/structure/cable,
/obj/effect/landmark/start/scientist,
/turf/open/floor/iron,
/area/station/science/lower)
"iyi" = (
Expand Down Expand Up @@ -33427,6 +33440,10 @@
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/iron,
/area/station/hallway/primary/tram/left)
"jFW" = (
/obj/effect/landmark/start/roboticist,
/turf/open/floor/iron/white,
/area/station/science/robotics/lab)
"jGa" = (
/obj/effect/turf_decal/trimline/brown/filled/line{
dir = 1
Expand Down Expand Up @@ -35775,6 +35792,10 @@
},
/turf/open/floor/iron,
/area/station/engineering/atmos)
"ksh" = (
/obj/effect/landmark/start/scientist,
/turf/open/floor/iron/white,
/area/station/science/ordnance)
"ksq" = (
/obj/effect/mapping_helpers/airlock/access/all/service/general,
/obj/effect/turf_decal/trimline/neutral/filled/line,
Expand Down Expand Up @@ -43613,6 +43634,7 @@
/obj/structure/chair/office/light{
dir = 8
},
/obj/effect/landmark/start/scientist,
/turf/open/floor/iron/dark,
/area/station/science/ordnance/testlab)
"mQa" = (
Expand Down Expand Up @@ -43903,6 +43925,7 @@
"mWe" = (
/obj/machinery/atmospherics/components/unary/vent_scrubber/on/layer2,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/landmark/start/roboticist,
/turf/open/floor/iron/dark,
/area/station/science/robotics/lab)
"mWj" = (
Expand Down Expand Up @@ -46227,6 +46250,7 @@
},
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/obj/effect/landmark/start/depsec/science,
/turf/open/floor/iron,
/area/station/security/checkpoint/science)
"nHW" = (
Expand Down Expand Up @@ -47700,6 +47724,7 @@
/obj/structure/disposalpipe/segment{
dir = 6
},
/obj/effect/landmark/start/roboticist,
/turf/open/floor/iron,
/area/station/science/robotics/mechbay)
"ogp" = (
Expand Down Expand Up @@ -56382,6 +56407,7 @@
/obj/structure/chair/office/light{
dir = 1
},
/obj/effect/landmark/start/research_director,
/turf/open/floor/glass/reinforced,
/area/station/command/heads_quarters/rd)
"qUF" = (
Expand Down Expand Up @@ -62790,6 +62816,7 @@
/obj/machinery/atmospherics/components/unary/vent_scrubber/on/layer2{
dir = 4
},
/obj/effect/landmark/start/depsec/science,
/turf/open/floor/iron,
/area/station/security/checkpoint/science)
"sVV" = (
Expand Down Expand Up @@ -77532,6 +77559,7 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
/obj/effect/landmark/start/scientist,
/turf/open/floor/iron/white,
/area/station/science/ordnance/office)
"xBD" = (
Expand Down Expand Up @@ -78989,6 +79017,7 @@
/obj/machinery/atmospherics/components/unary/vent_pump/on/layer4{
dir = 1
},
/obj/effect/landmark/start/depsec/science,
/turf/open/floor/iron,
/area/station/security/checkpoint/science)
"ybX" = (
Expand Down Expand Up @@ -131557,7 +131586,7 @@ lkK
aeg
gPB
qOo
qOo
ksh
jGx
aej
oAn
Expand Down Expand Up @@ -132841,7 +132870,7 @@ dWM
frV
frV
rsQ
rmr
ajG
xLN
tho
sQZ
Expand Down Expand Up @@ -187571,7 +187600,7 @@ dzu
doK
uJH
uJH
uJH
jFW
ukS
soq
rsL
Expand Down Expand Up @@ -191683,7 +191712,7 @@ cli
oPf
jRy
odC
dzx
bax
tqA
rBb
rrL
Expand Down
8 changes: 7 additions & 1 deletion code/__DEFINES/antagonists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,13 @@ GLOBAL_LIST_INIT(human_invader_antagonists, list(
#define HUNTER_PACK_PSYKER "Psyker Shikaris"

// This flag disables certain checks that presume antagonist datums mean 'baddie'.
#define FLAG_FAKE_ANTAG (1 << 0)
#define FLAG_FAKE_ANTAG (1 << 0)
/// monkestation addition: Whether the antagonist can see exploitable info on people they examine.
#define FLAG_CAN_SEE_EXPOITABLE_INFO (1 << 1)
// monkestation addition: The storyteller will ignore this antag datum as counting against the antag cap.
#define FLAG_ANTAG_CAP_IGNORE (1 << 2)
// monkestation addition: The storyteller will count everyone on this antag's team as a singular antag instead.
#define FLAG_ANTAG_CAP_TEAM (1 << 3)

#define FREEDOM_IMPLANT_CHARGES 4

Expand Down
3 changes: 3 additions & 0 deletions code/__DEFINES/dcs/signals/signals_turf.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,6 @@
#define COMSIG_TURF_RESET_ELEVATION "turf_reset_elevation"
#define ELEVATION_CURRENT_PIXEL_SHIFT 1
#define ELEVATION_MAX_PIXEL_SHIFT 2

///Called when turf no longer blocks light from passing through
#define COMSIG_TURF_NO_LONGER_BLOCK_LIGHT "turf_no_longer_block_light"
11 changes: 6 additions & 5 deletions code/__DEFINES/spatial_gridmap.dm
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
///each cell in a spatial_grid is this many turfs in length and width
/// each cell in a spatial_grid is this many turfs in length and width (with world.max(x or y) being 255, 15 of these fit on each side of a z level)
#define SPATIAL_GRID_CELLSIZE 17
///Takes a coordinate, and spits out the spatial grid index (x or y) it's inside
/// Takes a coordinate, and spits out the spatial grid index (x or y) it's inside
#define GET_SPATIAL_INDEX(coord) ROUND_UP((coord) / SPATIAL_GRID_CELLSIZE)
#define GRID_INDEX_TO_COORDS(index) (index * SPATIAL_GRID_CELLSIZE)
/// changes the cell_(x or y) vars on /datum/spatial_grid_cell to the x or y coordinate on the map for the LOWER LEFT CORNER of the grid cell.
/// index is from 1 to SPATIAL_GRID_CELLS_PER_SIDE
#define GRID_INDEX_TO_COORDS(index) ((((index) - 1) * SPATIAL_GRID_CELLSIZE) + 1)
/// number of grid cells per x or y side of all z levels. pass in world.maxx or world.maxy
#define SPATIAL_GRID_CELLS_PER_SIDE(world_bounds) GET_SPATIAL_INDEX(world_bounds)

#define SPATIAL_GRID_CHANNELS 2

//grid contents channels

///everything that is hearing sensitive is stored in this channel
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/surgery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#define ORGAN_HIDDEN (1<<7)
/// Synthetic organ granted by a species (for use for organ replacements between species)
#define ORGAN_SYNTHETIC_FROM_SPECIES (1<<8)
/// This organ has no impact on conversion via flash, such as revs or bbs. Doesn't affect hypnosis and whatnot, though. MONKESTATION EDIT
#define ORGAN_DOESNT_PROTECT_AGAINST_CONVERSION (1<<9)

// Flags for the bodypart_flags var on /obj/item/bodypart
/// Bodypart cannot be dismembered or amputated
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/traits/monkestation/declarations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
#define TRAIT_REVIVES_BY_HEALING "trait_revives_by_healing"
/// This mob is a ghost critter.
#define TRAIT_GHOST_CRITTER "ghost_critter"
/// This mob is *currently* being flashed by someone with CAN_BYPASS_INNATE_FLASH_RESISTANCE returning TRUE. Used to make IPCs not immune to rev and bb conversions.
#define TRAIT_CONVERSION_FLASHED "conversion_flashed"

// /datum/mind + /mob/living
/// Prevents the user from casting spells using sign language. Works on both /datum/mind and /mob/living.
Expand Down
6 changes: 6 additions & 0 deletions code/__DEFINES/~monkestation/antagonists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
/// is something a worm
#define iscorticalborer(A) (istype(A, /mob/living/basic/cortical_borer))

/// Is the mob a blood brother
#define IS_BROTHER(mob) (mob?.mind?.has_antag_datum(/datum/antagonist/brother))

/// Whether the mob can convert others through innate flash shielding like IPCs (head revolutionaries and blood brothers)
#define CAN_BYPASS_INNATE_FLASH_RESISTANCE(mob) (IS_BROTHER(mob) || IS_HEAD_REVOLUTIONARY(mob))

// Borer evolution defines
// The three primary paths that eventually diverge
#define BORER_EVOLUTION_SYMBIOTE "Symbiote"
Expand Down
4 changes: 4 additions & 0 deletions code/__HELPERS/~monkestation-helpers/cmp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
/// Use when you want a list of most to least severe wounds.
/proc/cmp_wound_severity_dsc(datum/wound/a, datum/wound/b)
return cmp_numeric_dsc(a.severity, b.severity)

/// Used to sort overtime in profiling data.
/proc/sort_overtime_dsc(list/a, list/b)
return b["over"] - a["over"]
Loading

0 comments on commit 7983215

Please sign in to comment.