This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
usr<<"<span class='warning'>There's nothing to connect this pipe section to! A pipe segment must be connected to at least one other object!</span>"
to_chat(usr, "<span class='warning'>There's nothing to connect this pipe section to! A pipe segment must be connected to at least one other object!</span>")
return0
update_icon()
build_network()
@@ -169,13 +169,13 @@
/*if(!node1)
parent.mingle_with_turf(loc, volume)
if(!nodealert)
//world << "Missing node from [src] at [src.x],[src.y],[src.z]"
//to_chat(world, "Missing node from [src] at [src.x],[src.y],[src.z]")
nodealert = 1
else if(!node2)
parent.mingle_with_turf(loc, volume)
if(!nodealert)
//world << "Missing node from [src] at [src.x],[src.y],[src.z]"
//to_chat(world, "Missing node from [src] at [src.x],[src.y],[src.z]")
src.visible_message("<span class='warning'>\The[src] groans from the pressure!</span>");
@@ -454,7 +454,7 @@
level =T.intact ?2:1
initialize(1)
if(!node1&&!node2&&!node3)
usr<<"<span class='warning'>There's nothing to connect this manifold to! A pipe segment must be connected to at least one other object!</span>"
to_chat(usr, "<span class='warning'>There's nothing to connect this manifold to! A pipe segment must be connected to at least one other object!</span>")
return0
update_icon() // Skipped in initialize()!
build_network()
@@ -505,17 +505,17 @@
if(!node1)
parent.mingle_with_turf(loc, 70)
if(!nodealert)
//world << "Missing node from [src] at [src.x],[src.y],[src.z]"
//to_chat(world, "Missing node from [src] at [src.x],[src.y],[src.z]")
nodealert = 1
else if(!node2)
parent.mingle_with_turf(loc, 70)
if(!nodealert)
//world << "Missing node from [src] at [src.x],[src.y],[src.z]"
//to_chat(world, "Missing node from [src] at [src.x],[src.y],[src.z]")
nodealert = 1
else if(!node3)
parent.mingle_with_turf(loc, 70)
if(!nodealert)
//world << "Missing node from [src] at [src.x],[src.y],[src.z]"
//to_chat(world, "Missing node from [src] at [src.x],[src.y],[src.z]")
nodealert = 1
else if (nodealert)
nodealert = 0
@@ -678,7 +678,7 @@
level =T.intact ?2:1
initialize(1)
if(!node1 &&!node2 &&!node3 &&!node4)
usr<<"<span class='warning'>There's nothing to connect this manifold to! A pipe segment must be connected to at least one other object!</span>"
to_chat(usr, "<span class='warning'>There's nothing to connect this manifold to! A pipe segment must be connected to at least one other object!</span>")
return0
update_icon()
build_network()
@@ -721,17 +721,17 @@
if(!node1)
parent.mingle_with_turf(loc, 70)
if(!nodealert)
//world << "Missing node from [src] at [src.x],[src.y],[src.z]"
//to_chat(world, "Missing node from [src] at [src.x],[src.y],[src.z]")
nodealert = 1
else if(!node2)
parent.mingle_with_turf(loc, 70)
if(!nodealert)
//world << "Missing node from [src] at [src.x],[src.y],[src.z]"
//to_chat(world, "Missing node from [src] at [src.x],[src.y],[src.z]")
nodealert = 1
else if(!node3)
parent.mingle_with_turf(loc, 70)
if(!nodealert)
//world << "Missing node from [src] at [src.x],[src.y],[src.z]"
//to_chat(world, "Missing node from [src] at [src.x],[src.y],[src.z]")
user<<"<span class='notice'>You paint the pipe yellow.</span>"
to_chat(user, "<span class='notice'>You paint the pipe yellow.</span>")
update_icon()
return1
@@ -941,7 +941,7 @@
level =T.intact ?2:1
initialize(1)
if(!(locate(/obj/machinery/atmospherics) in layer_nodes) &&!other_node)
usr<<"<span class='warning'>There's nothing to connect this manifold to! A pipe segment must be connected to at least one other object!</span>"
to_chat(usr, "<span class='warning'>There's nothing to connect this manifold to! A pipe segment must be connected to at least one other object!</span>")
user<<"You align yourself with the [user.ventcrawl_layer]\th output."
to_chat(user, "You align yourself with the [user.ventcrawl_layer]\th output.")
return1
else
if(direction != dir && user.ventcrawl_layer !=PIPING_LAYER_DEFAULT) // The mob is moving to the single pipe outlet, we need to align it if it's on a layer that's not the default layer
user.ventcrawl_layer =PIPING_LAYER_DEFAULT
user<<"You are redirected into the [user.ventcrawl_layer]\th piping layer."
to_chat(user, "You are redirected into the [user.ventcrawl_layer]\th piping layer.")
return..()
@@ -1133,7 +1133,7 @@
level =T.intact ?2:1
initialize(1)
if(!mid_node &&!layer_node)
usr<<"<span class='warning'>There's nothing to connect this adapter to! A pipe segment must be connected to at least one other object!</span>"
to_chat(usr, "<span class='warning'>There's nothing to connect this adapter to! A pipe segment must be connected to at least one other object!</span>")
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user<<"<span class='warning'>There is nothing of interest in that direction.</span>"
to_chat(user, "<span class='warning'>There is nothing of interest in that direction.</span>")
return
if(allow_thrust(0.01, user))
switch(cardinal)
@@ -21,14 +21,15 @@ var/minZ = 2
for(var/atom/AinT.contents)
if(T.density)
blocked =1
user<<"<span class='warning'>You bump into [T.name].</span>"
to_chat(user, "<span class='warning'>You bump into [T.name].</span>")
break
if(!blocked)
user.Move(T)
else
user<<"<span class='warning'>You bump into the ship's plating.</span>"
to_chat(user, "<span class='warning'>You bump into the ship's plating.</span>")
else
user <<"<span class='warning'>The ship's gravity well keeps you in orbit!</span>"// Assuming the ship starts on z level 1, you don't want to go past it
to_chat(user, "<span class='warning'>The ship's gravity well keeps you in orbit!</span>")// Assuming the ship starts on z level 1, you don't want to go past it
if (DOWN) // Going down!
if (user.z <1) // If we aren't at the very bottom of the ship, or out in space
@@ -39,11 +40,11 @@ var/minZ = 2
for(var/atom/AinT.contents)
if(T.density)
blocked =1
user<<"<span class='warning'>You bump into [T.name].</span>"
to_chat(user, "<span class='warning'>You bump into [T.name].</span>")
break
if(!blocked)
user.Move(T)
else
user<<"<span class='warning'>You bump into the ship's plating.</span>"
to_chat(user, "<span class='warning'>You bump into the ship's plating.</span>")
else
user<<"<span class='warning'>The ship's gravity well keeps you in orbit!</span>"
to_chat(user, "<span class='warning'>The ship's gravity well keeps you in orbit!</span>")
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target<<"<span class='alert'><b>[response_snap_target]</b> Your vision fades away...</span>"
to_chat(target, "<span class='alert'><b>[response_snap_target]</b> Your vision fades away...</span>")
target.attack_log += text("\[[time_stamp()]\] <font color='red'>Had his neck snapped by [src]!</font>")
log_admin("[target] ([target.ckey]) had his neck snapped by an active [src].")
message_admins("ALERT: <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[target.x];Y=[target.y];Z=[target.z]'>[target.real_name]</a> had his neck snapped by an active [src].")
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user<<"<span class='warning'>Your ghostly limb passes right through \the[src].</span>"
to_chat(user, "<span class='warning'>Your ghostly limb passes right through \the[src].</span>")
return
if(istype(user, /mob/living/silicon))
user<<"<span class='warning'>Artificial unit recognized. Artificial units do not currently receive monetary compensation, as per NanoTrasen regulation #1005.</span>"
to_chat(user, "<span class='warning'>Artificial unit recognized. Artificial units do not currently receive monetary compensation, as per NanoTrasen regulation #1005.</span>")
return
if(get_dist(src,user) <=1)
//check to see if the user has low security enabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msglog +="at ([formatJumpTo(start)] to [formatJumpTo(end)])</span>"
message_admins(msglog)
log_admin(msglog)
usr<<"<span class='notice'>If the server is lagging the operation will periodically sleep so the mass edit may take longer than typical.</span>"
to_chat(usr, "<span class='notice'>If the server is lagging the operation will periodically sleep so the mass edit may take longer than typical.</span>")
var/areaAction= alert("FILL tiles or DELETE them? areaAction will destroy EVERYTHING IN THE SELECTED AREA", "Create or destroy, your chance to be a GOD","FILL","DELETE") =="DELETE"
if(areaAction) areaAction = (alert("Selective(TYPE) Delete or MASS Delete?", "Scorched Earth or selective destruction?", "Selective", "MASS") =="Selective"?2:1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters