Fix a few bugs with non-crew

This commit is contained in:
TheGreatKitsune
2022-09-21 13:41:56 -05:00
parent 9e4d474b93
commit d6645adb36
6 changed files with 22 additions and 19 deletions

View File

@@ -1,10 +1,12 @@
/decl/hierarchy/outfit/job/noncrew
hierarchy_type = /decl/hierarchy/outfit/job/noncrew
r_pocket = /obj/item/weapon/spacecash/ewallet
/decl/hierarchy/outfit/noncrew
name = OUTFIT_JOB_NAME("Non-Crew")
//hierarchy_type = /decl/hierarchy/outfit/noncrew
r_pocket = /obj/item/weapon/spacecash/ewallet
flags = OUTFIT_HAS_BACKPACK|OUTFIT_EXTENDED_SURVIVAL|OUTFIT_COMPREHENSIVE_SURVIVAL
/decl/hierarchy/outfit/job/noncrew/post_equip(mob/living/carbon/human/H)
..()
var/obj/item/weapon/spacecash/ewallet/wallet = H.r_store
if(istype(wallet))
wallet.owner_name = H.real_name
wallet.worth = 1000
/decl/hierarchy/outfit/noncrew/post_equip(mob/living/carbon/human/H)
..()
var/obj/item/weapon/spacecash/ewallet/wallet = H.r_store
if(istype(wallet))
wallet.owner_name = H.real_name
wallet.worth = 1000