Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flanking possiblities to the lifeboat by adding two clamp with doors on each exterior side. #4274

Merged
merged 15 commits into from
Aug 31, 2023
Merged
7 changes: 5 additions & 2 deletions code/game/machinery/doors/multi_tile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@
/obj/structure/machinery/door/airlock/multi_tile/almayer/dropshiprear/lifeboat/blastdoor/proc/vacate_premises()
for(var/turf/self_turf as anything in locs)
var/turf/near_turf = get_step(self_turf, throw_dir)
var/turf/projected = get_ranged_target_turf(near_turf, throw_dir, 50)
var/turf/space_turf = get_step(near_turf, throw_dir)
var/turf/projected = get_ranged_target_turf(space_turf, EAST, 50)
for(var/atom/movable/atom_movable in near_turf)
if(ismob(atom_movable) && !isobserver(atom_movable))
var/mob/mob = atom_movable
Expand All @@ -389,7 +390,9 @@
continue
else
continue
INVOKE_ASYNC(atom_movable, TYPE_PROC_REF(/atom/movable, throw_atom), projected, 50, SPEED_FAST, null, TRUE)
atom_movable.forceMove(space_turf)
INVOKE_ASYNC(atom_movable, TYPE_PROC_REF(/atom/movable, throw_atom), projected, 50, SPEED_FAST, null, TRUE, HIGH_LAUNCH)
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(qdel), atom_movable), 3 SECONDS)

/obj/structure/machinery/door/airlock/multi_tile/almayer/dropshiprear/lifeboat/blastdoor/proc/bolt_explosion()
var/turf/turf = get_step(src, throw_dir|dir)
Expand Down
Loading