Adds a Himeo voidsuit. (#10184)

Adds a Himeo voidsuit kit to the loadout that can be used to reskin a mining voidsuit into a Himeo voidsuit and back. Mechanically, it is identical to a mining suit.
This commit is contained in:
TheStryker
2020-10-17 10:38:08 +03:00
committed by GitHub
parent e7cef0a156
commit 0a90282f62
9 changed files with 91 additions and 0 deletions
@@ -109,3 +109,8 @@
cost = 0
path = /obj/item/storage/belt/utility/alt
allowed_roles = list("Station Engineer", "Atmospheric Technician", "Chief Engineer", "Engineering Apprentice", "Roboticist")
/datum/gear/utility/himeo_kit
display_name = "himean voidsuit kit"
path = /obj/item/himeo_kit
allowed_roles = list("Cargo Technician", "Shaft Miner", "Quartermaster", "Head of Personnel")
@@ -354,3 +354,28 @@
allowed = list(/obj/item/device/flashlight,/obj/item/tank,/obj/item/device/suit_cooling_unit,/obj/item/gun,/obj/item/ammo_magazine,/obj/item/ammo_casing,/obj/item/melee/baton,/obj/item/melee/energy/sword,/obj/item/handcuffs)
siemens_coefficient = 0.35
species_restricted = list(BODYTYPE_HUMAN)
/obj/item/clothing/head/helmet/space/void/mining/himeo
name = "himeo voidsuit helmet"
desc = "A rugged polymer and alloy space helmet with a ballistic glass and polycarbonate visor commonly used by astronauts from Himeo."
desc_fluff = "The Type-78A 'Fish Fur' Helmet is a nearly 80 year old design and is part of a long line of homegrown voidsuits dating to when the planet ejected Hephaestus Industries. The main reason for its long service life\
is its modularity, with Himean workers often taking the time to make their own improvements to it, ranging all the way from simple morale patches slapped on the top to modern HUD-enabled visors."
icon_state = "rig0-himeo"
item_state = "rig0-himeo"
item_state_slots = list(
slot_l_hand_str = "mining_helm",
slot_r_hand_str = "mining_helm"
)
/obj/item/clothing/suit/space/void/mining/himeo
name = "himeo voidsuit"
item_state_slots = list(
slot_l_hand_str = "mining_hardsuit",
slot_r_hand_str = "mining_hardsuit"
)
desc = "A simple but durable softsuit with a set of protective alloy plates commonly used by Himean astronauts. The suit life support console and torso plate contains a Himean flag patch."
desc_fluff = "The Type-78 'Fish Fur' Voidsuit is an aging yet popular design produced only on Himeo. The simple and affordable design means many Himeans are able to own their own spacesuits rather than have one provided to them by their employer.\
Its modular design means that they're adapted for use everywhere from the depths of Himeo to protect from debris, its surface to protect from the bitter cold, and in orbit, to work in the void. Their similarity to flightsuits have been noted, and the planet\
enjoys jolly cooperation with fellow designers from Crosk who seek to invent new suits to keep their racers going faster."
item_state = "rig-himeo"
icon_state = "rig-himeo"
+57
View File
@@ -1353,3 +1353,60 @@ var/list/total_extraction_beacons = list()
for(var/turf/simulated/mineral/M in range(7,drill_loc))
if(prob(75))
M.GetDrilled(1)
/****************Himeo Voidsuit Kit*****************/
/obj/item/himeo_kit
name = "himeo voidsuit kit"
contained_sprite = TRUE
icon = 'icons/obj/mining_contained.dmi'
icon_state = "himeo_kit"
item_state = "himeo_kit"
desc = "A simple cardboard box containing the requisition forms, permits, and decal kits for a Himean voidsuit."
desc_fluff = "As part of a cost-cutting and productivity-enhancing initiative, NanoTrasen has authorized a number of Himean Type-76 'Fish Fur'\
for use by miners originating from the planet. Most of these suits are assembled in Cannington and painstakingly optimized on-site by their\
individual operator leading to a large trail of red tape as NanoTrasen is forced to inspect these suits to ensure their safety."
desc_info = "In order to convert a mining voidsuit into a Himean voidsuit, simply click on this box with a voidsuit or helmet in hand.\
The same process can be used to convert a Himean voidsuit back into a regular voidsuit. Make sure not to have a helmet or tank in the suit\
or else it will be deleted."
w_class = ITEMSIZE_SMALL
/obj/item/himeo_kit/attackby(obj/item/W as obj, mob/user as mob)
if(istype(W, /obj/item/clothing/suit/space/void/mining))
if(W.contents.len)
to_chat(user, SPAN_NOTICE("Remove any accessories, helmets, magboots, or oxygen tanks before attempting to convert this voidsuit."))
return
else
user.drop_item(W)
qdel(W)
to_chat(user, SPAN_NOTICE("Your permit for a Himean voidsuit has been processed. Enjoy!"))
playsound(src.loc, 'sound/weapons/blade_open.ogg', 50, 1)
var/obj/item/clothing/suit/space/void/mining/himeo/P = new /obj/item/clothing/suit/space/void/mining/himeo(user.loc)
user.put_in_hands(P)
else if(istype(W, /obj/item/clothing/head/helmet/space/void/mining))
user.drop_item(W)
qdel(W)
to_chat(user, SPAN_NOTICE("Your permit for a Himean voidsuit helmet has been processed. Enjoy!"))
playsound(src.loc, 'sound/weapons/blade_open.ogg', 50, 1)
var/obj/item/clothing/head/helmet/space/void/mining/himeo/P = new /obj/item/clothing/head/helmet/space/void/mining/himeo(user.loc)
user.put_in_hands(P)
if(istype(W, /obj/item/clothing/suit/space/void/mining/himeo))
if(W.contents.len)
to_chat(user, SPAN_NOTICE("Remove any accessories, helmets, magboots, or oxygen tanks before attempting to convert this voidsuit."))
return
else
user.drop_item(W)
qdel(W)
to_chat(user, SPAN_NOTICE("Your Himean voidsuit has been reconverted into a NanoTrasen mining voidsuit."))
playsound(src.loc, 'sound/weapons/blade_open.ogg', 50, 1)
var/obj/item/clothing/suit/space/void/mining/P = new /obj/item/clothing/suit/space/void/mining(user.loc)
user.put_in_hands(P)
if(istype(W, /obj/item/clothing/head/helmet/space/void/mining/himeo))
user.drop_item(W)
qdel(W)
to_chat(user, SPAN_NOTICE("Your Himean voidsuit helmet has been reconverted into a NanoTrasen mining helmet."))
playsound(src.loc, 'sound/weapons/blade_open.ogg', 50, 1)
var/obj/item/clothing/suit/space/void/mining/P = new /obj/item/clothing/head/helmet/space/void/mining(user.loc)
user.put_in_hands(P)