mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Continues work on Outfits
This commit is contained in:
@@ -1,6 +1,14 @@
|
|||||||
/decl/hierarchy/outfit/job/assistant
|
/decl/hierarchy/outfit/job/assistant
|
||||||
name = OUTFIT_JOB_NAME("Assistant")
|
name = OUTFIT_JOB_NAME("Assistant")
|
||||||
|
|
||||||
|
/decl/hierarchy/outfit/job/assistant/visitor
|
||||||
|
name = OUTFIT_JOB_NAME("Visitor")
|
||||||
|
uniform = /obj/item/clothing/under/assistantformal
|
||||||
|
|
||||||
|
/decl/hierarchy/outfit/job/assistant/resident
|
||||||
|
name = OUTFIT_JOB_NAME("Resident")
|
||||||
|
uniform = /obj/item/clothing/under/color/white
|
||||||
|
|
||||||
/decl/hierarchy/outfit/job/service
|
/decl/hierarchy/outfit/job/service
|
||||||
l_ear = /obj/item/device/radio/headset/headset_service
|
l_ear = /obj/item/device/radio/headset/headset_service
|
||||||
hierarchy_type = /decl/hierarchy/outfit/job/service
|
hierarchy_type = /decl/hierarchy/outfit/job/service
|
||||||
@@ -10,6 +18,15 @@
|
|||||||
uniform = /obj/item/clothing/under/rank/bartender
|
uniform = /obj/item/clothing/under/rank/bartender
|
||||||
id_type = /obj/item/weapon/card/id/civilian/bartender
|
id_type = /obj/item/weapon/card/id/civilian/bartender
|
||||||
pda_type = /obj/item/device/pda/bar
|
pda_type = /obj/item/device/pda/bar
|
||||||
|
backpack_contents = list(/obj/item/weapon/permit/gun/bar = 1)
|
||||||
|
|
||||||
|
/decl/hierarchy/outfit/job/service/bartender/post_equip(mob/living/carbon/human/H)
|
||||||
|
..()
|
||||||
|
for(var/obj/item/weapon/permit/gun/bar/permit in H.contents)
|
||||||
|
permit.set_name(H.real_name)
|
||||||
|
|
||||||
|
/decl/hierarchy/outfit/job/service/bartender/barista
|
||||||
|
backpack_contents = null
|
||||||
|
|
||||||
/decl/hierarchy/outfit/job/service/chef
|
/decl/hierarchy/outfit/job/service/chef
|
||||||
name = OUTFIT_JOB_NAME("Chef")
|
name = OUTFIT_JOB_NAME("Chef")
|
||||||
|
|||||||
@@ -33,3 +33,18 @@
|
|||||||
id_type = /obj/item/weapon/card/id/silver/hop
|
id_type = /obj/item/weapon/card/id/silver/hop
|
||||||
pda_type = /obj/item/device/pda/heads/hop
|
pda_type = /obj/item/device/pda/heads/hop
|
||||||
backpack_contents = list(/obj/item/weapon/storage/box/ids = 1)
|
backpack_contents = list(/obj/item/weapon/storage/box/ids = 1)
|
||||||
|
|
||||||
|
/decl/hierarchy/outfit/job/secretary
|
||||||
|
name = OUTFIT_JOB_NAME("Command Secretary")
|
||||||
|
l_ear = /obj/item/device/radio/headset/headset_com
|
||||||
|
shoes = /obj/item/clothing/shoes/brown
|
||||||
|
id_type = /obj/item/weapon/card/id/silver/secretary
|
||||||
|
pda_type = /obj/item/device/pda/heads/hop
|
||||||
|
r_hand = /obj/item/weapon/storage/briefcase
|
||||||
|
|
||||||
|
/decl/hierarchy/outfit/job/secretary/pre_equip(mob/living/carbon/human/H)
|
||||||
|
..()
|
||||||
|
if(H.gender == FEMALE)
|
||||||
|
uniform = /obj/item/clothing/under/suit_jacket/female/skirt
|
||||||
|
else
|
||||||
|
uniform = /obj/item/clothing/under/suit_jacket/charcoal
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
id_type = /obj/item/weapon/card/id/medical/doctor
|
id_type = /obj/item/weapon/card/id/medical/doctor
|
||||||
|
|
||||||
/decl/hierarchy/outfit/job/medical/doctor/emergency_physician
|
/decl/hierarchy/outfit/job/medical/doctor/emergency_physician
|
||||||
name = OUTFIT_JOB_NAME("Emergency physician")
|
name = OUTFIT_JOB_NAME("Emergency Physician")
|
||||||
suit = /obj/item/clothing/suit/storage/toggle/fr_jacket
|
suit = /obj/item/clothing/suit/storage/toggle/fr_jacket
|
||||||
|
|
||||||
/decl/hierarchy/outfit/job/medical/doctor/surgeon
|
/decl/hierarchy/outfit/job/medical/doctor/surgeon
|
||||||
@@ -49,7 +49,6 @@
|
|||||||
suit = null
|
suit = null
|
||||||
|
|
||||||
/decl/hierarchy/outfit/job/medical/doctor/nurse/pre_equip(mob/living/carbon/human/H)
|
/decl/hierarchy/outfit/job/medical/doctor/nurse/pre_equip(mob/living/carbon/human/H)
|
||||||
..()
|
|
||||||
if(H.gender == FEMALE)
|
if(H.gender == FEMALE)
|
||||||
if(prob(50))
|
if(prob(50))
|
||||||
uniform = /obj/item/clothing/under/rank/nursesuit
|
uniform = /obj/item/clothing/under/rank/nursesuit
|
||||||
@@ -58,7 +57,8 @@
|
|||||||
head = /obj/item/clothing/head/nursehat
|
head = /obj/item/clothing/head/nursehat
|
||||||
else
|
else
|
||||||
uniform = /obj/item/clothing/under/rank/medical/scrubs/purple
|
uniform = /obj/item/clothing/under/rank/medical/scrubs/purple
|
||||||
head = null
|
head = /obj/item/clothing/head/nursehat
|
||||||
|
..()
|
||||||
|
|
||||||
/decl/hierarchy/outfit/job/medical/chemist
|
/decl/hierarchy/outfit/job/medical/chemist
|
||||||
name = OUTFIT_JOB_NAME("Chemist")
|
name = OUTFIT_JOB_NAME("Chemist")
|
||||||
@@ -101,5 +101,5 @@
|
|||||||
flags = OUTFIT_HAS_BACKPACK|OUTFIT_EXTENDED_SURVIVAL
|
flags = OUTFIT_HAS_BACKPACK|OUTFIT_EXTENDED_SURVIVAL
|
||||||
|
|
||||||
/decl/hierarchy/outfit/job/medical/paramedic/emt
|
/decl/hierarchy/outfit/job/medical/paramedic/emt
|
||||||
name = OUTFIT_JOB_NAME("Emergency medical technician")
|
name = OUTFIT_JOB_NAME("Emergency Medical Technician")
|
||||||
uniform = /obj/item/clothing/under/rank/medical/paramedic
|
uniform = /obj/item/clothing/under/rank/medical/paramedic
|
||||||
|
|||||||
@@ -38,4 +38,4 @@
|
|||||||
pda_slot = slot_r_store
|
pda_slot = slot_r_store
|
||||||
pda_type = /obj/item/device/pda/roboticist
|
pda_type = /obj/item/device/pda/roboticist
|
||||||
backpack = /obj/item/weapon/storage/backpack
|
backpack = /obj/item/weapon/storage/backpack
|
||||||
satchel_one = /obj/item/weapon/storage/backpack/satchel/norm
|
satchel_one = /obj/item/weapon/storage/backpack/satchel/norm
|
||||||
@@ -12,22 +12,7 @@
|
|||||||
access = list() //See /datum/job/assistant/get_access()
|
access = list() //See /datum/job/assistant/get_access()
|
||||||
minimal_access = list() //See /datum/job/assistant/get_access()
|
minimal_access = list() //See /datum/job/assistant/get_access()
|
||||||
alt_titles = list("Technical Assistant","Medical Intern","Research Assistant","Visitor", "Resident")
|
alt_titles = list("Technical Assistant","Medical Intern","Research Assistant","Visitor", "Resident")
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/assistant
|
||||||
/datum/job/assistant/equip(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/norm(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger(H), slot_back)
|
|
||||||
if(has_alt_title(H, alt_title,"Visitor")) //I doubt someone visiting the station would want to wear an ugly grey uniform
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/assistantformal(H), slot_w_uniform)
|
|
||||||
else if(has_alt_title(H, alt_title,"Resident"))
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/color/white(H), slot_w_uniform)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/color/grey(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/black(H), slot_shoes)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
/datum/job/assistant/get_access()
|
/datum/job/assistant/get_access()
|
||||||
if(config.assistant_maint)
|
if(config.assistant_maint)
|
||||||
|
|||||||
@@ -22,39 +22,7 @@ var/datum/announcement/minor/captain_announcement = new(do_newscast = 1)
|
|||||||
minimum_character_age = 25
|
minimum_character_age = 25
|
||||||
ideal_character_age = 70 // Old geezer captains ftw
|
ideal_character_age = 70 // Old geezer captains ftw
|
||||||
|
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/captain
|
||||||
/datum/job/captain/equip(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/heads/captain(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/captain(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/cap(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/com(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/captain(H), slot_w_uniform)
|
|
||||||
if(H.age>49)
|
|
||||||
// Since we can have something other than the default uniform at this
|
|
||||||
// point, check if we can actually attach the medal
|
|
||||||
var/obj/item/clothing/uniform = H.w_uniform
|
|
||||||
var/obj/item/clothing/accessory/medal/gold/captain/medal = new()
|
|
||||||
|
|
||||||
if(uniform && uniform.can_attach_accessory(medal))
|
|
||||||
uniform.attach_accessory(null, medal)
|
|
||||||
else
|
|
||||||
qdel(medal)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/captain(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/brown(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/head/caphat(H), slot_head)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/glasses/sunglasses(H), slot_glasses)
|
|
||||||
if(H.backbag == 1)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/box/ids(H), slot_l_hand)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/box/ids(H.back), slot_in_backpack)
|
|
||||||
|
|
||||||
|
|
||||||
H.implant_loyalty()
|
|
||||||
|
|
||||||
return 1
|
|
||||||
|
|
||||||
/datum/job/captain/get_access()
|
/datum/job/captain/get_access()
|
||||||
return get_all_station_access()
|
return get_all_station_access()
|
||||||
@@ -81,6 +49,8 @@ var/datum/announcement/minor/captain_announcement = new(do_newscast = 1)
|
|||||||
minimum_character_age = 25
|
minimum_character_age = 25
|
||||||
ideal_character_age = 50
|
ideal_character_age = 50
|
||||||
|
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/hop
|
||||||
|
|
||||||
access = list(access_security, access_sec_doors, access_brig, access_forensics_lockers,
|
access = list(access_security, access_sec_doors, access_brig, access_forensics_lockers,
|
||||||
access_medical, access_engine, access_change_ids, access_ai_upload, access_eva, access_heads,
|
access_medical, access_engine, access_change_ids, access_ai_upload, access_eva, access_heads,
|
||||||
access_all_personal_lockers, access_maint_tunnels, access_bar, access_janitor, access_construction, access_morgue,
|
access_all_personal_lockers, access_maint_tunnels, access_bar, access_janitor, access_construction, access_morgue,
|
||||||
@@ -94,26 +64,6 @@ var/datum/announcement/minor/captain_announcement = new(do_newscast = 1)
|
|||||||
access_chapel_office, access_library, access_research, access_mining, access_heads_vault, access_mining_station,
|
access_chapel_office, access_library, access_research, access_mining, access_heads_vault, access_mining_station,
|
||||||
access_hop, access_RC_announce, access_keycard_auth, access_gateway)
|
access_hop, access_RC_announce, access_keycard_auth, access_gateway)
|
||||||
|
|
||||||
|
|
||||||
/datum/job/hop/equip(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/heads/hop(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/norm(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/head_of_personnel(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/brown(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/heads/hop(H), slot_belt)
|
|
||||||
if(H.backbag == 1)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/box/ids(H), slot_l_hand)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/box/ids(H.back), slot_in_backpack)
|
|
||||||
H.implant_loyalty()
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/secretary
|
/datum/job/secretary
|
||||||
title = "Command Secretary"
|
title = "Command Secretary"
|
||||||
flag = BRIDGE
|
flag = BRIDGE
|
||||||
@@ -133,18 +83,4 @@ var/datum/announcement/minor/captain_announcement = new(do_newscast = 1)
|
|||||||
access = list(access_heads)
|
access = list(access_heads)
|
||||||
minimal_access = list(access_heads)
|
minimal_access = list(access_heads)
|
||||||
|
|
||||||
/datum/job/secretary/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/secretary
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_com(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/norm(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/brown(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/heads/hop(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/briefcase(H), slot_l_hand)
|
|
||||||
if(H.gender == FEMALE)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/suit_jacket/female/skirt(H), slot_w_uniform)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/suit_jacket/charcoal(H), slot_w_uniform)
|
|
||||||
return 1
|
|
||||||
@@ -14,28 +14,7 @@
|
|||||||
minimal_access = list(access_bar)
|
minimal_access = list(access_bar)
|
||||||
alt_titles = list("Barista")
|
alt_titles = list("Barista")
|
||||||
|
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/service/bartender
|
||||||
/datum/job/bartender/equip(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/norm(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_service(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/black(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/bartender(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/bar(H), slot_belt)
|
|
||||||
if(has_alt_title(H, alt_title,"Bartender"))
|
|
||||||
var/obj/item/weapon/permit/gun/bar/permit = new(H)
|
|
||||||
if(H.backbag == 1)
|
|
||||||
H.equip_to_slot_or_del(permit, slot_l_hand)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(permit, slot_in_backpack)
|
|
||||||
permit.set_name(H.real_name)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/chef
|
/datum/job/chef
|
||||||
title = "Chef"
|
title = "Chef"
|
||||||
@@ -52,18 +31,7 @@
|
|||||||
minimal_access = list(access_kitchen)
|
minimal_access = list(access_kitchen)
|
||||||
alt_titles = list("Cook")
|
alt_titles = list("Cook")
|
||||||
|
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/service/chef
|
||||||
/datum/job/chef/equip(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_service(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/chef(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/chef(H), slot_wear_suit)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/black(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/head/chefhat(H), slot_head)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/chef(H), slot_belt)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/hydro
|
/datum/job/hydro
|
||||||
title = "Gardener"
|
title = "Gardener"
|
||||||
@@ -80,24 +48,7 @@
|
|||||||
minimal_access = list(access_hydroponics)
|
minimal_access = list(access_hydroponics)
|
||||||
alt_titles = list("Hydroponicist")
|
alt_titles = list("Hydroponicist")
|
||||||
|
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/service/gardener
|
||||||
/datum/job/hydro/equip(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_service(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/hydroponics(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/black(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/gloves/botanic_leather(H), slot_gloves)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/apron(H), slot_wear_suit)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/analyzer/plant_analyzer(H), slot_s_store)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/botanist(H), slot_belt)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/hydroponics(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/hyd(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/hyd(H), slot_back)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Cargo
|
//Cargo
|
||||||
/datum/job/qm
|
/datum/job/qm
|
||||||
@@ -118,19 +69,7 @@
|
|||||||
|
|
||||||
ideal_character_age = 40
|
ideal_character_age = 40
|
||||||
|
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/cargo/qm
|
||||||
/datum/job/qm/equip(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_cargo(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/cargo(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/brown(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/quartermaster(H), slot_belt)
|
|
||||||
// H.equip_to_slot_or_del(new /obj/item/clothing/gloves/black(H), slot_gloves)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/glasses/sunglasses(H), slot_glasses)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/clipboard(H), slot_l_hand)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/cargo_tech
|
/datum/job/cargo_tech
|
||||||
title = "Cargo Technician"
|
title = "Cargo Technician"
|
||||||
@@ -146,16 +85,7 @@
|
|||||||
access = list(access_maint_tunnels, access_mailsorting, access_cargo, access_cargo_bot, access_mining, access_mining_station)
|
access = list(access_maint_tunnels, access_mailsorting, access_cargo, access_cargo_bot, access_mining, access_mining_station)
|
||||||
minimal_access = list(access_maint_tunnels, access_cargo, access_cargo_bot, access_mailsorting)
|
minimal_access = list(access_maint_tunnels, access_cargo, access_cargo_bot, access_mailsorting)
|
||||||
|
|
||||||
/datum/job/cargo_tech/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/cargo/cargo_tech
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_cargo(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/cargotech(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/black(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/cargo(H), slot_belt)
|
|
||||||
// H.equip_to_slot_or_del(new /obj/item/clothing/gloves/black(H), slot_gloves)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/mining
|
/datum/job/mining
|
||||||
title = "Shaft Miner"
|
title = "Shaft Miner"
|
||||||
@@ -173,31 +103,9 @@
|
|||||||
minimal_access = list(access_mining, access_mining_station, access_mailsorting)
|
minimal_access = list(access_mining, access_mining_station, access_mailsorting)
|
||||||
alt_titles = list("Drill Technician","Prospector")
|
alt_titles = list("Drill Technician","Prospector")
|
||||||
|
|
||||||
/datum/job/mining/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/cargo/mining
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_cargo (H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/industrial(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/eng(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/engi(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/miner(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/shaftminer(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/black(H), slot_shoes)
|
|
||||||
// H.equip_to_slot_or_del(new /obj/item/clothing/gloves/black(H), slot_gloves)
|
|
||||||
if(H.backbag == 1)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/crowbar(H), slot_l_hand)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/bag/ore(H), slot_l_store)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/crowbar(H), slot_in_backpack)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/bag/ore(H), slot_in_backpack)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
/datum/job/mining/equip_survival(var/mob/living/carbon/human/H)
|
|
||||||
if(!H) return 0
|
|
||||||
H.species.equip_survival_gear(H,1)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
//Service
|
||||||
/datum/job/janitor
|
/datum/job/janitor
|
||||||
title = "Janitor"
|
title = "Janitor"
|
||||||
flag = JANITOR
|
flag = JANITOR
|
||||||
@@ -213,16 +121,7 @@
|
|||||||
minimal_access = list(access_janitor, access_maint_tunnels)
|
minimal_access = list(access_janitor, access_maint_tunnels)
|
||||||
alt_titles = list("Custodian", "Sanitation Technician")
|
alt_titles = list("Custodian", "Sanitation Technician")
|
||||||
|
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/service/janitor
|
||||||
/datum/job/janitor/equip(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_service(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/janitor(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/black(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/janitor(H), slot_belt)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//More or less assistants
|
//More or less assistants
|
||||||
/datum/job/librarian
|
/datum/job/librarian
|
||||||
@@ -240,16 +139,7 @@
|
|||||||
minimal_access = list(access_library)
|
minimal_access = list(access_library)
|
||||||
alt_titles = list("Journalist", "Professor", "Historian", "Writer")
|
alt_titles = list("Journalist", "Professor", "Historian", "Writer")
|
||||||
|
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/librarian
|
||||||
/datum/job/librarian/equip(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/suit_jacket/red(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/librarian(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/black(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/barcodescanner(H), slot_l_hand)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//var/global/lawyer = 0//Checks for another lawyer //This changed clothes on 2nd lawyer, both IA get the same dreds.
|
//var/global/lawyer = 0//Checks for another lawyer //This changed clothes on 2nd lawyer, both IA get the same dreds.
|
||||||
/datum/job/lawyer
|
/datum/job/lawyer
|
||||||
@@ -268,23 +158,4 @@
|
|||||||
minimal_access = list(access_lawyer, access_sec_doors, access_heads)
|
minimal_access = list(access_lawyer, access_sec_doors, access_heads)
|
||||||
minimal_player_age = 7
|
minimal_player_age = 7
|
||||||
|
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/internal_affairs_agent
|
||||||
/datum/job/lawyer/equip(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/ia(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/norm(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/internalaffairs(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/internalaffairs(H), slot_wear_suit)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/brown(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/glasses/sunglasses/big(H), slot_glasses)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/lawyer(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/briefcase(H), slot_l_hand)
|
|
||||||
|
|
||||||
H.implant_loyalty()
|
|
||||||
|
|
||||||
|
|
||||||
return 1
|
|
||||||
@@ -14,18 +14,18 @@
|
|||||||
minimal_access = list(access_chapel_office, access_crematorium)
|
minimal_access = list(access_chapel_office, access_crematorium)
|
||||||
alt_titles = list("Counselor")
|
alt_titles = list("Counselor")
|
||||||
|
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/chaplain
|
||||||
|
|
||||||
/datum/job/chaplain/equip(var/mob/living/carbon/human/H, var/alt_title, var/ask_questions = TRUE)
|
/datum/job/chaplain/equip(var/mob/living/carbon/human/H, var/alt_title, var/ask_questions = TRUE)
|
||||||
if(!H) return 0
|
. = ..()
|
||||||
|
if(!.)
|
||||||
var/obj/item/weapon/storage/bible/B = new /obj/item/weapon/storage/bible(H) //BS12 EDIT
|
return
|
||||||
H.equip_to_slot_or_del(B, slot_l_hand)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/chaplain(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/chaplain(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/black(H), slot_shoes)
|
|
||||||
if(!ask_questions)
|
if(!ask_questions)
|
||||||
return 1
|
return
|
||||||
|
|
||||||
|
var/obj/item/weapon/storage/bible/B = locate(/obj/item/weapon/storage/bible) in H
|
||||||
|
if(!B)
|
||||||
|
return
|
||||||
|
|
||||||
spawn(0)
|
spawn(0)
|
||||||
var/religion_name = "Christianity"
|
var/religion_name = "Christianity"
|
||||||
@@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
if (!new_religion)
|
if (!new_religion)
|
||||||
new_religion = religion_name
|
new_religion = religion_name
|
||||||
|
|
||||||
switch(lowertext(new_religion))
|
switch(lowertext(new_religion))
|
||||||
if("christianity")
|
if("christianity")
|
||||||
B.name = pick("The Holy Bible","The Dead Sea Scrolls")
|
B.name = pick("The Holy Bible","The Dead Sea Scrolls")
|
||||||
@@ -83,10 +82,6 @@
|
|||||||
if("Koran")
|
if("Koran")
|
||||||
B.icon_state = "koran"
|
B.icon_state = "koran"
|
||||||
B.item_state = "koran"
|
B.item_state = "koran"
|
||||||
for(var/area/chapel/main/A in world)
|
|
||||||
for(var/turf/T in A.contents)
|
|
||||||
if(T.icon_state == "carpetsymbol")
|
|
||||||
T.set_dir(4)
|
|
||||||
if("Scrapbook")
|
if("Scrapbook")
|
||||||
B.icon_state = "scrapbook"
|
B.icon_state = "scrapbook"
|
||||||
B.item_state = "scrapbook"
|
B.item_state = "scrapbook"
|
||||||
@@ -102,10 +97,6 @@
|
|||||||
if("Athiest")
|
if("Athiest")
|
||||||
B.icon_state = "athiest"
|
B.icon_state = "athiest"
|
||||||
B.item_state = "syringe_kit"
|
B.item_state = "syringe_kit"
|
||||||
for(var/area/chapel/main/A in world)
|
|
||||||
for(var/turf/T in A.contents)
|
|
||||||
if(T.icon_state == "carpetsymbol")
|
|
||||||
T.set_dir(10)
|
|
||||||
if("Tome")
|
if("Tome")
|
||||||
B.icon_state = "tome"
|
B.icon_state = "tome"
|
||||||
B.item_state = "syringe_kit"
|
B.item_state = "syringe_kit"
|
||||||
@@ -118,10 +109,6 @@
|
|||||||
if("Scientology")
|
if("Scientology")
|
||||||
B.icon_state = "scientology"
|
B.icon_state = "scientology"
|
||||||
B.item_state = "scientology"
|
B.item_state = "scientology"
|
||||||
for(var/area/chapel/main/A in world)
|
|
||||||
for(var/turf/T in A.contents)
|
|
||||||
if(T.icon_state == "carpetsymbol")
|
|
||||||
T.set_dir(8)
|
|
||||||
if("the bible melts")
|
if("the bible melts")
|
||||||
B.icon_state = "melted"
|
B.icon_state = "melted"
|
||||||
B.item_state = "melted"
|
B.item_state = "melted"
|
||||||
@@ -129,13 +116,8 @@
|
|||||||
B.icon_state = "necronomicon"
|
B.icon_state = "necronomicon"
|
||||||
B.item_state = "necronomicon"
|
B.item_state = "necronomicon"
|
||||||
else
|
else
|
||||||
// if christian bible, revert to default
|
|
||||||
B.icon_state = "bible"
|
B.icon_state = "bible"
|
||||||
B.item_state = "bible"
|
B.item_state = "bible"
|
||||||
for(var/area/chapel/main/A in world)
|
|
||||||
for(var/turf/T in A.contents)
|
|
||||||
if(T.icon_state == "carpetsymbol")
|
|
||||||
T.set_dir(2)
|
|
||||||
|
|
||||||
H.update_inv_l_hand() // so that it updates the bible's item_state in his hand
|
H.update_inv_l_hand() // so that it updates the bible's item_state in his hand
|
||||||
|
|
||||||
@@ -144,7 +126,7 @@
|
|||||||
accepted = 1
|
accepted = 1
|
||||||
if("No")
|
if("No")
|
||||||
if(outoftime)
|
if(outoftime)
|
||||||
H << "Welp, out of time, buddy. You're stuck. Next time choose faster."
|
to_chat(H, "Welp, out of time, buddy. You're stuck. Next time choose faster.")
|
||||||
accepted = 1
|
accepted = 1
|
||||||
|
|
||||||
if(ticker)
|
if(ticker)
|
||||||
|
|||||||
@@ -27,28 +27,7 @@
|
|||||||
access_ce, access_RC_announce, access_keycard_auth, access_tcomsat, access_ai_upload)
|
access_ce, access_RC_announce, access_keycard_auth, access_tcomsat, access_ai_upload)
|
||||||
minimal_player_age = 7
|
minimal_player_age = 7
|
||||||
|
|
||||||
|
outfit_type = /decl/hierarchy/outfit/job/engineering/chief_engineer
|
||||||
/datum/job/chief_engineer/equip(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/heads/ce(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/industrial(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/eng(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/engi(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/chief_engineer(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/heads/ce(H), slot_l_store)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/boots/workboots(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/head/hardhat/white(H), slot_head)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/belt/utility/full(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/gloves/black(H), slot_gloves)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
/datum/job/chief_engineer/equip_survival(var/mob/living/carbon/human/H, var/alt_title)
|
|
||||||
if(!H) return 0
|
|
||||||
H.species.equip_survival_gear(H,1)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/engineer
|
/datum/job/engineer
|
||||||
title = "Station Engineer"
|
title = "Station Engineer"
|
||||||
@@ -68,27 +47,7 @@
|
|||||||
|
|
||||||
minimal_player_age = 3
|
minimal_player_age = 3
|
||||||
|
|
||||||
/datum/job/engineer/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/engineering/engineer
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_eng(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/industrial(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/eng(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/engi(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/engineer(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/boots/workboots(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/belt/utility/full(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/head/hardhat(H), slot_head)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/t_scanner(H), slot_r_store)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/engineering(H), slot_l_store)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
/datum/job/engineer/equip_survival(var/mob/living/carbon/human/H)
|
|
||||||
if(!H) return 0
|
|
||||||
H.species.equip_survival_gear(H,1)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/atmos
|
/datum/job/atmos
|
||||||
title = "Atmospheric Technician"
|
title = "Atmospheric Technician"
|
||||||
@@ -107,21 +66,4 @@
|
|||||||
|
|
||||||
minimal_player_age = 3
|
minimal_player_age = 3
|
||||||
|
|
||||||
/datum/job/atmos/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/engineering/atmos
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_eng(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/norm(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/engi(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/atmospheric_technician(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/boots/workboots(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/atmos(H), slot_l_store)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/belt/utility/atmostech/(H), slot_belt)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
/datum/job/atmos/equip_survival(var/mob/living/carbon/human/H)
|
|
||||||
if(!H) return 0
|
|
||||||
H.species.equip_survival_gear(H,1)
|
|
||||||
return 1
|
|
||||||
@@ -25,9 +25,21 @@
|
|||||||
var/account_allowed = 1 // Does this job type come with a station account?
|
var/account_allowed = 1 // Does this job type come with a station account?
|
||||||
var/economic_modifier = 2 // With how much does this job modify the initial account amount?
|
var/economic_modifier = 2 // With how much does this job modify the initial account amount?
|
||||||
|
|
||||||
/datum/job/proc/equip(var/mob/living/carbon/human/H)
|
var/outfit_type
|
||||||
|
|
||||||
|
/datum/job/proc/equip(var/mob/living/carbon/human/H, var/alt_title)
|
||||||
|
var/decl/hierarchy/outfit/outfit = get_outfit(H, alt_title)
|
||||||
|
if(!outfit)
|
||||||
|
return FALSE
|
||||||
|
. = outfit.equip(H, title, alt_title)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
/datum/job/proc/get_outfit(var/mob/living/carbon/human/H, var/alt_title)
|
||||||
|
if(alt_title && alt_titles)
|
||||||
|
. = alt_titles[alt_title]
|
||||||
|
. = . || outfit_type
|
||||||
|
. = outfit_by_type(.)
|
||||||
|
|
||||||
/datum/job/proc/equip_backpack(var/mob/living/carbon/human/H)
|
/datum/job/proc/equip_backpack(var/mob/living/carbon/human/H)
|
||||||
switch(H.backbag)
|
switch(H.backbag)
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(H), slot_back)
|
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(H), slot_back)
|
||||||
@@ -71,9 +83,12 @@
|
|||||||
|
|
||||||
H << "<span class='notice'><b>Your account number is: [M.account_number], your account pin is: [M.remote_access_pin]</b></span>"
|
H << "<span class='notice'><b>Your account number is: [M.account_number], your account pin is: [M.remote_access_pin]</b></span>"
|
||||||
|
|
||||||
// overrideable separately so AIs/borgs can have cardborg hats without unneccessary new()/del()
|
// overrideable separately so AIs/borgs can have cardborg hats without unneccessary new()/qdel()
|
||||||
/datum/job/proc/equip_preview(mob/living/carbon/human/H, var/alt_title)
|
/datum/job/proc/equip_preview(mob/living/carbon/human/H, var/alt_title)
|
||||||
. = equip(H, alt_title)
|
var/decl/hierarchy/outfit/outfit = get_outfit(H, alt_title)
|
||||||
|
if(!outfit)
|
||||||
|
return FALSE
|
||||||
|
. = outfit.equip_base(H, title, alt_title)
|
||||||
|
|
||||||
/datum/job/proc/get_access()
|
/datum/job/proc/get_access()
|
||||||
if(!config || config.jobs_have_minimal_access)
|
if(!config || config.jobs_have_minimal_access)
|
||||||
|
|||||||
@@ -23,21 +23,7 @@
|
|||||||
minimal_player_age = 10
|
minimal_player_age = 10
|
||||||
ideal_character_age = 50
|
ideal_character_age = 50
|
||||||
|
|
||||||
/datum/job/cmo/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/medical/cmo
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/heads/cmo(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/medic(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/med(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/med(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/chief_medical_officer(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/brown(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/heads/cmo(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/firstaid/adv(H), slot_l_hand)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat/cmo(H), slot_wear_suit)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/healthanalyzer(H), slot_s_store)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
/datum/job/doctor
|
/datum/job/doctor
|
||||||
title = "Medical Doctor"
|
title = "Medical Doctor"
|
||||||
@@ -55,52 +41,7 @@
|
|||||||
minimal_access = list(access_medical, access_medical_equip, access_morgue, access_surgery, access_virology, access_eva)
|
minimal_access = list(access_medical, access_medical_equip, access_morgue, access_surgery, access_virology, access_eva)
|
||||||
alt_titles = list("Surgeon","Emergency Physician","Nurse","Virologist")
|
alt_titles = list("Surgeon","Emergency Physician","Nurse","Virologist")
|
||||||
|
|
||||||
/datum/job/doctor/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/medical/doctor
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_med(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/white(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/firstaid/adv(H), slot_l_hand)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/medic(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/med(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/med(H), slot_back)
|
|
||||||
if(has_alt_title(H, alt_title,"Emergency Physician"))
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/medical(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/fr_jacket(H), slot_wear_suit)
|
|
||||||
else if(has_alt_title(H, alt_title,"Surgeon"))
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/medical/scrubs(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat(H), slot_wear_suit)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/head/surgery/blue(H), slot_head)
|
|
||||||
else if(has_alt_title(H, alt_title,"Virologist"))
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/virologist(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat/virologist(H), slot_wear_suit)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/mask/surgical(H), slot_wear_mask)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/virology(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/vir(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/viro(H), slot_back)
|
|
||||||
else if(has_alt_title(H, alt_title,"Medical Doctor"))
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/medical(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat(H), slot_wear_suit)
|
|
||||||
else if(has_alt_title(H, alt_title,"Nurse"))
|
|
||||||
if(H.gender == FEMALE)
|
|
||||||
if(prob(50))
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/nursesuit(H), slot_w_uniform)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/nurse(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/head/nursehat(H), slot_head)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/medical/scrubs/purple(H), slot_w_uniform)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/medical(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat(H), slot_wear_suit)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/medical(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/healthanalyzer(H), slot_s_store)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Chemist is a medical job damnit //YEAH FUCK YOU SCIENCE -Pete //Guys, behave -Erro
|
//Chemist is a medical job damnit //YEAH FUCK YOU SCIENCE -Pete //Guys, behave -Erro
|
||||||
/datum/job/chemist
|
/datum/job/chemist
|
||||||
@@ -121,20 +62,7 @@
|
|||||||
|
|
||||||
minimal_player_age = 3
|
minimal_player_age = 3
|
||||||
|
|
||||||
/datum/job/chemist/equip(var/mob/living/carbon/human/H)
|
outfit_type = /decl/hierarchy/outfit/job/medical/chemist
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_med(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/chemist(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/white(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/chemist(H), slot_belt)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/chemistry(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/chem(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/chem(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat/chemist(H), slot_wear_suit)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
/* I'm commenting out Geneticist so you can't actually see it in the job menu, given that you can't play as one - Jon.
|
/* I'm commenting out Geneticist so you can't actually see it in the job menu, given that you can't play as one - Jon.
|
||||||
/datum/job/geneticist
|
/datum/job/geneticist
|
||||||
@@ -152,19 +80,7 @@
|
|||||||
access = list(access_medical, access_morgue, access_surgery, access_chemistry, access_virology, access_genetics, access_research)
|
access = list(access_medical, access_morgue, access_surgery, access_chemistry, access_virology, access_genetics, access_research)
|
||||||
minimal_access = list(access_medical, access_morgue, access_genetics, access_research)
|
minimal_access = list(access_medical, access_morgue, access_genetics, access_research)
|
||||||
|
|
||||||
/datum/job/geneticist/equip(var/mob/living/carbon/human/H)
|
outfit_type = /decl/hierarchy/outfit/job/medical/geneticist
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_medsci(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/geneticist(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/white(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/geneticist(H), slot_belt)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/genetics(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/gen(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat/genetics(H), slot_wear_suit)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/flashlight/pen(H), slot_s_store)
|
|
||||||
return 1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/datum/job/psychiatrist
|
/datum/job/psychiatrist
|
||||||
@@ -183,24 +99,7 @@
|
|||||||
minimal_access = list(access_medical, access_medical_equip, access_psychiatrist)
|
minimal_access = list(access_medical, access_medical_equip, access_psychiatrist)
|
||||||
alt_titles = list("Psychologist")
|
alt_titles = list("Psychologist")
|
||||||
|
|
||||||
/datum/job/psychiatrist/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/medical/psychiatrist
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_med(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/norm(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger(H), slot_back)
|
|
||||||
if(has_alt_title(H, alt_title,"Psychiatrist"))
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/psych(H), slot_w_uniform)
|
|
||||||
else if(has_alt_title(H, alt_title,"Psychologist"))
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/psych/turtleneck(H), slot_w_uniform)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/medical(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/laceup(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/medical(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat(H), slot_wear_suit)
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/Paramedic
|
/datum/job/Paramedic
|
||||||
title = "Paramedic"
|
title = "Paramedic"
|
||||||
@@ -218,29 +117,4 @@
|
|||||||
minimal_access = list(access_medical, access_medical_equip, access_morgue, access_eva, access_maint_tunnels, access_external_airlocks)
|
minimal_access = list(access_medical, access_medical_equip, access_morgue, access_eva, access_maint_tunnels, access_external_airlocks)
|
||||||
alt_titles = list("Emergency Medical Technician")
|
alt_titles = list("Emergency Medical Technician")
|
||||||
|
|
||||||
/datum/job/Paramedic/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/medical/paramedic
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_med(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/boots/jackboots(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/firstaid/adv(H), slot_l_hand)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/medic(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/med(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/med(H), slot_back)
|
|
||||||
if(has_alt_title(H, alt_title,"Emergency Medical Technician"))
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/medical/paramedic(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/fr_jacket(H), slot_wear_suit)
|
|
||||||
else if(has_alt_title(H, alt_title,"Paramedic"))
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/medical/scrubs(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/fr_jacket(H), slot_wear_suit)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/medical(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/belt/medical/emt(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/medical(H), slot_l_store)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
/datum/job/Paramedic/equip_survival(var/mob/living/carbon/human/H)
|
|
||||||
if(!H) return 0
|
|
||||||
H.species.equip_survival_gear(H,1)
|
|
||||||
return 1
|
|
||||||
@@ -26,22 +26,7 @@
|
|||||||
minimal_player_age = 14
|
minimal_player_age = 14
|
||||||
ideal_character_age = 50
|
ideal_character_age = 50
|
||||||
|
|
||||||
/datum/job/rd/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/science/rd
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/heads/rd(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/brown(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/research_director(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/heads/rd(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/clipboard(H), slot_l_hand)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/toxins(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/tox(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/tox(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat(H), slot_wear_suit)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/scientist
|
/datum/job/scientist
|
||||||
title = "Scientist"
|
title = "Scientist"
|
||||||
@@ -61,19 +46,7 @@
|
|||||||
|
|
||||||
minimal_player_age = 14
|
minimal_player_age = 14
|
||||||
|
|
||||||
/datum/job/scientist/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/science/scientist
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_sci(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/scientist(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/white(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/science(H), slot_belt)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/toxins(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/tox(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/tox(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat/science(H), slot_wear_suit)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
/datum/job/xenobiologist
|
/datum/job/xenobiologist
|
||||||
title = "Xenobiologist"
|
title = "Xenobiologist"
|
||||||
@@ -93,19 +66,7 @@
|
|||||||
|
|
||||||
minimal_player_age = 14
|
minimal_player_age = 14
|
||||||
|
|
||||||
/datum/job/xenobiologist/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/science/xenobiologist
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_sci(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/scientist(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/white(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/science(H), slot_belt)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/toxins(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/tox(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/tox(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat/science(H), slot_wear_suit)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
/datum/job/roboticist
|
/datum/job/roboticist
|
||||||
title = "Roboticist"
|
title = "Roboticist"
|
||||||
@@ -125,14 +86,4 @@
|
|||||||
|
|
||||||
minimal_player_age = 7
|
minimal_player_age = 7
|
||||||
|
|
||||||
/datum/job/roboticist/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/science/roboticist
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_sci(H), slot_l_ear)
|
|
||||||
if(H.backbag == 2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(H), slot_back)
|
|
||||||
if(H.backbag == 3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/norm(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/roboticist(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/black(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/roboticist(H), slot_r_store)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/belt/utility/full(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat(H), slot_wear_suit)
|
|
||||||
return 1
|
|
||||||
@@ -24,28 +24,7 @@
|
|||||||
minimum_character_age = 25
|
minimum_character_age = 25
|
||||||
minimal_player_age = 14
|
minimal_player_age = 14
|
||||||
|
|
||||||
/datum/job/hos/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/security/hos
|
||||||
if(!H) return 0
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/security(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/sec(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/sec(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/heads/hos(H), slot_l_ear)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/head_of_security(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/boots/jackboots(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/heads/hos(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/gloves/black(H), slot_gloves)
|
|
||||||
// H.equip_to_slot_or_del(new /obj/item/clothing/mask/gas(H), slot_wear_mask) //Grab one from the armory you donk
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/glasses/sunglasses/sechud(H), slot_glasses)
|
|
||||||
if(H.backbag == 1)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/handcuffs(H), slot_l_store)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/handcuffs(H), slot_in_backpack)
|
|
||||||
H.implant_loyalty()
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/warden
|
/datum/job/warden
|
||||||
title = "Warden"
|
title = "Warden"
|
||||||
@@ -63,28 +42,7 @@
|
|||||||
minimal_access = list(access_security, access_eva, access_sec_doors, access_brig, access_armory, access_maint_tunnels, access_external_airlocks)
|
minimal_access = list(access_security, access_eva, access_sec_doors, access_brig, access_armory, access_maint_tunnels, access_external_airlocks)
|
||||||
minimal_player_age = 5
|
minimal_player_age = 5
|
||||||
|
|
||||||
/datum/job/warden/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/security/warden
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_sec(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/security(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/sec(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/sec(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/warden(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/boots/jackboots(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/warden(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/gloves/black(H), slot_gloves)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/glasses/sunglasses/sechud(H), slot_glasses)
|
|
||||||
// H.equip_to_slot_or_del(new /obj/item/clothing/mask/gas(H), slot_wear_mask) //Grab one from the armory you donk
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/flash(H), slot_l_store)
|
|
||||||
if(H.backbag == 1)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/handcuffs(H), slot_l_hand)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/handcuffs(H), slot_in_backpack)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/detective
|
/datum/job/detective
|
||||||
title = "Detective"
|
title = "Detective"
|
||||||
@@ -103,33 +61,7 @@
|
|||||||
economic_modifier = 5
|
economic_modifier = 5
|
||||||
minimal_player_age = 3
|
minimal_player_age = 3
|
||||||
|
|
||||||
/datum/job/detective/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/security/detective
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_sec(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/norm(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/det(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/laceup(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/detective(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/gloves/black(H), slot_gloves)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/flame/lighter/zippo(H), slot_l_store)
|
|
||||||
if(H.backbag == 1)//Why cant some of these things spawn in his office?
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/box/evidence(H), slot_l_hand)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/box/evidence(H), slot_in_backpack)
|
|
||||||
if(has_alt_title(H, alt_title,"Forensic Technician"))
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/forensics/blue(H), slot_wear_suit)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/briefcase/crimekit, slot_r_hand)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/det_trench(H), slot_wear_suit)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/head/det(H), slot_head)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/storage/briefcase/crimekit(H), slot_r_hand)
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/datum/job/officer
|
/datum/job/officer
|
||||||
title = "Security Officer"
|
title = "Security Officer"
|
||||||
@@ -148,22 +80,4 @@
|
|||||||
minimal_access = list(access_security, access_eva, access_sec_doors, access_brig, access_maint_tunnels, access_external_airlocks)
|
minimal_access = list(access_security, access_eva, access_sec_doors, access_brig, access_maint_tunnels, access_external_airlocks)
|
||||||
minimal_player_age = 3
|
minimal_player_age = 3
|
||||||
|
|
||||||
/datum/job/officer/equip(var/mob/living/carbon/human/H, var/alt_title)
|
outfit_type = /decl/hierarchy/outfit/job/security/officer
|
||||||
if(!H) return 0
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_sec(H), slot_l_ear)
|
|
||||||
switch(H.backbag)
|
|
||||||
if(2) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/security(H), slot_back)
|
|
||||||
if(3) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/sec(H), slot_back)
|
|
||||||
if(4) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(H), slot_back)
|
|
||||||
if(5) H.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger/sec(H), slot_back)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/security(H), slot_w_uniform)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/boots/jackboots(H), slot_shoes)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/pda/security(H), slot_belt)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/clothing/gloves/black(H), slot_gloves)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/handcuffs(H), slot_s_store)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/device/flash(H), slot_l_store)
|
|
||||||
if(H.backbag == 1)
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/handcuffs(H), slot_l_hand)
|
|
||||||
else
|
|
||||||
H.equip_to_slot_or_del(new /obj/item/weapon/handcuffs(H), slot_in_backpack)
|
|
||||||
return 1
|
|
||||||
@@ -366,7 +366,7 @@ var/list/admin_verbs_event_manager = list(
|
|||||||
/client/proc/play_sound,
|
/client/proc/play_sound,
|
||||||
/client/proc/play_server_sound,
|
/client/proc/play_server_sound,
|
||||||
/client/proc/object_talk,
|
/client/proc/object_talk,
|
||||||
/client/proc/cmd_admin_dress,
|
/datum/admins/proc/cmd_admin_dress,
|
||||||
/client/proc/cmd_admin_gib_self,
|
/client/proc/cmd_admin_gib_self,
|
||||||
/client/proc/drop_bomb,
|
/client/proc/drop_bomb,
|
||||||
/client/proc/cinematic,
|
/client/proc/cinematic,
|
||||||
|
|||||||
Reference in New Issue
Block a user