Update files
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
|
||||
var/detail_color = COLOR_ASSEMBLY_ORANGE
|
||||
|
||||
/obj/item/card/data/Initialize()
|
||||
/obj/item/card/data/Initialize(mapload)
|
||||
.=..()
|
||||
update_icon()
|
||||
|
||||
@@ -448,7 +448,7 @@
|
||||
var/anyone = FALSE //Can anyone forge the ID or just syndicate?
|
||||
var/forged = FALSE //have we set a custom name and job assignment, or will we use what we're given when we chameleon change?
|
||||
|
||||
/obj/item/card/id/syndicate/Initialize()
|
||||
/obj/item/card/id/syndicate/Initialize(mapload)
|
||||
. = ..()
|
||||
var/datum/action/item_action/chameleon/change/chameleon_action = new(src)
|
||||
chameleon_action.chameleon_type = /obj/item/card/id
|
||||
@@ -566,7 +566,7 @@
|
||||
registered_name = "Captain"
|
||||
assignment = "Captain"
|
||||
|
||||
/obj/item/card/id/captains_spare/Initialize()
|
||||
/obj/item/card/id/captains_spare/Initialize(mapload)
|
||||
var/datum/job/captain/J = new/datum/job/captain
|
||||
access = J.get_access()
|
||||
. = ..()
|
||||
@@ -578,7 +578,7 @@
|
||||
registered_name = "Central Command"
|
||||
assignment = "General"
|
||||
|
||||
/obj/item/card/id/centcom/Initialize()
|
||||
/obj/item/card/id/centcom/Initialize(mapload)
|
||||
access = get_all_centcom_access()
|
||||
. = ..()
|
||||
|
||||
@@ -589,7 +589,7 @@
|
||||
registered_name = "Emergency Response Team Commander"
|
||||
assignment = "Emergency Response Team Commander"
|
||||
|
||||
/obj/item/card/id/ert/Initialize()
|
||||
/obj/item/card/id/ert/Initialize(mapload)
|
||||
access = get_all_accesses()+get_ert_access("commander")-ACCESS_CHANGE_IDS
|
||||
. = ..()
|
||||
|
||||
@@ -598,7 +598,7 @@
|
||||
registered_name = "Security Response Officer"
|
||||
assignment = "Security Response Officer"
|
||||
|
||||
/obj/item/card/id/ert/Security/Initialize()
|
||||
/obj/item/card/id/ert/Security/Initialize(mapload)
|
||||
access = get_all_accesses()+get_ert_access("sec")-ACCESS_CHANGE_IDS
|
||||
. = ..()
|
||||
|
||||
@@ -607,7 +607,7 @@
|
||||
registered_name = "Engineer Response Officer"
|
||||
assignment = "Engineer Response Officer"
|
||||
|
||||
/obj/item/card/id/ert/Engineer/Initialize()
|
||||
/obj/item/card/id/ert/Engineer/Initialize(mapload)
|
||||
access = get_all_accesses()+get_ert_access("eng")-ACCESS_CHANGE_IDS
|
||||
. = ..()
|
||||
|
||||
@@ -616,7 +616,7 @@
|
||||
registered_name = "Medical Response Officer"
|
||||
assignment = "Medical Response Officer"
|
||||
|
||||
/obj/item/card/id/ert/Medical/Initialize()
|
||||
/obj/item/card/id/ert/Medical/Initialize(mapload)
|
||||
access = get_all_accesses()+get_ert_access("med")-ACCESS_CHANGE_IDS
|
||||
. = ..()
|
||||
|
||||
@@ -625,7 +625,7 @@
|
||||
registered_name = "Religious Response Officer"
|
||||
assignment = "Religious Response Officer"
|
||||
|
||||
/obj/item/card/id/ert/chaplain/Initialize()
|
||||
/obj/item/card/id/ert/chaplain/Initialize(mapload)
|
||||
access = get_all_accesses()+get_ert_access("sec")-ACCESS_CHANGE_IDS
|
||||
. = ..()
|
||||
|
||||
@@ -763,7 +763,7 @@
|
||||
var/department_ID = ACCOUNT_CIV
|
||||
var/department_name = ACCOUNT_CIV_NAME
|
||||
|
||||
/obj/item/card/id/departmental_budget/Initialize()
|
||||
/obj/item/card/id/departmental_budget/Initialize(mapload)
|
||||
. = ..()
|
||||
var/datum/bank_account/B = SSeconomy.get_dep_account(department_ID)
|
||||
if(B)
|
||||
@@ -819,7 +819,7 @@
|
||||
var/id_color = "#00FF00" //defaults to green
|
||||
var/mutable_appearance/id_overlay
|
||||
|
||||
/obj/item/card/id/knight/Initialize()
|
||||
/obj/item/card/id/knight/Initialize(mapload)
|
||||
. = ..()
|
||||
id_overlay = mutable_appearance(icon, "knight_overlay")
|
||||
update_icon()
|
||||
@@ -870,7 +870,7 @@
|
||||
icon_state = "ert_janitor"
|
||||
assignment = "Jannie"
|
||||
|
||||
/obj/item/card/id/debug/Initialize()
|
||||
/obj/item/card/id/debug/Initialize(mapload)
|
||||
access = get_all_accesses()+get_all_centcom_access()+get_all_syndicate_access()
|
||||
registered_account = SSeconomy.get_dep_account(ACCOUNT_CAR)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user