Skip to content

Commit

Permalink
Merge upstream 25.11.24 (#801)
Browse files Browse the repository at this point in the history
## About The Pull Request
Апстрим

---------

Co-authored-by: Ben10Omintrix <[email protected]>
Co-authored-by: grungussuss <[email protected]>
Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com>
Co-authored-by: SmArtKar <[email protected]>
Co-authored-by: Mifutus <[email protected]>
Co-authored-by: Ghom <[email protected]>
Co-authored-by: EnterTheJake <[email protected]>
Co-authored-by: Dawnseer <[email protected]>
Co-authored-by: Cruix <[email protected]>
Co-authored-by: GoblinBackwards <[email protected]>
Co-authored-by: Lucy <[email protected]>
Co-authored-by: jimmyl <[email protected]>
Co-authored-by: Tim <[email protected]>
Co-authored-by: MrMelbert <[email protected]>
Co-authored-by: Auris456852 <[email protected]>
  • Loading branch information
16 people authored Nov 24, 2024
2 parents d9ce2e7 + d3f8d1f commit 36c5c2e
Show file tree
Hide file tree
Showing 107 changed files with 455 additions and 287 deletions.
87 changes: 66 additions & 21 deletions _maps/map_files/wawastation/wawastation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -8907,6 +8907,7 @@
/obj/effect/turf_decal/tile/purple/opposingcorners,
/obj/structure/cable,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/turf/open/floor/iron/white,
/area/station/science/lobby)
"dkq" = (
Expand Down Expand Up @@ -14049,6 +14050,8 @@
/obj/machinery/power/apc/auto_name/directional/south,
/obj/structure/cable,
/obj/effect/decal/cleanable/dirt/dust,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/plating,
/area/station/maintenance/department/science)
"eZQ" = (
Expand Down Expand Up @@ -17845,6 +17848,8 @@
/area/station/engineering/atmos/upper)
"grl" = (
/obj/structure/cable,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/iron/white,
/area/station/science/lobby)
"grm" = (
Expand Down Expand Up @@ -19114,6 +19119,8 @@
"gMK" = (
/obj/structure/cable,
/obj/effect/decal/cleanable/dirt/dust,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/plating,
/area/station/maintenance/department/science)
"gNd" = (
Expand Down Expand Up @@ -20275,6 +20282,12 @@
/obj/structure/lattice,
/turf/open/misc/asteroid/airless,
/area/space/nearstation)
"hgX" = (
/obj/effect/decal/cleanable/dirt/dust,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/plating,
/area/station/maintenance/department/science)
"hhd" = (
/obj/machinery/door/poddoor/shutters{
id = "ordauxgarage";
Expand Down Expand Up @@ -26289,6 +26302,8 @@
dir = 1
},
/obj/effect/decal/cleanable/blood/old,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/iron/white,
/area/station/science/lobby)
"jrm" = (
Expand Down Expand Up @@ -28847,6 +28862,8 @@
/obj/effect/mapping_helpers/airlock/unres{
dir = 1
},
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/plating,
/area/station/maintenance/department/science)
"kjv" = (
Expand Down Expand Up @@ -33126,6 +33143,12 @@
/obj/machinery/atmospherics/components/unary/vent_pump/on/layer4,
/turf/open/floor/iron,
/area/station/hallway/secondary/exit/departure_lounge)
"lIW" = (
/obj/item/stack/cable_coil{
amount = 1
},
/turf/open/floor/plating/airless,
/area/station/solars/port/fore)
"lIZ" = (
/obj/effect/turf_decal/sand/plating,
/obj/machinery/vending/boozeomat,
Expand Down Expand Up @@ -35988,6 +36011,7 @@
dir = 8
},
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/turf/open/floor/iron/white,
/area/station/science/lobby)
"mJL" = (
Expand Down Expand Up @@ -36694,6 +36718,13 @@
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/carpet,
/area/station/commons/dorms)
"mXF" = (
/obj/effect/mapping_helpers/broken_floor,
/obj/item/stack/cable_coil{
amount = 1
},
/turf/open/floor/plating/airless,
/area/station/solars/starboard/fore)
"mXJ" = (
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
Expand Down Expand Up @@ -41877,6 +41908,7 @@
/obj/effect/turf_decal/tile/purple/half/contrasted,
/obj/structure/cable,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/turf/open/floor/iron/white,
/area/station/science/lobby)
"oUb" = (
Expand Down Expand Up @@ -47752,6 +47784,7 @@
"qXy" = (
/obj/structure/cable,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/turf/open/floor/iron/white,
/area/station/science/lobby)
"qXB" = (
Expand Down Expand Up @@ -48038,13 +48071,6 @@
"rcl" = (
/turf/closed/wall/r_wall,
/area/station/security/execution/transfer)
"rcp" = (
/obj/machinery/power/solar{
id = "forestarboard";
name = "Fore-Starboard Solar Array"
},
/turf/open/floor/iron/solarpanel/airless,
/area/station/solars/starboard/fore)
"rcs" = (
/obj/effect/decal/cleanable/dirt,
/turf/open/floor/plating,
Expand Down Expand Up @@ -49260,6 +49286,11 @@
"ruZ" = (
/turf/closed/wall/r_wall,
/area/station/maintenance/department/engine)
"rvg" = (
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/iron/white,
/area/station/science/lobby)
"rvo" = (
/obj/machinery/light/small/dim/directional/west,
/obj/effect/turf_decal/tile/green/half/contrasted{
Expand Down Expand Up @@ -55454,6 +55485,7 @@
/area/station/hallway/secondary/exit/departure_lounge)
"tAt" = (
/obj/machinery/power/smes,
/obj/structure/cable,
/turf/open/floor/plating,
/area/station/maintenance/solars/port/aft)
"tAw" = (
Expand Down Expand Up @@ -56116,6 +56148,8 @@
"tLH" = (
/obj/item/storage/fancy/candle_box,
/obj/effect/decal/cleanable/dirt/dust,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/plating,
/area/station/maintenance/department/science)
"tLI" = (
Expand Down Expand Up @@ -58015,6 +58049,13 @@
/obj/machinery/firealarm/directional/south,
/turf/open/floor/iron,
/area/station/hallway/primary/central)
"urS" = (
/obj/structure/lattice/catwalk,
/obj/item/stack/cable_coil{
amount = 1
},
/turf/open/space/basic,
/area/station/solars/port/fore)
"urT" = (
/obj/structure/cable,
/obj/machinery/atmospherics/components/unary/vent_pump/on/layer4{
Expand Down Expand Up @@ -64657,6 +64698,8 @@
/area/station/command/heads_quarters/captain/private)
"wMB" = (
/obj/effect/turf_decal/siding,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/iron/textured,
/area/station/science/lobby)
"wME" = (
Expand Down Expand Up @@ -65159,6 +65202,8 @@
"wWY" = (
/obj/effect/decal/cleanable/dirt/dust,
/obj/effect/decal/cleanable/blood/old,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
/turf/open/floor/plating,
/area/station/maintenance/department/science)
"wWZ" = (
Expand Down Expand Up @@ -77689,7 +77734,7 @@ rGO
opZ
opZ
fYX
rGO
urS
opZ
opZ
opZ
Expand Down Expand Up @@ -77947,7 +77992,7 @@ sKL
rGO
nMk
rGO
nMk
lIW
rGO
sKL
rGO
Expand Down Expand Up @@ -78204,7 +78249,7 @@ opZ
opZ
fYX
rGO
fYX
opZ
opZ
opZ
opZ
Expand Down Expand Up @@ -78460,8 +78505,8 @@ rGO
sKL
rGO
nMk
rGO
nMk
urS
lIW
rGO
sKL
rGO
Expand Down Expand Up @@ -78718,10 +78763,10 @@ opZ
opZ
fYX
rGO
fYX
opZ
opZ
fYX
opZ
opZ
cLf
iUF
dUc
Expand Down Expand Up @@ -102881,7 +102926,7 @@ vxX
vxX
gvF
dnW
iKc
rvg
slL
iKc
cRV
Expand Down Expand Up @@ -103138,7 +103183,7 @@ uJt
vfJ
gvF
eBY
iKc
rvg
vuq
hPH
iKc
Expand Down Expand Up @@ -103395,7 +103440,7 @@ wWY
kju
wMB
jrd
iKc
rvg
slL
slL
slL
Expand Down Expand Up @@ -103648,7 +103693,7 @@ cLf
vxX
uJt
eJr
uba
hgX
vfJ
aTU
jUi
Expand Down Expand Up @@ -112115,7 +112160,7 @@ cLS
qSb
qSb
qSb
qSb
mXF
qSb
hsz
hsz
Expand Down Expand Up @@ -112363,7 +112408,7 @@ shs
cLf
pbP
rst
rcp
pih
rst
pih
rst
Expand Down Expand Up @@ -112620,7 +112665,7 @@ shs
cLf
cLf
cLf
rcp
pih
rst
pih
rst
Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/footsteps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,4 @@ GLOBAL_LIST_INIT(heavyfootstep, list(
'sound/effects/meatslap.ogg'), 100, 0),
))

#define SHOULD_DISABLE_FOOTSTEPS(source) ((SSlag_switch.measures[DISABLE_FOOTSTEPS] && !(HAS_TRAIT(source, TRAIT_BYPASS_MEASURES))) || HAS_TRAIT(source, TRAIT_SILENT_FOOTSTEPS))
2 changes: 2 additions & 0 deletions code/__DEFINES/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@
#define SLIPPERY_TURF (1<<5)
/// For mobs who are slippery, this requires the mob holding it to be lying down.
#define SLIPPERY_WHEN_LYING_DOWN (1<<6)
///Like sliding, but it's short, it doesn't knockdown, it doesn't stun, it just staggers a bit.
#define WEAK_SLIDE (1<<7)

#define MAX_CHICKENS 50

Expand Down
2 changes: 2 additions & 0 deletions code/_onclick/hud/hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ GLOBAL_LIST_INIT(available_ui_styles, list(
SIGNAL_HANDLER
update_parallax_pref() // If your eye changes z level, so should your parallax prefs
var/turf/eye_turf = get_turf(eye)
if(!eye_turf)
return
SEND_SIGNAL(src, COMSIG_HUD_Z_CHANGED, eye_turf.z)
var/new_offset = GET_TURF_PLANE_OFFSET(eye_turf)
if(current_plane_offset == new_offset)
Expand Down
2 changes: 1 addition & 1 deletion code/datums/actions/mobs/fire_breath.dm
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
/datum/action/cooldown/mob_cooldown/fire_breath/mass_fire
name = "Mass Fire"
button_icon = 'icons/effects/fire.dmi'
button_icon_state = "1"
button_icon_state = "light"
desc = "Breathe flames in all directions."
cooldown_time = 10.5 SECONDS
click_to_activate = FALSE
Expand Down
4 changes: 2 additions & 2 deletions code/datums/ai/monkey/monkey_behaviors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@
return AI_BEHAVIOR_DELAY | AI_BEHAVIOR_SUCCEEDED

// check if target has a weapon
var/holding_weapon = FALSE
var/holding_weapon
for(var/obj/item/potential_weapon in target.held_items)
if(!(potential_weapon.item_flags & ABSTRACT))
holding_weapon = TRUE
holding_weapon = potential_weapon
break

var/attack_results = monkey_attack(controller, target, seconds_per_tick, holding_weapon && SPT_PROB(MONKEY_ATTACK_DISARM_PROB, seconds_per_tick), holding_weapon)
Expand Down
11 changes: 9 additions & 2 deletions code/datums/chatmessage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
var/animate_start = 0
/// Our animation lifespan, how long this message will last
var/animate_lifespan = 0
/// Callback to finish_image_generation passed to SSrunechat
var/datum/callback/finish_callback

/**
* Constructs a chat message overlay
Expand Down Expand Up @@ -81,6 +83,10 @@
LAZYREMOVEASSOC(owned_by.seen_messages, message_loc, src)
owned_by.images.Remove(message)

if (finish_callback)
SSrunechat.message_queue -= finish_callback
finish_callback = null

owned_by = null
message_loc = null
message = null
Expand Down Expand Up @@ -192,13 +198,14 @@
if(!VERB_SHOULD_YIELD)
return finish_image_generation(mheight, target, owner, complete_text, lifespan)

var/datum/callback/our_callback = CALLBACK(src, PROC_REF(finish_image_generation), mheight, target, owner, complete_text, lifespan)
SSrunechat.message_queue += our_callback
finish_callback = CALLBACK(src, PROC_REF(finish_image_generation), mheight, target, owner, complete_text, lifespan)
SSrunechat.message_queue += finish_callback
return

///finishes the image generation after the MeasureText() call in generate_image().
///necessary because after that call the proc can resume at the end of the tick and cause overtime.
/datum/chatmessage/proc/finish_image_generation(mheight, atom/target, mob/owner, complete_text, lifespan)
finish_callback = null
var/rough_time = REALTIMEOFDAY
approx_lines = max(1, mheight / CHAT_MESSAGE_APPROX_LHEIGHT)
var/starting_height = target.maptext_height
Expand Down
4 changes: 0 additions & 4 deletions code/datums/elements/footstep.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#define SHOULD_DISABLE_FOOTSTEPS(source) ((SSlag_switch.measures[DISABLE_FOOTSTEPS] && !(HAS_TRAIT(source, TRAIT_BYPASS_MEASURES))) || HAS_TRAIT(source, TRAIT_SILENT_FOOTSTEPS))

///Footstep element. Plays footsteps at parents location when it is appropriate.
/datum/element/footstep
element_flags = ELEMENT_DETACH_ON_HOST_DESTROY|ELEMENT_BESPOKE
Expand Down Expand Up @@ -231,5 +229,3 @@
return

playsound(source_loc, footstep_sounds, 50, falloff_distance = 1, vary = sound_vary)

#undef SHOULD_DISABLE_FOOTSTEPS
Loading

0 comments on commit 36c5c2e

Please sign in to comment.