mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Change them all to defines
This commit is contained in:
@@ -64,7 +64,7 @@ var/list/preferences_datums = list()
|
||||
var/list/features = list("mcolor" = "FFF", "tail_lizard" = "Smooth", "tail_human" = "None", "snout" = "Round", "horns" = "None", "ears" = "None", "wings" = "None", "frills" = "None", "spines" = "None", "body_markings" = "None", "legs" = "Normal Legs")
|
||||
|
||||
var/list/custom_names = list("clown", "mime", "ai", "cyborg", "religion", "deity")
|
||||
var/prefered_security_department = "Random"
|
||||
var/prefered_security_department = SEC_DEPT_RANDOM
|
||||
|
||||
//Mob preview
|
||||
var/icon/preview_icon = null
|
||||
@@ -1086,8 +1086,7 @@ var/list/preferences_datums = list()
|
||||
else
|
||||
user << "<font color='red'>Invalid name. Your name should be at least 2 and at most [MAX_NAME_LEN] characters long. It may only contain the characters A-Z, a-z, -, ' and .</font>"
|
||||
if("sec_dept")
|
||||
var/list/depts = list("Random", "None", "Engineering", "Medical", "Science", "Supply")
|
||||
var/department = input(user, "Choose your prefered security department:", "Security Departments") as null|anything in depts
|
||||
var/department = input(user, "Choose your prefered security department:", "Security Departments") as null|anything in security_depts_prefs
|
||||
if(department)
|
||||
prefered_security_department = department
|
||||
if ("preferred_map")
|
||||
|
||||
@@ -199,27 +199,26 @@ var/list/available_depts = list("Engineering", "Supply", "Medical", "Science")
|
||||
var/list/dep_access = null
|
||||
var/destination = null
|
||||
var/spawn_point = null
|
||||
|
||||
switch(department)
|
||||
if("Supply")
|
||||
if(SEC_DEPT_SUPPLY)
|
||||
ears = /obj/item/device/radio/headset/headset_sec/alt/department/supply
|
||||
dep_access = list(access_mailsorting, access_mining, access_mining_station)
|
||||
destination = /area/security/checkpoint/supply
|
||||
spawn_point = locate(/obj/effect/landmark/start/depsec/supply) in department_security_spawns
|
||||
tie = /obj/item/clothing/tie/armband/cargo
|
||||
if("Engineering")
|
||||
if(SEC_DEPT_ENGINEERING)
|
||||
ears = /obj/item/device/radio/headset/headset_sec/alt/department/engi
|
||||
dep_access = list(access_construction, access_engine)
|
||||
destination = /area/security/checkpoint/engineering
|
||||
spawn_point = locate(/obj/effect/landmark/start/depsec/engineering) in department_security_spawns
|
||||
tie = /obj/item/clothing/tie/armband/engine
|
||||
if("Medical")
|
||||
if(SEC_DEPT_MEDICAL)
|
||||
ears = /obj/item/device/radio/headset/headset_sec/alt/department/med
|
||||
dep_access = list(access_medical)
|
||||
destination = /area/security/checkpoint/medical
|
||||
spawn_point = locate(/obj/effect/landmark/start/depsec/medical) in department_security_spawns
|
||||
tie = /obj/item/clothing/tie/armband/medblue
|
||||
if("Science")
|
||||
if(SEC_DEPT_SCIENCE)
|
||||
ears = /obj/item/device/radio/headset/headset_sec/alt/department/sci
|
||||
dep_access = list(access_research)
|
||||
destination = /area/security/checkpoint/science
|
||||
|
||||
Reference in New Issue
Block a user