Skip to content

Commit

Permalink
Exile fix and some mapping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Furrior committed Oct 22, 2023
1 parent 2aecac8 commit 9308164
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 9 deletions.
14 changes: 6 additions & 8 deletions _maps/map_files220/generic/centcomm.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -28574,14 +28574,12 @@
/obj/item/clothing/under/suit/mafia/tan,
/obj/item/clothing/under/suit/mafia,
/obj/item/clothing/under/suit/mafia,
/obj/item/clothing/under/rank/civilian/lawyer/black,
/obj/item/clothing/under/rank/civilian/lawyer/black,
/obj/item/clothing/under/rank/civilian/lawyer/blue,
/obj/item/clothing/under/rank/civilian/lawyer/blue,
/obj/item/clothing/under/rank/civilian/lawyer/purple,
/obj/item/clothing/under/rank/civilian/lawyer/purple,
/obj/item/clothing/under/rank/civilian/lawyer/red,
/obj/item/clothing/under/rank/civilian/lawyer/red,
/obj/item/clothing/under/rank/procedure/lawyer/black,
/obj/item/clothing/under/rank/procedure/lawyer/black,
/obj/item/clothing/under/rank/procedure/lawyer/blue,
/obj/item/clothing/under/rank/procedure/lawyer/blue,
/obj/item/clothing/under/rank/procedure/lawyer/red,
/obj/item/clothing/under/rank/procedure/lawyer/red,
/obj/effect/decal/warning_stripes/white{
color = "76643a"
},
Expand Down
1 change: 1 addition & 0 deletions modular_ss220/gateway/_gateway.dme
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "_gateway.dm"

#include "code/exile.dm"
#include "code/gateway.dm"
#include "code/gateway_config.dm"
#include "code/gateway_initialize.dm"
36 changes: 36 additions & 0 deletions modular_ss220/gateway/code/exile.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Exile implants will allow you to use the station gate, but not return home.
// This will allow security to exile badguys/for badguys to exile their kill targets
/obj/item/implant/exile
name = "exile bio-chip"
desc = "Prevents you from returning from away missions"
origin_tech = "materials=2;biotech=3;magnets=2;bluespace=3"
activated = BIOCHIP_ACTIVATED_PASSIVE
implant_data = /datum/implant_fluff/exile
implant_state = "implant-nanotrasen"

/datum/implant_fluff/exile
name = "Nanotrasen Employee Exile Bio-chip"
life = "Known to last up to 3 to 4 years."
notes = "The onboard station gateway system has been modified to reject entry by individuals containing this bio-chip."
function = "Prevents the user from reentering the station through the gateway.... alive."

/obj/item/implanter/exile
name = "bio-chip implanter (exile)"
implant_type = /obj/item/implant/exile

/obj/item/implantcase/exile
name = "bio-chip case - 'Exile'"
desc = "A glass case containing an exile bio-chip."
implant_type = /obj/item/implant/exile

/obj/structure/closet/secure_closet/exile
name = "exile bio-chips"
req_access = list(ACCESS_ARMORY)

/obj/structure/closet/secure_closet/exile/populate_contents()
new /obj/item/implanter/exile(src)
new /obj/item/implantcase/exile(src)
new /obj/item/implantcase/exile(src)
new /obj/item/implantcase/exile(src)
new /obj/item/implantcase/exile(src)
new /obj/item/implantcase/exile(src)
2 changes: 1 addition & 1 deletion modular_ss220/jobs/code/cards_ids.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GLOBAL_LIST_INIT(Jobs_SS220, list("intern", "cadet", "trainee", "student"))

/mob/living/carbon/human/sec_hud_set_ID()
var/image/holder = hud_list[ID_HUD]
holder.icon = 'icons/mob/hud.dmi'
holder.icon = 'icons/mob/hud/sechud.dmi'
if(wear_id && (wear_id.get_job_name() in GLOB.Jobs_SS220))
holder.icon = 'modular_ss220/jobs/icons/hud.dmi'
. = ..()
Expand Down

0 comments on commit 9308164

Please sign in to comment.