Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _maps/RandomRuins/SpaceRuins/Academy.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@
"cF" = (
/obj/effect/immovablerod{
dir = 4
notdebris = 1
},
/obj/structure/cable,
/obj/structure/cable{
Expand Down
1 change: 1 addition & 0 deletions _maps/RandomZLevels/Academy.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -4019,6 +4019,7 @@
"lK" = (
/obj/effect/immovablerod{
dir = 4
notdebris = 1
},
/obj/structure/cable,
/obj/structure/cable{
Expand Down
4 changes: 3 additions & 1 deletion _maps/map_files/generic/CentCom.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -20593,7 +20593,9 @@
/turf/closed/indestructible/riveted,
/area/centcom/testchamber)
"TY" = (
/obj/effect/immovablerod/duck,
/obj/effect/immovablerod/duck{
notdebris = 1
},
/turf/open/floor/engine,
/area/centcom/testchamber)
"Ub" = (
Expand Down
3 changes: 3 additions & 0 deletions code/modules/events/immovable_rod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ In my current plan for it, 'solid' will be defined as anything with density == 1
var/destination
var/notify = TRUE
var/atom/special_target
var/notdebris = FALSE

/obj/effect/immovablerod/New(atom/start, atom/end, aimed_at)
..()
Expand All @@ -62,6 +63,8 @@ In my current plan for it, 'solid' will be defined as anything with density == 1
destination = end
special_target = aimed_at
GLOB.poi_list += src
if(notdebris)
SSaugury.unregister_doom(src)

var/special_target_valid = FALSE
if(special_target)
Expand Down
3 changes: 2 additions & 1 deletion yogstation/code/modules/events/immovable_duck.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
. = ..()
SpinAnimation(24,-1)


/obj/effect/immovablerod/duck/Bump(atom/clong)
if(prob(90))
playsound(src, 'yogstation/sound/misc/quack.ogg', 50, 1)
Expand Down Expand Up @@ -68,4 +69,4 @@
var/mob/living/carbon/human/H = L
H.adjustBruteLoss(160)
if(L && (L.density || prob(10)))
L.ex_act(EXPLODE_HEAVY)
L.ex_act(EXPLODE_HEAVY)