Changed the prison break event to affect the main brig!

Added a sprite for welded vents. (Original courtesy of Cheridan)
Added an overlay for connected canisters. (Thanks to ruarai)
Updated one of the AI statuses to be animated.
Fixed the original style hotkeys.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2409 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2011-10-21 18:02:46 +00:00
parent 015ad0bce9
commit 5c47d7e7ce
10 changed files with 35 additions and 15 deletions

View File

@@ -51,6 +51,9 @@
air_contents.volume = 1000
update_icon()
if(welded)
icon_state = "[level == 1 && istype(loc, /turf/simulated) ? "h" : "" ]weld"
return
if(on && !(stat & (NOPOWER|BROKEN)))
if(pump_direction)
icon_state = "[level == 1 && istype(loc, /turf/simulated) ? "h" : "" ]out"
@@ -236,6 +239,9 @@
return
hide(var/i) //to make the little pipe section invisible, the icon changes.
if(welded)
icon_state = "[i == 1 && istype(loc, /turf/simulated) ? "h" : "" ]weld"
return
if(on&&node)
if(pump_direction)
icon_state = "[i == 1 && istype(loc, /turf/simulated) ? "h" : "" ]out"
@@ -256,9 +262,11 @@
if(!welded)
user.visible_message("[user] welds the vent shut.", "You weld the vent shut.", "You hear welding.")
welded = 1
update_icon()
else
user.visible_message("[user] unwelds the vent.", "You unweld the vent.", "You hear welding.")
welded = 0
update_icon()
W:welding = 1
else
user << "\blue You need more welding fuel to complete this task."