Jetpacks will now show up on mobs correctly. Additionally, they now show the state of the jetpack on the onmob sprite.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3166 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2012-02-21 20:40:28 +00:00
parent d21a726006
commit 2a0392e2d0
3 changed files with 4 additions and 2 deletions

View File

@@ -41,9 +41,11 @@
on = !on
if(on)
icon_state = "[icon_state]-on"
item_state = "[item_state]-on"
ion_trail.start()
else
icon_state = initial(icon_state)
item_state = initial(item_state)
ion_trail.stop()
return
@@ -68,7 +70,7 @@
/obj/item/weapon/tank/jetpack/void
name = "Void Jetpack (Oxygen)"
desc = "It works well in a void."
icon_state = "voidjetpack"
icon_state = "jetpack-void"
item_state = "jetpack-void"
New()
@@ -90,7 +92,7 @@
/obj/item/weapon/tank/jetpack/carbondioxide
name = "Jetpack (Carbon Dioxide)"
desc = "A tank of compressed carbon dioxide for use as propulsion in zero-gravity areas. Painted black to indicate that it should not be used as a source for internals."
icon_state = "black_jetpack"
icon_state = "jetpack-black"
item_state = "jetpack-black"
New()