Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorenon committed Feb 8, 2025
1 parent f01793d commit 1341dba
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,6 @@

/obj/machinery/atmospherics/components/update_layer()
layer = initial(layer) + (piping_layer - PIPING_LAYER_DEFAULT) * PIPING_LAYER_LCHANGE + (GLOB.pipe_colors_ordered[pipe_color] * 0.001)

/obj/machinery/atmospherics/components/container_resist_act(mob/living/user)
INVOKE_ASYNC(user, TYPE_PROC_REF(/mob/living, handle_ventcrawl), src)
4 changes: 4 additions & 0 deletions code/modules/jobs/job_types/_job.dm
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,10 @@
if(!GLOB.current_anonymous_theme && player_client.prefs.read_preference(/datum/preference/name/cyborg) != DEFAULT_CYBORG_NAME)
apply_pref_name(/datum/preference/name/cyborg, player_client)

// monkestation edit start
TryConnectToAI() // needs to happen before the client is transfered to the mob
// monkestation edit end

/**
* Called after a successful roundstart spawn.
* Client is not yet in the mob.
Expand Down
1 change: 0 additions & 1 deletion code/modules/jobs/job_types/cyborg.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
spawned.gender = NEUTER
var/mob/living/silicon/robot/robot_spawn = spawned
robot_spawn.notify_ai(AI_NOTIFICATION_NEW_BORG)
robot_spawn.TryConnectToAI()
if(!robot_spawn.connected_ai) // Only log if there's no Master AI
robot_spawn.log_current_laws()
return TRUE
Expand Down
2 changes: 2 additions & 0 deletions code/modules/mob/living/emote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,8 @@ monkestation edit end */
key = "me"
key_third_person = "custom"
message = null
muzzle_ignore = TRUE // monkestation addition
stat_allowed = SOFT_CRIT // monkestation addition

/datum/emote/living/custom/can_run_emote(mob/user, status_check, intentional)
. = ..() && intentional
Expand Down
4 changes: 4 additions & 0 deletions code/modules/projectiles/boxes_magazines/_box_magazine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -216,3 +216,7 @@
/obj/item/ammo_box/magazine/handle_atom_del(atom/A)
stored_ammo -= A
update_ammo_count()

/obj/item/ammo_box/handle_atom_del(atom/A)
stored_ammo.Remove(A)
return ..()
5 changes: 5 additions & 0 deletions code/modules/projectiles/guns/ballistic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,11 @@ GLOBAL_LIST_INIT(gun_saw_types, typecacheof(list(
chamber_round()
update_appearance()

/obj/item/gun/ballistic/handle_atom_del(atom/A)
if(istype(A, /obj/item/ammo_casing) && magazine)
magazine.handle_atom_del(A)
return ..()

/obj/item/suppressor
name = "suppressor"
desc = "A syndicate small-arms suppressor for maximum espionage."
Expand Down
1 change: 1 addition & 0 deletions monkestation/code/modules/emotes/code/emote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@
/datum/emote/spin/speen
key = "speen"
key_third_person = "speens"
message = "speens!"
emote_type = EMOTE_VISIBLE | EMOTE_AUDIBLE
mob_type_allowed_typecache = /mob/living
mob_type_blacklist_typecache = list(/mob/living/brain)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
owner_dna = null
update_id(user)
return TRUE
return ..()

/obj/item/gun/energy/e_gun/lawbringer/attack_self(mob/living/user as mob)
if(!iscarbon(user))
Expand Down

0 comments on commit 1341dba

Please # to comment.