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

View File

@@ -1,5 +1,5 @@
/datum/job/noncrew
title = "Non crew"
title = "Non-Crew"
disallow_jobhop = TRUE
total_positions = -1
spawn_positions = 6
@@ -13,7 +13,7 @@
account_allowed = 0
offmap_spawn = TRUE
outfit_type = /decl/hierarchy/outfit/job/noncrew
outfit_type = /decl/hierarchy/outfit/noncrew
job_description = "Not a crew member."
/datum/job/noncrew/is_species_banned(species_name, brain_type)

View File

@@ -1,7 +1,7 @@
/datum/spawnpoint/stationgateway
display_name = "Station gateway"
msg = "has completed translation from station gateway"
disallow_job = list("Non crew")
disallow_job = list("Non-Crew")
/datum/spawnpoint/stationgateway/New()
..()
@@ -23,7 +23,7 @@
/datum/spawnpoint/plainspath
display_name = "Sif plains"
msg = "has checked in at the plains gate"
restrict_job = list("Non crew")
restrict_job = list("Non-Crew")
/datum/spawnpoint/plainspath/New()
..()