Skip to content

Commit

Permalink
Merge upstream 27.11.24 (#817)
Browse files Browse the repository at this point in the history
## About The Pull Request
Мерге

---------

Co-authored-by: Ghom <[email protected]>
Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com>
Co-authored-by: Time-Green <[email protected]>
Co-authored-by: Boviro <[email protected]>
Co-authored-by: MrMelbert <[email protected]>
Co-authored-by: Lucy <[email protected]>
Co-authored-by: ValuedEmployee <[email protected]>
  • Loading branch information
8 people authored Nov 27, 2024
2 parents 9a72652 + 8e4d295 commit b444f2c
Show file tree
Hide file tree
Showing 16 changed files with 79 additions and 26 deletions.
4 changes: 4 additions & 0 deletions code/datums/brain_damage/split_personality.dm
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@

/datum/brain_trauma/severe/split_personality/blackout/on_gain()
. = ..()

if(QDELETED(src))
return

RegisterSignal(owner, COMSIG_ATOM_SPLASHED, PROC_REF(on_splashed))
notify_ghosts(
"[owner] is blacking out!",
Expand Down
12 changes: 6 additions & 6 deletions code/datums/wires/mulebot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,24 @@
if(WIRE_MOTOR1, WIRE_MOTOR2)
if(is_cut(WIRE_MOTOR1) && is_cut(WIRE_MOTOR2))
ADD_TRAIT(mule, TRAIT_IMMOBILIZED, MOTOR_LACK_TRAIT)
holder.audible_message(span_hear("The motors of [src] go silent."), null, 1)
holder.audible_message(span_hear("The motors of [mule] go silent."), null, 1)
else
REMOVE_TRAIT(mule, TRAIT_IMMOBILIZED, MOTOR_LACK_TRAIT)
holder.audible_message(span_hear("The motors of [src] whir to life!"), null, 1)
holder.audible_message(span_hear("The motors of [mule] whir to life!"), null, 1)

if(is_cut(WIRE_MOTOR1))
mule.set_varspeed(FAST_MOTOR_SPEED)
holder.audible_message(span_hear("The motors of [src] speed up!"), null, 1)
holder.audible_message(span_hear("The motors of [mule] speed up!"), null, 1)
else if(is_cut(WIRE_MOTOR2))
mule.set_varspeed(AVERAGE_MOTOR_SPEED)
holder.audible_message(span_hear("The motors of [src] whir."), null, 1)
holder.audible_message(span_hear("The motors of [mule] whir."), null, 1)
else
mule.set_varspeed(SLOW_MOTOR_SPEED)
holder.audible_message(span_hear("The motors of [src] move gently."), null, 1)
holder.audible_message(span_hear("The motors of [mule] move gently."), null, 1)
if(WIRE_AVOIDANCE)
if (!isnull(source))
log_combat(source, mule, "[is_cut(WIRE_AVOIDANCE) ? "cut" : "mended"] the MULE safety wire of")
holder.audible_message(span_hear("Something inside [src] clicks ominously!"), null, 1)
holder.audible_message(span_hear("Something inside [mule] clicks ominously!"), null, 1)

/datum/wires/mulebot/on_pulse(wire)
var/mob/living/simple_animal/bot/mulebot/mule = holder
Expand Down
2 changes: 1 addition & 1 deletion code/modules/fishing/fish/_fish.dm
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@

// Do additional stuff
// Start flopping if outside of fish container
var/should_be_flopping = status == FISH_ALIVE && !HAS_TRAIT(src, TRAIT_FISH_STASIS) && loc && HAS_TRAIT(loc, TRAIT_IS_AQUARIUM)
var/should_be_flopping = status == FISH_ALIVE && !HAS_TRAIT(src, TRAIT_FISH_STASIS) && loc && !HAS_TRAIT(loc, TRAIT_IS_AQUARIUM)

if(should_be_flopping)
start_flopping()
Expand Down
4 changes: 1 addition & 3 deletions code/modules/mob/living/brain/brain_item.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@

/obj/item/organ/brain/on_mob_insert(mob/living/carbon/brain_owner, special = FALSE, movement_flags)
. = ..()
if(!.)
return

name = initial(name)

Expand Down Expand Up @@ -116,7 +114,7 @@
// Run the try_ proc with force = TRUE.
skillchip.try_deactivate_skillchip(silent = special, force = TRUE)

. = ..()
..()

for(var/X in traumas)
var/datum/brain_trauma/BT = X
Expand Down
30 changes: 30 additions & 0 deletions code/modules/mob/living/carbon/emote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,36 @@
if(user.put_in_hands(N))
to_chat(user, span_notice("You make a circle with your hand."))

/datum/emote/living/carbon/meow
key = "meow"
key_third_person = "meows"
vary = TRUE

/datum/emote/living/carbon/meow/run_emote(mob/user, params, type_override, intentional)
. = ..()
if(istype(user.get_organ_slot(ORGAN_SLOT_TONGUE), /obj/item/organ/tongue/cat))
sound = SFX_CAT_MEOW
message = "meows!"
emote_type = EMOTE_VISIBLE | EMOTE_AUDIBLE
else
to_chat(user, span_warning("You can't quite make the sound."))
return

/datum/emote/living/carbon/purr
key = "purr"
key_third_person = "purrs"
vary = TRUE

/datum/emote/living/carbon/purr/run_emote(mob/user, params, type_override, intentional)
. = ..()
if(istype(user.get_organ_slot(ORGAN_SLOT_TONGUE), /obj/item/organ/tongue/cat))
sound = SFX_CAT_PURR
message = "purrs."
emote_type = EMOTE_VISIBLE | EMOTE_AUDIBLE
else
to_chat(user, span_warning("You can't quite make the sound."))
return

/datum/emote/living/carbon/moan
key = "moan"
key_third_person = "moans"
Expand Down
1 change: 1 addition & 0 deletions code/modules/mod/mod_theme.dm
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@
slowdown_active = 1
allowed_suit_storage = list(
/obj/item/analyzer,
/obj/item/extinguisher,
/obj/item/fireaxe/metal_h2_axe,
/obj/item/pipe_dispenser,
/obj/item/t_scanner,
Expand Down
2 changes: 1 addition & 1 deletion code/modules/surgery/organ_manipulation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

/datum/surgery/organ_manipulation/Destroy()
if(QDELETED(target) || !HAS_TRAIT(target, TRAIT_FISHING_SPOT))
return
return ..()
// The surgery is not finished yet and we're currently on manipulate organs step
if(status <= length(steps) && ispath(steps[status], /datum/surgery_step/manipulate_organs))
remove_fishing_spot()
Expand Down
6 changes: 0 additions & 6 deletions html/changelogs/AutoChangeLog-pr-88182.yml

This file was deleted.

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

This file was deleted.

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

This file was deleted.

4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-88207.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "Absolucy"
delete-after: True
changes:
- bugfix: "ACTUALLY allow dot radio prefixes to also work with the tgui-say radio prefix display."
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-88212.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "ValuedEmployee"
delete-after: True
changes:
- rscadd: "New purr and meow emotes for players with felinid tongues"
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-88218.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "Melbert"
delete-after: True
changes:
- bugfix: "Maybe fixes some organ manipulation bugs"
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-88220.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "Melbert"
delete-after: True
changes:
- bugfix: "Mulebot wire hacking is less fourth wall breaking"
18 changes: 18 additions & 0 deletions html/changelogs/archive/2024-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -962,3 +962,21 @@
- bugfix: Fixed a (non-player facing) runtime in organ manipulation surgery
grungussuss:
- rscdel: The northstar arcship has been removed. :(
2024-11-27:
Boviro:
- qol: Atmos MODsuits can now hold extinguishers on their suit slot
Ghommie:
- bugfix: FIsh flops again.
Melbert:
- balance: Morphine's sedative power has been halved. It now takes ~10 units to
guarantee sleep, up from ~5.
- balance: Morphine now causes mild disgust.
- balance: Morphine is now twice as addictive, causing addiction if you down over
~30 units without pause.
SmArtKar:
- sound: Reduced volume of fire sounds
Time-Green:
- bugfix: No more "is blacking out!"
- bugfix: Brain transplants work again
carlarctg:
- spellcheck: Fixes a typo in legionnaire abilities
2 changes: 1 addition & 1 deletion tgui/packages/tgui-say/TguiSay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type State = {
size: WINDOW_SIZES;
};

const CHANNEL_REGEX = /^[.:][\wА-Яа-яёЁ]\s/; // BANDATSTATION EDIT - Original: const CHANNEL_REGEX = /^:\w\s/;
const CHANNEL_REGEX = /^[:.][\wА-Яа-яёЁ]\s/;

export class TguiSay extends Component<{}, State> {
private channelIterator: ChannelIterator;
Expand Down

0 comments on commit b444f2c

Please sign in to comment.