Pipes bugfix:

- trowing pipes correctly rotates them;
- meters unwrenching;
- pipe dispenser can be unwrenched and pulled, wrench back to use;
- unused pipes can be returned to dispenser;
- Probably fixed bug with non-working connectors;
Windows now are always shown above grilles.
Pipes now are always shown above lattice.
Some other things.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@830 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rastaf.zero@gmail.com
2011-01-12 06:56:00 +00:00
parent de48bd7620
commit 0aa11e69fe
16 changed files with 190 additions and 116 deletions

View File

@@ -43,7 +43,7 @@
var/area/A = get_area()
var/text = {"<HTML><head><title>[src]</title></head><BODY>
<h2>[station_name()] blueprints</h2>
<small>Property of Nanotrasen. For heads of stuff only. Store in high-secure storage.</small><hr>
<small>Property of Nanotrasen. For heads of staff only. Store in high-secure storage.</small><hr>
"}
switch (get_area_type())
if (AREA_SPACE)
@@ -193,8 +193,13 @@ move an amendment</a> to the drawing.</p>
for(var/obj/machinery/door/window/D in T2)
if(turn(dir,180) == D.dir)
return BORDER_BETWEEN
for (var/obj/machinery/door/M in T2)
if (locate(/obj/machinery/door) in T2)
return BORDER_2NDTILE
if (locate(/obj/falsewall) in T2)
return BORDER_2NDTILE
if (locate(/obj/falserwall) in T2)
return BORDER_2NDTILE
return BORDER_NONE
/obj/item/blueprints/proc/detect_room(var/turf/first)