mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
•Voidpacks now work, and have sprites for every itemstate.
Simple "if" structure added in the toggle-jetpack verb to check the type of the suit. It's friendly to any addition of new jetpack types. I'll be including those re-sprited suits soon. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1423 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/obj/closet/malf/suits/New()
|
||||
..()
|
||||
sleep(2)
|
||||
new /obj/item/weapon/tank/jetpack(src)
|
||||
new /obj/item/weapon/tank/jetpack/voidpack(src)
|
||||
new /obj/item/clothing/mask/breath(src)
|
||||
new /obj/item/clothing/head/helmet/space/nasavoid(src)
|
||||
new /obj/item/clothing/suit/space/nasavoid(src)
|
||||
|
||||
@@ -285,7 +285,10 @@
|
||||
set name = "Toggle Jetpack"
|
||||
set category = "Object"
|
||||
src.on = !( src.on )
|
||||
src.icon_state = text("jetpack[]", src.on)
|
||||
if(src.name == "Void Jetpack (oxygen)") //Slight change added by me. i didn't make it an if-elseif because some of you might want to add other types of resprited packs :3 -Agouri
|
||||
src.icon_state = text("voidjetpack[]", src.on)
|
||||
else
|
||||
src.icon_state = text("jetpack[]", src.on)
|
||||
if(src.on)
|
||||
src.ion_trail.start()
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user