forked from ParadiseSS13/Paradise
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ss220club:master' into red_mask
- Loading branch information
Showing
45 changed files
with
931 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Special tiers for ss220 staff | ||
#define BIG_WORKER_TIER 220 | ||
#define LITTLE_WORKER_TIER 110 | ||
|
||
// What TTS level does it give access to? | ||
#define BIG_WORKER_TTS_LEVEL 3 | ||
#define LITTLE_WORKER_TTS_LEVEL 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#define NOVICE_JOB_MINUTES 120 | ||
#define NOVICE_CADET_JOB_MINUTES 300 | ||
|
||
// JOBCAT_ENGSEC | ||
#define JOB_TRAINEE (1<<15) | ||
#define JOB_CADET (1<<16) | ||
|
||
// JOBCAT_MEDSCI | ||
#define JOB_INTERN (1<<11) | ||
#define JOB_STUDENT (1<<12) | ||
// Если ОФФы добавят новую должность в отдел, то потребуется смещение |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
#include "_jobs.dm" | ||
|
||
#include "code/access.dm" | ||
// #include "code/cards_ids.dm" | ||
// #include "code/jobs.dm" | ||
// #include "code/clothing/engineering_clothing.dm" | ||
// #include "code/clothing/medical_clothing.dm" | ||
// #include "code/clothing/science_clothing.dm" | ||
// #include "code/clothing/security_clothing.dm" | ||
// #include "code/job/engineering_jobs.dm" | ||
// #include "code/job/medical_jobs.dm" | ||
// #include "code/job/science_jobs.dm" | ||
// #include "code/job/security_jobs.dm" | ||
#include "code/card_computer.dm" | ||
#include "code/card_id.dm" | ||
#include "code/departaments.dm" | ||
#include "code/jobs_global_list.dm" | ||
#include "code/jobs_character.dm" | ||
#include "code/jobs_gamemodes.dm" | ||
#include "code/jobs.dm" | ||
#include "code/clothing/engineering_clothing.dm" | ||
#include "code/clothing/medical_clothing.dm" | ||
#include "code/clothing/science_clothing.dm" | ||
#include "code/clothing/security_clothing.dm" | ||
#include "code/job/engineering_jobs.dm" | ||
#include "code/job/medical_jobs.dm" | ||
#include "code/job/science_jobs.dm" | ||
#include "code/job/security_jobs.dm" | ||
#include "code/objects/job_objects.dm" | ||
#include "code/objects/engineering_job_objects.dm" | ||
#include "code/objects/medical_job_objects.dm" | ||
#include "code/objects/science_job_objects.dm" | ||
#include "code/objects/security_job_objects.dm" | ||
#include "code/objects/wardrobe_vendors.dm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/obj/machinery/computer/card/ui_data(mob/user) | ||
var/list/data = ..() | ||
|
||
if(mode == IDCOMPUTER_SCREEN_TRANSFER) // JOB TRANSFER | ||
if(modify && scan && !target_dept) | ||
data["card_skins"] |= format_card_skins(GLOB.card_skins_ss220) | ||
|
||
return data | ||
|
||
/obj/machinery/computer/card/ui_act(action, params) | ||
. = ..() | ||
switch(action) | ||
if("skin") | ||
if(!modify) | ||
return FALSE | ||
var/skin = params["skin_target"] | ||
if(!skin || !(skin in GLOB.card_skins_ss220)) | ||
return FALSE | ||
|
||
modify.icon_state = skin//get_card_skins_ss220(skin) | ||
return TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/mob/living/carbon/human/sec_hud_set_ID() | ||
var/image/holder = hud_list[ID_HUD] | ||
holder.icon = 'icons/mob/hud/sechud.dmi' | ||
if(wear_id && (wear_id.get_job_name() in GLOB.jobs_positions_ss220)) | ||
holder.icon = 'modular_ss220/jobs/icons/hud.dmi' | ||
. = ..() | ||
|
||
/obj/item/get_job_name() //Used in secHUD icon generation | ||
var/assignmentName = get_ID_assignment(if_no_id = "Unknown") | ||
var/rankName = get_ID_rank(if_no_id = "Unknown") | ||
|
||
var/list/titles = GLOB.jobs_positions_ss220 | ||
|
||
if(assignmentName in titles) //Check if the job has a hud icon | ||
return assignmentName | ||
if(rankName in titles) | ||
return rankName | ||
|
||
. = ..() | ||
|
||
GLOBAL_LIST_INIT(card_skins_ss220, list( | ||
"intern", "student", "trainee", "cadet", | ||
)) | ||
|
||
/obj/item/card/id/medical/intern | ||
name = "Intern ID" | ||
registered_name = "Intern" | ||
icon = 'modular_ss220/aesthetics/better_ids/icons/better_ids.dmi' | ||
icon_state = "intern" | ||
item_state = "intern-id" | ||
rank = "Intern" | ||
|
||
/obj/item/card/id/research/student | ||
name = "Student ID" | ||
registered_name = "Student" | ||
icon = 'modular_ss220/aesthetics/better_ids/icons/better_ids.dmi' | ||
icon_state = "student" | ||
item_state = "student-id" | ||
|
||
/obj/item/card/id/engineering/trainee | ||
name = "Trainee ID" | ||
registered_name = "Trainee" | ||
icon = 'modular_ss220/aesthetics/better_ids/icons/better_ids.dmi' | ||
icon_state = "trainee" | ||
item_state = "trainee-id" | ||
|
||
/obj/item/card/id/security/cadet | ||
name = "Cadet ID" | ||
registered_name = "Cadet" | ||
icon = 'modular_ss220/aesthetics/better_ids/icons/better_ids.dmi' | ||
icon_state = "cadet" | ||
item_state = "cadet-id" | ||
|
||
/obj/item/card/id/syndicate/Initialize() | ||
. = ..() | ||
appearances |= GLOB.card_skins_ss220 |
Oops, something went wrong.