Port Bay's survival boxes

Includes some tweaks to items that usually come in the boxes to make them more similar to the Bay implementation.
This commit is contained in:
Arokha Sieyes
2018-02-16 19:21:15 -06:00
parent 76fa2f82bf
commit f4d0ec3fb8
16 changed files with 94 additions and 66 deletions
+1
View File
@@ -1,6 +1,7 @@
#define OUTFIT_HAS_JETPACK 1
#define OUTFIT_HAS_BACKPACK 2
#define OUTFIT_EXTENDED_SURVIVAL 4
#define OUTFIT_COMPREHENSIVE_SURVIVAL 8
#define OUTFIT_JOB_NAME(job_name) ("Job - " + job_name)
#define OUTFIT_MILITARY(job_name) ("Military Uniform - " + job_name)
+1 -1
View File
@@ -146,7 +146,7 @@ var/list/outfits_decls_by_type_
if(r_hand)
H.put_in_r_hand(new r_hand(H))
if(H.species)
H.species.equip_survival_gear(H, flags&OUTFIT_EXTENDED_SURVIVAL)
H.species.equip_survival_gear(H, flags&OUTFIT_EXTENDED_SURVIVAL, flags&OUTFIT_COMPREHENSIVE_SURVIVAL)
/decl/hierarchy/outfit/proc/equip_id(mob/living/carbon/human/H, rank, assignment)
if(!id_slot || !id_type)