mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #9965 from VOREStation/upstream-merge-7983
[MIRROR] Fixes pilots not getting a harness if they use a loadout uniform
This commit is contained in:
committed by
Chompstation Bot
parent
5c285eda7d
commit
d2b2342d74
@@ -39,7 +39,9 @@ var/list/outfits_decls_by_type_
|
||||
var/suit_store = null
|
||||
var/r_hand = null
|
||||
var/l_hand = null
|
||||
var/list/backpack_contents = list() // In the list(path=count,otherpath=count) format
|
||||
// In the list(path=count,otherpath=count) format
|
||||
var/list/uniform_accessories = list() // webbing, armbands etc - fits in slot_tie
|
||||
var/list/backpack_contents = list()
|
||||
|
||||
var/id_type
|
||||
var/id_desc
|
||||
@@ -145,6 +147,12 @@ var/list/outfits_decls_by_type_
|
||||
H.put_in_l_hand(new l_hand(H))
|
||||
if(r_hand)
|
||||
H.put_in_r_hand(new r_hand(H))
|
||||
|
||||
for(var/path in uniform_accessories)
|
||||
var/number = uniform_accessories[path]
|
||||
for(var/i=0,i<number,i++)
|
||||
H.equip_to_slot_or_del(new path(H), slot_tie)
|
||||
|
||||
if(H.species)
|
||||
H.species.equip_survival_gear(H, flags&OUTFIT_EXTENDED_SURVIVAL, flags&OUTFIT_COMPREHENSIVE_SURVIVAL)
|
||||
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
)
|
||||
starting_accessories = list(/obj/item/clothing/accessory/storage/webbing/pilot1)
|
||||
|
||||
/obj/item/clothing/under/rank/pilot1/no_webbing
|
||||
starting_accessories = null
|
||||
|
||||
/obj/item/clothing/under/rank/pilot2
|
||||
name = "\improper NanoTrasen flight suit"
|
||||
desc = "A dark blue NanoTrasen flight suit. Warm and practical, seveal patches are scattered across it."
|
||||
@@ -24,4 +27,7 @@
|
||||
sprite_sheets = list(
|
||||
"Teshari" = 'maps/southern_cross/icons/mob/species/teshari/sc_uniform.dmi'
|
||||
)
|
||||
starting_accessories = list(/obj/item/clothing/accessory/storage/webbing/pilot2)
|
||||
starting_accessories = list(/obj/item/clothing/accessory/storage/webbing/pilot2)
|
||||
|
||||
/obj/item/clothing/under/rank/pilot2/no_webbing
|
||||
starting_accessories = null
|
||||
|
||||
@@ -39,11 +39,12 @@ Keep outfits simple. Spawn with basic uniforms and minimal gear. Gear instead go
|
||||
/decl/hierarchy/outfit/job/pilot
|
||||
name = OUTFIT_JOB_NAME("Pilot")
|
||||
shoes = /obj/item/clothing/shoes/black
|
||||
uniform = /obj/item/clothing/under/rank/pilot1
|
||||
uniform = /obj/item/clothing/under/rank/pilot1/no_webbing
|
||||
suit = /obj/item/clothing/suit/storage/toggle/bomber/pilot
|
||||
gloves = /obj/item/clothing/gloves/fingerless
|
||||
glasses = /obj/item/clothing/glasses/fakesunglasses/aviator
|
||||
l_ear = /obj/item/device/radio/headset/pilot/alt
|
||||
uniform_accessories = list(/obj/item/clothing/accessory/storage/webbing/pilot1 = 1)
|
||||
id_slot = slot_wear_id
|
||||
pda_slot = slot_belt
|
||||
pda_type = /obj/item/device/pda //VOREStation Edit - Civilian
|
||||
|
||||
Reference in New Issue
Block a user