mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
ALL HAIL LEMONS
This commit is contained in:
@@ -396,6 +396,7 @@
|
||||
air_master.add_to_active(T0,1)
|
||||
|
||||
i_know_what_im_doing = TRUE
|
||||
to_chat(world, "[src] moved to nullspace")
|
||||
qdel(src)
|
||||
|
||||
//this is the main proc. It instantly moves our mobile port to stationary port S1
|
||||
@@ -604,16 +605,14 @@
|
||||
A.unlock()
|
||||
|
||||
/obj/docking_port/mobile/proc/roadkill(list/L0, list/L1, dir)
|
||||
|
||||
//check for space pod to do TODO FETHAS DO IT
|
||||
var/list/hurt_mobs = list()
|
||||
for(var/i in 1 to L0.len)
|
||||
var/turf/T0 = L0[i]
|
||||
var/turf/T1 = L1[i]
|
||||
if(!T0 || !T1)
|
||||
continue
|
||||
//if(T0.type == T0.baseturf)
|
||||
// continue//WOT DO?!
|
||||
//if(T0.type == T0.baseturf)//wot?
|
||||
// continue
|
||||
// The corresponding tile will not be changed, so no roadkill
|
||||
|
||||
for(var/atom/movable/AM in T1)
|
||||
@@ -638,11 +637,12 @@
|
||||
M.ex_act(2)
|
||||
|
||||
else //non-living mobs shouldn't be affected by shuttles, which is why this is an else
|
||||
if(istype(AM, /obj/singularity))//it's a singularity, ignore it.
|
||||
continue
|
||||
if(!AM.anchored)
|
||||
step(AM, dir)
|
||||
else
|
||||
if(AM.simulated) //lighting overlays are static
|
||||
qdel(AM)
|
||||
qdel(AM)
|
||||
|
||||
//used by shuttle subsystem to check timers
|
||||
/obj/docking_port/mobile/proc/check()
|
||||
|
||||
@@ -206,9 +206,15 @@
|
||||
else if(S)
|
||||
. = TRUE
|
||||
// If successful, returns the mobile docking port
|
||||
var/mdp = action_load(S)
|
||||
var/obj/docking_port/mobile/mdp = action_load(S)
|
||||
if(mdp)
|
||||
user.forceMove(get_turf(mdp))
|
||||
message_admins("[key_name_admin(usr)] loaded [mdp] \
|
||||
with the shuttle manipulator.")
|
||||
log_admin("[key_name(usr)] loaded [mdp] with the \
|
||||
shuttle manipulator.</span>")
|
||||
feedback_add_details("shuttle_manipulator", mdp.name)
|
||||
|
||||
|
||||
/obj/machinery/shuttle_manipulator/proc/action_load(
|
||||
datum/map_template/shuttle/loading_template)
|
||||
@@ -262,9 +268,9 @@
|
||||
|
||||
// TODO indicate to the user that success happened, rather than just
|
||||
// blanking the modification tab
|
||||
existing_shuttle = preview_shuttle
|
||||
preview_shuttle = null
|
||||
preview_template = null
|
||||
existing_shuttle = null
|
||||
selected = null
|
||||
|
||||
return preview_shuttle
|
||||
@@ -317,5 +323,6 @@
|
||||
|
||||
/obj/machinery/shuttle_manipulator/proc/unload_preview()
|
||||
if(preview_shuttle)
|
||||
to_chat(world, "unloading: [preview_shuttle]")
|
||||
preview_shuttle.jumpToNullSpace()
|
||||
preview_shuttle = null
|
||||
Reference in New Issue
Block a user