Merge pull request #8726 from shazbot194/Major_Tom

Major tom
This commit is contained in:
Fox McCloud
2018-04-14 23:58:19 -04:00
committed by GitHub
9 changed files with 115 additions and 9 deletions
+106 -7
View File
@@ -1,14 +1,113 @@
//NASA Voidsuit
//Voidsuits
/obj/item/clothing/head/helmet/space/nasavoid
name = "NASA Void Helmet"
desc = "A high tech, NASA Centcom branch designed, dark red space suit helmet. Used for AI satellite maintenance."
icon_state = "void"
desc = "A high tech, NASA Centcom branch designed space suit helmet. Used for AI satellite maintenance."
icon_state = "void-red"
item_state = "void"
flags_inv = HIDEMASK|HIDEEARS
/obj/item/clothing/suit/space/nasavoid
name = "NASA Voidsuit"
icon_state = "void"
name = "NASA Void Suit"
icon_state = "void-red"
item_state = "void"
desc = "A high tech, NASA Centcom branch designed, dark red Space suit. Used for AI satellite maintenance."
allowed = list(/obj/item/device/flashlight,/obj/item/weapon/tank,/obj/item/device/multitool)
desc = "A high tech, NASA Centcom branch designed space suit. Used for AI satellite maintenance."
allowed = list(/obj/item/device/flashlight,/obj/item/weapon/tank,/obj/item/device/multitool)
//Colors!!!
/obj/item/clothing/head/helmet/space/nasavoid/green
icon_state = "void-green"
/obj/item/clothing/suit/space/nasavoid/green
icon_state = "void-green"
/obj/item/clothing/head/helmet/space/nasavoid/ntblue
icon_state = "void-ntblue"
/obj/item/clothing/suit/space/nasavoid/ntblue
icon_state = "void-ntblue"
/obj/item/clothing/head/helmet/space/nasavoid/purple
icon_state = "void-purple"
/obj/item/clothing/suit/space/nasavoid/purple
icon_state = "void-purple"
/obj/item/clothing/head/helmet/space/nasavoid/yellow
icon_state = "void-yellow"
/obj/item/clothing/suit/space/nasavoid/yellow
icon_state = "void-yellow"
/obj/item/clothing/head/helmet/space/nasavoid/ltblue
icon_state = "void-light_blue"
/obj/item/clothing/suit/space/nasavoid/ltblue
icon_state = "void-light_blue"
//Captian's Suit, like the other captian's suit, but looks better, at the cost of armor
/obj/item/clothing/head/helmet/space/nasavoid/captain
name = "Fancy Retro Void Helmet"
icon_state = "void-captian"
desc = "A high tech, NASA Centcom branch designed space suit helmet. Used for AI satellite maintenance. This one is fit for a captain."
/obj/item/clothing/suit/space/nasavoid/captain
name = "Fancy NASA Void Suit"
icon_state = "void-captian"
desc = "A high tech, NASA Centcom branch designed space suit. Used for AI satellite maintenance. This one is fit for a captain."
//Syndi's suit, on par with a blood red softsuit
/obj/item/clothing/head/helmet/space/nasavoid/syndi
name = "Blood Red Retro Void Helmet"
icon_state = "void-syndi"
desc = "A high tech, NASA Centcom branch designed space suit helmet. This one looks rather suspicious."
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE
armor = list(melee = 40, bullet = 50, laser = 30, energy = 15, bomb = 30, bio = 30, rad = 30)
/obj/item/clothing/suit/space/nasavoid/syndi
name = "Blood Red NASA Void Suit"
icon_state = "void-syndi"
desc = "A high tech, NASA Centcom branch designed space suit. This one looks rather suspicious."
w_class = WEIGHT_CLASS_NORMAL
allowed = list(/obj/item/weapon/gun,/obj/item/ammo_box,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/melee/energy/sword/saber,/obj/item/weapon/restraints/handcuffs,/obj/item/weapon/tank)
armor = list(melee = 40, bullet = 50, laser = 30, energy = 15, bomb = 30, bio = 30, rad = 30)
//random spawner
/obj/effect/nasavoidsuitspawner
name = "NASA Void Suit Spawner"
icon = 'icons/obj/clothing/suits.dmi'
icon_state = "void-red"
desc = "You shouldn't see this, a spawner for NASA Void Suits."
var/suits = list("red", "green", "ntblue", "purple", "yellow", "ltblue")
/obj/effect/nasavoidsuitspawner/New()
var/obj/item/clothing/head/helmet/space/nasavoid/H
var/obj/item/clothing/suit/space/nasavoid/S
switch(pick(suits))
if("red")
H = new /obj/item/clothing/head/helmet/space/nasavoid
S = new /obj/item/clothing/suit/space/nasavoid
if("green")
H = new /obj/item/clothing/head/helmet/space/nasavoid/green
S = new /obj/item/clothing/suit/space/nasavoid/green
if("ntblue")
H = new /obj/item/clothing/head/helmet/space/nasavoid/ntblue
S = new /obj/item/clothing/suit/space/nasavoid/ntblue
if("purple")
H = new /obj/item/clothing/head/helmet/space/nasavoid/purple
S = new /obj/item/clothing/suit/space/nasavoid/purple
if("yellow")
H = new /obj/item/clothing/head/helmet/space/nasavoid/yellow
S = new /obj/item/clothing/suit/space/nasavoid/yellow
if("ltblue")
H = new /obj/item/clothing/head/helmet/space/nasavoid/ltblue
S = new /obj/item/clothing/suit/space/nasavoid/ltblue
var/turf/T = get_turf(src)
if(H)
H.forceMove(T)
if(S)
S.forceMove(T)
qdel(src)