forked from TauCetiStation/TauCetiClassic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
engineering.dm
111 lines (103 loc) · 3.91 KB
/
engineering.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/datum/job/chief_engineer
title = "Chief Engineer"
flag = CHIEF
department_flag = ENGSEC
faction = "Station"
total_positions = 1
spawn_positions = 1
supervisors = "the captain"
selection_color = "#ffeeaa"
idtype = /obj/item/weapon/card/id/engGold
req_admin_notify = 1
is_head = TRUE
access = list(
access_engine, access_engine_equip, access_tech_storage, access_maint_tunnels,
access_teleporter, access_external_airlocks, access_atmospherics, access_emergency_storage, access_eva,
access_heads, access_construction, access_sec_doors, access_minisat,
access_ce, access_RC_announce, access_keycard_auth, access_tcomsat, access_ai_upload, access_engineering_lobby
)
salary = 250
minimal_player_age = 7
minimal_player_ingame_minutes = 2400
outfit = /datum/outfit/job/chief_engineer
skillsets = list("Chief Engineer" = /datum/skillset/ce)
/*
HEY YOU!
ANY TIME YOU TOUCH THIS, PLEASE CONSIDER GOING TO preferences_savefile.dm
AND BUMPING UP THE SAVEFILE_VERSION_MAX, AND SAVEFILE_VERSION_SPECIES_JOBS
~Luduk
*/
restricted_species = list(TAJARAN, VOX, DIONA)
flags = JOB_FLAG_COMMAND|JOB_FLAG_ENGINEERING|JOB_FLAG_HEAD_OF_STAFF|JOB_FLAG_BLUESHIELD_PROTEC
/datum/job/engineer
title = "Station Engineer"
flag = ENGINEER
department_flag = ENGSEC
faction = "Station"
total_positions = 5
spawn_positions = 5
supervisors = "the chief engineer"
selection_color = "#fff5cc"
idtype = /obj/item/weapon/card/id/eng
access = list(access_engine, access_engine_equip, access_tech_storage, access_maint_tunnels, access_external_airlocks, access_construction, access_engineering_lobby)
alt_titles = list("Maintenance Technician","Engine Technician","Electrician")
outfit = /datum/outfit/job/engineer
skillsets = list("Station Engineer" = /datum/skillset/engineer)
salary = 160
minimal_player_age = 3
minimal_player_ingame_minutes = 540
flags = JOB_FLAG_ENGINEERING
/datum/job/atmos
title = "Atmospheric Technician"
flag = ATMOSTECH
department_flag = ENGSEC
faction = "Station"
total_positions = 3
spawn_positions = 2
supervisors = "the chief engineer"
selection_color = "#fff5cc"
idtype = /obj/item/weapon/card/id/eng
access = list(access_atmospherics, access_maint_tunnels, access_emergency_storage, access_construction, access_external_airlocks, access_engineering_lobby)
salary = 160
minimal_player_age = 3
minimal_player_ingame_minutes = 600
outfit = /datum/outfit/job/atmos
skillsets = list("Atmospheric Technician" = /datum/skillset/atmostech)
flags = JOB_FLAG_ENGINEERING
/datum/job/technical_assistant
title = "Technical Assistant"
flag = TECHNICASSISTANT
department_flag = ENGSEC
faction = "Station"
total_positions = 3
spawn_positions = 3
supervisors = "the chief engineer"
selection_color = "#fff5cc"
idtype = /obj/item/weapon/card/id/eng
access = list(access_engineering_lobby, access_construction, access_maint_tunnels)
salary = 50
outfit = /datum/outfit/job/technical_assistant
skillsets = list("Technical Assistant" = /datum/skillset/technicassistant)
flags = JOB_FLAG_ENGINEERING
/proc/get_airlock_wires_identification()
var/list/wire_list = same_wires[/obj/machinery/door/airlock]
var/list/wire_functions_list = list(
"[AIRLOCK_WIRE_IDSCAN]" = "ID scan",
"[AIRLOCK_WIRE_MAIN_POWER1]" = "main power",
"[AIRLOCK_WIRE_MAIN_POWER2]" = "backup power",
"[AIRLOCK_WIRE_DOOR_BOLTS]" = "door Bolts",
"[AIRLOCK_WIRE_OPEN_DOOR]" = "open door",
"[AIRLOCK_WIRE_AI_CONTROL]" = "ai control",
"[AIRLOCK_WIRE_ELECTRIFY]" = "electrify",
"[AIRLOCK_WIRE_SAFETY]" = "door safety",
"[AIRLOCK_WIRE_SPEED]" = "timing mechanism",
"[AIRLOCK_WIRE_LIGHT]" = "bolt light",
"[AIRLOCK_WIRE_UNRES_SIDE]" = "unrestricted sides"
)
var/info = ""
for(var/wire in wire_list)
var/current_wire_index = wire_list[wire]
var/current_wire_function = wire_functions_list["[current_wire_index]"]
if(current_wire_function)
info += "[capitalize(wire)] wire is [current_wire_function].<br>"
return info