diff --git a/code/__HELPERS/game.dm b/code/__HELPERS/game.dm index bc06c3d239c..119a28f22a7 100644 --- a/code/__HELPERS/game.dm +++ b/code/__HELPERS/game.dm @@ -18,9 +18,9 @@ /proc/get_area(O) var/turf/loc = get_turf(O) - if(!loc) - return null - return loc.loc + if(loc) + var/area/res = loc.loc + .= res.master /proc/get_area_name(N) //get area by its name for(var/area/A in world) @@ -498,6 +498,6 @@ datum/projectile_data /proc/MinutesToTicks(var/minutes) return SecondsToTicks(60 * minutes) - + /proc/SecondsToTicks(var/seconds) return seconds * 10 diff --git a/code/game/machinery/doors/door.dm b/code/game/machinery/doors/door.dm index 406ef8611e8..c56c416a742 100644 --- a/code/game/machinery/doors/door.dm +++ b/code/game/machinery/doors/door.dm @@ -309,7 +309,7 @@ /obj/machinery/door/examine(mob/user) - ..() + . = ..() if(src.health < src.maxhealth / 4) user << "\The [src] looks like it's about to break!" else if(src.health < src.maxhealth / 2) diff --git a/code/game/machinery/doors/firedoor.dm b/code/game/machinery/doors/firedoor.dm index 9ae8751a7af..790f94fd172 100644 --- a/code/game/machinery/doors/firedoor.dm +++ b/code/game/machinery/doors/firedoor.dm @@ -77,7 +77,8 @@ /obj/machinery/door/firedoor/examine(mob/user) - if(!..(user, 1) && !isAI(user)) + . = ..() + if(!. || !density) return if(pdiff >= FIREDOOR_MAX_PRESSURE_DIFF) diff --git a/code/game/objects/items/weapons/clown_items.dm b/code/game/objects/items/weapons/clown_items.dm index 656197fee07..4536123b86d 100644 --- a/code/game/objects/items/weapons/clown_items.dm +++ b/code/game/objects/items/weapons/clown_items.dm @@ -29,6 +29,10 @@ else if(istype(target,/obj/effect/decal/cleanable)) user << "You scrub \the [target.name] out." del(target) + else if(istype(target,/turf)) + user << "You scrub \the [target.name] clean." + var/turf/T = target + T.clean() else user << "You clean \the [target.name]." target.clean_blood() diff --git a/code/modules/assembly/signaler.dm b/code/modules/assembly/signaler.dm index 0b2acd5a5b0..ba70b45da43 100644 --- a/code/modules/assembly/signaler.dm +++ b/code/modules/assembly/signaler.dm @@ -169,4 +169,5 @@ set desc = "BOOOOM!" deadman = 1 processing_objects.Add(src) + log_and_message_admins("is threatening to trigger a signaler deadman's switch") usr.visible_message("\red [usr] moves their finger over [src]'s signal button...") diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm index e3ce0c93022..244541a1993 100644 --- a/code/modules/mob/living/living_defense.dm +++ b/code/modules/mob/living/living_defense.dm @@ -52,6 +52,7 @@ if(istype(get_active_hand(),/obj/item/device/assembly/signaler)) var/obj/item/device/assembly/signaler/signaler = get_active_hand() if(signaler.deadman && prob(80)) + log_and_message_admins("has triggered a signaler deadman's switch") src.visible_message("\red [src] triggers their deadman's switch!") signaler.signal() diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 14d53317b3f..39e3fa591da 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -779,6 +779,8 @@ note dizziness decrements automatically in the mob's Life() proc. else statpanel(listed_turf.name, null, listed_turf) for(var/atom/A in listed_turf) + if(!A.mouse_opacity) + continue if(A.invisibility > see_invisible) continue if(is_type_in_list(A, shouldnt_see)) diff --git a/code/modules/power/apc.dm b/code/modules/power/apc.dm index fb68cea74c9..c6dfcd55bee 100644 --- a/code/modules/power/apc.dm +++ b/code/modules/power/apc.dm @@ -1196,10 +1196,12 @@ obj/machinery/power/apc/proc/autoset(var/val, var/on) equipment = 0 environ = 0 update() + update_icon() spawn(600) update_channels() update() + update_icon() ..() /obj/machinery/power/apc/ex_act(severity) diff --git a/code/modules/reagents/reagent_containers/food/cans.dm b/code/modules/reagents/reagent_containers/food/cans.dm index 0129423f4fe..15bb64089d0 100644 --- a/code/modules/reagents/reagent_containers/food/cans.dm +++ b/code/modules/reagents/reagent_containers/food/cans.dm @@ -173,8 +173,7 @@ center_of_mass = list("x"=16, "y"=10) New() ..() - reagents.add_reagent("cola", 15) - reagents.add_reagent("orangejuice", 15) + reagents.add_reagent("brownstar", 30) /obj/item/weapon/reagent_containers/food/drinks/cans/space_up name = "Space-Up" diff --git a/nano/images/nanomap_z1.png b/nano/images/nanomap_z1.png index bed65e9b01c..079c4379b7f 100644 Binary files a/nano/images/nanomap_z1.png and b/nano/images/nanomap_z1.png differ