mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 23:48:28 +01:00
Explorer Transfers (#13384)
* v1, explorer as job transfer option for HOPs * move to support.dm * spacing * recategorize as support * ACCESS_EXTERNAL_AIRLOCKS * corrected access line * Updated explorer HUD icon Co-authored-by: Kyep <Kyep@users.noreply.github.com>
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
#define JOB_CLOWN (1<<11)
|
||||
#define JOB_MIME (1<<12)
|
||||
#define JOB_CIVILIAN (1<<13)
|
||||
|
||||
#define JOB_EXPLORER (1<<14)
|
||||
|
||||
#define JOBCAT_KARMA (1<<3)
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
|
||||
var/disabilities_allowed = 1
|
||||
var/transfer_allowed = TRUE // If false, ID computer will always discourage transfers to this job, even if player is eligible
|
||||
var/hidden_from_job_prefs = FALSE // if true, job preferences screen never shows this job.
|
||||
|
||||
var/admin_only = 0
|
||||
var/spawn_ert = 0
|
||||
|
||||
@@ -450,3 +450,24 @@
|
||||
/obj/item/storage/box/lip_stick = 1,
|
||||
/obj/item/storage/box/barber = 1
|
||||
)
|
||||
|
||||
/datum/job/explorer
|
||||
title = "Explorer"
|
||||
flag = JOB_EXPLORER
|
||||
department_flag = JOBCAT_SUPPORT
|
||||
total_positions = 0
|
||||
spawn_positions = 0
|
||||
supervisors = "the head of personnel"
|
||||
selection_color = "#dddddd"
|
||||
access = list(ACCESS_MAINT_TUNNELS, ACCESS_GATEWAY, ACCESS_EVA, ACCESS_EXTERNAL_AIRLOCKS)
|
||||
minimal_access = list(ACCESS_MAINT_TUNNELS, ACCESS_GATEWAY, ACCESS_EVA, ACCESS_EXTERNAL_AIRLOCKS)
|
||||
outfit = /datum/outfit/job/explorer
|
||||
hidden_from_job_prefs = TRUE
|
||||
|
||||
/datum/outfit/job/explorer
|
||||
// This outfit is never used, because there are no slots for this job.
|
||||
// To get it, you have to go to the HOP and ask for a transfer to it.
|
||||
name = "Explorer"
|
||||
jobtype = /datum/job/explorer
|
||||
uniform = /obj/item/clothing/under/color/random
|
||||
shoes = /obj/item/clothing/shoes/black
|
||||
|
||||
@@ -58,7 +58,8 @@ GLOBAL_LIST_INIT(support_positions, list(
|
||||
"Barber",
|
||||
"Magistrate",
|
||||
"Nanotrasen Representative",
|
||||
"Blueshield"
|
||||
"Blueshield",
|
||||
"Explorer"
|
||||
))
|
||||
|
||||
GLOBAL_LIST_INIT(supply_positions, list(
|
||||
|
||||
@@ -25,7 +25,8 @@ GLOBAL_VAR_INIT(time_last_changed_position, 0)
|
||||
/datum/job/ntnavyofficer,
|
||||
/datum/job/ntspecops,
|
||||
/datum/job/civilian,
|
||||
/datum/job/syndicateofficer
|
||||
/datum/job/syndicateofficer,
|
||||
/datum/job/explorer // blacklisted so that HOPs don't try prioritizing it, then wonder why that doesn't work
|
||||
)
|
||||
// Jobs that appear in the list, and you can prioritize, but not open/close slots for
|
||||
var/list/blacklisted_partial = list(
|
||||
|
||||
@@ -624,6 +624,9 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
|
||||
if(job.admin_only)
|
||||
continue
|
||||
|
||||
if(job.hidden_from_job_prefs)
|
||||
continue
|
||||
|
||||
index += 1
|
||||
if((index >= limit) || (job.title in splitJobs))
|
||||
if((index < limit) && (lastJob != null))
|
||||
|
||||
@@ -35,7 +35,8 @@
|
||||
/datum/job/ntnavyofficer,
|
||||
/datum/job/ntspecops,
|
||||
/datum/job/civilian,
|
||||
/datum/job/syndicateofficer
|
||||
/datum/job/syndicateofficer,
|
||||
/datum/job/explorer // blacklisted so that HOPs don't try prioritizing it, then wonder why that doesn't work
|
||||
)
|
||||
|
||||
//The scaling factor of max total positions in relation to the total amount of people on board the station in %
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Reference in New Issue
Block a user