Skip to content

Commit

Permalink
Jetpacks will now show up on mobs correctly. Additionally, they now s…
Browse files Browse the repository at this point in the history
…how the state of the jetpack on the onmob sprite.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3166 316c924e-a436-60f5-8080-3fe189b3f50e
  • Loading branch information
petethegoat@gmail.com committed Feb 21, 2012
1 parent d21a726 commit 2a0392e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/game/objects/tanks/jetpack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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()
Expand All @@ -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()
Expand Down
Binary file modified icons/mob/back.dmi
Binary file not shown.
Binary file modified icons/obj/tank.dmi
Binary file not shown.

0 comments on commit 2a0392e

Please sign in to comment.