Skip to content

Commit

Permalink
Merge branch 'Monkestation:master' into ss13-thoughtcrime-edition
Browse files Browse the repository at this point in the history
  • Loading branch information
Oricana-16 authored May 7, 2024
2 parents e0e066e + e93e398 commit 6c3f744
Show file tree
Hide file tree
Showing 55 changed files with 1,057 additions and 877 deletions.
94 changes: 36 additions & 58 deletions _maps/map_files/generic/CentCom.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -697,13 +697,6 @@
/obj/structure/railing,
/turf/open/lava/plasma/ice_moon,
/area/centcom/syndicate_mothership/control)
"bS" = (
/obj/structure/hedge,
/obj/effect/turf_decal/siding/wood/corner{
dir = 4
},
/turf/open/floor/wood/large,
/area/centcom/central_command_areas/ghost_spawn)
"bT" = (
/obj/effect/turf_decal/stripes/corner{
dir = 8
Expand Down Expand Up @@ -1362,6 +1355,11 @@
},
/turf/open/floor/carpet,
/area/centcom/syndicate_mothership/control)
"dG" = (
/obj/effect/turf_decal/tile/dark/opposingcorners,
/obj/machinery/light/directional/south,
/turf/open/floor/iron/dark,
/area/centcom/central_command_areas/ghost_spawn)
"dH" = (
/obj/effect/turf_decal/stripes/line{
dir = 5
Expand Down Expand Up @@ -1442,7 +1440,7 @@
dir = 4
},
/turf/open/floor/glass/reinforced,
/area/centcom/central_command_areas/ghost_spawn)
/area/centcom/central_command_areas/hall)
"dP" = (
/obj/machinery/dna_scannernew,
/turf/open/floor/circuit,
Expand Down Expand Up @@ -2172,11 +2170,6 @@
/obj/machinery/computer/records/security/laptop,
/turf/open/floor/iron/dark,
/area/centcom/central_command_areas/admin)
"gg" = (
/obj/structure/hedge,
/obj/effect/turf_decal/siding/wood/corner,
/turf/open/floor/wood/large,
/area/centcom/central_command_areas/ghost_spawn)
"gh" = (
/obj/structure/sign/poster/contraband/revolver{
pixel_y = -32
Expand Down Expand Up @@ -2763,11 +2756,6 @@
/obj/item/clipboard,
/turf/open/indestructible/hotelwood,
/area/centcom/central_command_areas/admin)
"hL" = (
/obj/structure/flora/tree/jungle/style_3,
/obj/machinery/light/floor/has_bulb,
/turf/open/floor/grass,
/area/centcom/central_command_areas/ghost_spawn)
"hM" = (
/obj/effect/turf_decal/siding/wood/corner{
dir = 4
Expand Down Expand Up @@ -4086,7 +4074,7 @@
dir = 4
},
/turf/open/floor/glass/reinforced,
/area/centcom/central_command_areas/ghost_spawn)
/area/centcom/central_command_areas/hall)
"lB" = (
/obj/effect/turf_decal/siding/wideplating{
dir = 1
Expand Down Expand Up @@ -4738,13 +4726,6 @@
/obj/structure/closet/crate/cardboard/mothic,
/turf/open/floor/plating,
/area/centcom/syndicate_mothership/control)
"np" = (
/obj/structure/hedge,
/obj/effect/turf_decal/siding/wood/corner{
dir = 8
},
/turf/open/floor/wood/large,
/area/centcom/central_command_areas/ghost_spawn)
"nq" = (
/obj/structure/stone_tile/slab,
/turf/open/misc/snow/actually_safe,
Expand Down Expand Up @@ -4875,7 +4856,7 @@
dir = 1
},
/turf/open/floor/glass/reinforced,
/area/centcom/central_command_areas/ghost_spawn)
/area/centcom/central_command_areas/hall)
"nO" = (
/obj/structure/cannon{
dir = 4;
Expand Down Expand Up @@ -6717,6 +6698,10 @@
/obj/structure/closet/crate/cardboard,
/turf/open/floor/plating,
/area/centcom/syndicate_mothership/control)
"sO" = (
/obj/effect/turf_decal/tile/dark/opposingcorners,
/turf/open/floor/iron/dark,
/area/centcom/central_command_areas/ghost_spawn)
"sP" = (
/obj/structure/hedge,
/obj/effect/turf_decal/siding/dark{
Expand Down Expand Up @@ -7390,7 +7375,7 @@
"uC" = (
/obj/structure/railing/wood,
/turf/open/floor/glass/reinforced,
/area/centcom/central_command_areas/ghost_spawn)
/area/centcom/central_command_areas/hall)
"uD" = (
/obj/structure/table/wood,
/obj/machinery/computer/records/medical/laptop,
Expand Down Expand Up @@ -9370,7 +9355,7 @@
dir = 8
},
/turf/open/floor/glass/reinforced,
/area/centcom/central_command_areas/ghost_spawn)
/area/centcom/central_command_areas/hall)
"Ac" = (
/obj/effect/turf_decal/siding/dark{
dir = 4
Expand Down Expand Up @@ -10165,7 +10150,7 @@
dir = 1
},
/turf/open/floor/glass/reinforced,
/area/centcom/central_command_areas/ghost_spawn)
/area/centcom/central_command_areas/hall)
"Cj" = (
/obj/effect/turf_decal/siding/dark/corner{
dir = 8
Expand Down Expand Up @@ -10738,7 +10723,7 @@
dir = 1
},
/turf/open/floor/glass/reinforced,
/area/centcom/central_command_areas/ghost_spawn)
/area/centcom/central_command_areas/hall)
"DS" = (
/obj/effect/turf_decal/siding/thinplating_new/dark{
dir = 1
Expand Down Expand Up @@ -11291,7 +11276,7 @@
/obj/effect/turf_decal/siding/wood,
/obj/structure/centcom_teleporter/spawn_area,
/turf/open/floor/wood/large,
/area/centcom/central_command_areas/ghost_spawn)
/area/centcom/central_command_areas/hall)
"Fz" = (
/turf/open/floor/mineral/plastitanium/red,
/area/centcom/syndicate_mothership)
Expand Down Expand Up @@ -12928,13 +12913,6 @@
},
/turf/open/floor/iron/dark/textured_large,
/area/centcom/syndicate_mothership/control)
"Kg" = (
/obj/structure/hedge,
/obj/effect/turf_decal/siding/wood/corner{
dir = 1
},
/turf/open/floor/wood/large,
/area/centcom/central_command_areas/ghost_spawn)
"Kh" = (
/obj/effect/turf_decal/siding/dark{
dir = 10
Expand Down Expand Up @@ -14570,7 +14548,7 @@
dir = 8
},
/turf/open/floor/glass/reinforced,
/area/centcom/central_command_areas/ghost_spawn)
/area/centcom/central_command_areas/hall)
"OC" = (
/obj/structure/table/reinforced,
/obj/item/toy/plush/space_lizard_plushie{
Expand Down Expand Up @@ -15645,7 +15623,7 @@
/obj/machinery/light/floor/has_bulb,
/obj/structure/flora/bush/large/style_3,
/turf/open/floor/grass,
/area/centcom/central_command_areas/ghost_spawn)
/area/centcom/central_command_areas/hall)
"RF" = (
/obj/structure/table/reinforced,
/obj/item/crowbar/red,
Expand Down Expand Up @@ -61205,13 +61183,13 @@ An
xT
bw
dE
rj
rj
sO
sO
nk
iu
Xc
rj
rj
sO
sO
Of
xu
VF
Expand Down Expand Up @@ -61462,13 +61440,13 @@ An
An
in
mQ
rj
sO
uA
Kg
TW
RE
np
FK
nF
io
dG
wc
hE
lI
Expand Down Expand Up @@ -61979,7 +61957,7 @@ BE
nk
wH
DR
hL
YF
uC
wH
Fx
Expand Down Expand Up @@ -62490,13 +62468,13 @@ An
An
DO
mQ
rj
sO
zJ
bS
Tr
RE
gg
kO
nR
io
dG
wc
hE
lI
Expand Down Expand Up @@ -62747,13 +62725,13 @@ An
xo
nd
dE
rj
rj
sO
sO
nk
iu
Xc
rj
rj
sO
sO
eP
Ut
fe
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/bloodsuckers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//#define BLOODSUCKER_TESTING

/// You have special interactions with Bloodsuckers
#define TRAIT_BLOODSUCKER_HUNTER "bloodsucker_hunter"
#define TRAIT_OCCULTIST "occultist"

/**
* Blood-level defines
Expand Down
5 changes: 5 additions & 0 deletions code/__DEFINES/~monkestation/antagonists.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Monster Hunter stuff
#define upgraded_val(x,y) ( CEILING((x * (1.07 ** y)), 1) )
#define CALIBER_BLOODSILVER "bloodsilver"
#define WEAPON_UPGRADE "weapon_upgrade"

/// List of areas blacklisted from area based traitor objectives
#define TRAITOR_OBJECTIVE_BLACKLISTED_AREAS list(/area/station/engineering/hallway, \
/area/station/engineering/lobby, \
Expand Down
25 changes: 25 additions & 0 deletions code/__HELPERS/~monkestation-helpers/antags.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/// List of antagonists that can be considered prey by monster hunters.
GLOBAL_LIST_INIT(monster_hunter_prey_antags, typecacheof(list(
/datum/antagonist/bloodsucker,
/datum/antagonist/changeling,
/datum/antagonist/heretic
)))

/proc/is_monster_hunter_prey(datum/mind/victim)
. = FALSE
if(isliving(victim))
var/mob/living/living_victim = victim
victim = living_victim.mind
if(!istype(victim) || QDELING(victim))
return FALSE
for(var/datum/antagonist/antag as anything in victim.antag_datums)
if(is_type_in_typecache(antag, GLOB.monster_hunter_prey_antags))
return TRUE

/proc/get_all_monster_hunter_prey(include_dead = FALSE)
. = list()
for(var/datum/antagonist/monster as anything in GLOB.antagonists)
if(QDELETED(monster?.owner?.current) || (!include_dead && monster.owner.current.stat == DEAD))
continue
if(is_type_in_typecache(monster, GLOB.monster_hunter_prey_antags))
. += monster.owner
2 changes: 1 addition & 1 deletion code/modules/antagonists/heretic/influences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@

/obj/effect/visible_heretic_influence/examine(mob/user)
. = ..()
if(IS_HERETIC(user) || !ishuman(user))
if(IS_HERETIC(user) || !ishuman(user) || IS_MONSTERHUNTER(user))
return

var/mob/living/carbon/human/human_user = user
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/basic/pets/sloth.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ GLOBAL_DATUM(cargo_sloth, /mob/living/basic/sloth)
AddElement(/datum/element/ai_retaliate)
AddComponent(/datum/component/tree_climber)

if(!mapload || isnull(GLOB.cargo_sloth) || !is_station_level(z))
if(!mapload || !isnull(GLOB.cargo_sloth) || !is_station_level(z))
return

// If someone adds non-cargo sloths to maps we'll have a problem but we're fine for now
Expand Down
4 changes: 3 additions & 1 deletion code/modules/mob/living/silicon/robot/emote.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/datum/emote/silicon
mob_type_allowed_typecache = list(/mob/living/silicon, /mob/living/simple_animal/bot)
// MONKESTATION REMOVAL - Replaced with `/datum/emote/silicon/can_run_emote()`, which is used to
// enable silicon emotes for users with synthetic voice boxes.
//mob_type_allowed_typecache = list(/mob/living/silicon, /mob/living/simple_animal/bot)
emote_type = EMOTE_AUDIBLE

/datum/emote/silicon/boop
Expand Down
2 changes: 1 addition & 1 deletion code/modules/zombie/items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
if(!target.get_bodypart(BODY_ZONE_HEAD))
return

if(NOZOMBIE in target.dna.species.species_traits)
if((NOZOMBIE in target.dna.species.species_traits) || HAS_TRAIT(target, TRAIT_NO_ZOMBIFY))
// cannot infect any NOZOMBIE subspecies (such as high functioning
// zombies)
return
Expand Down
2 changes: 2 additions & 0 deletions code/modules/zombie/organs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
Remove(owner)
if(owner.mob_biotypes & MOB_MINERAL)//does not process in inorganic things
return
if(HAS_TRAIT(owner, TRAIT_NO_ZOMBIFY))
return
if (causes_damage && !iszombie(owner) && owner.stat != DEAD)
owner.adjustToxLoss(0.5 * seconds_per_tick)
if (SPT_PROB(5, seconds_per_tick))
Expand Down
6 changes: 0 additions & 6 deletions html/changelogs/AutoChangeLog-pr-1662.yml

This file was deleted.

5 changes: 0 additions & 5 deletions html/changelogs/AutoChangeLog-pr-1791.yml

This file was deleted.

4 changes: 0 additions & 4 deletions html/changelogs/AutoChangeLog-pr-1809.yml

This file was deleted.

4 changes: 0 additions & 4 deletions html/changelogs/AutoChangeLog-pr-1814.yml

This file was deleted.

Loading

0 comments on commit 6c3f744

Please sign in to comment.