mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 21:19:44 +01:00
lost borg changes (#15994)
This commit is contained in:
@@ -3,146 +3,288 @@
|
||||
// Please make sure that only the relevant sprite_stacks_xxx.file is included, if more are made.
|
||||
|
||||
/obj/item/weapon/card
|
||||
icon = 'icons/obj/card_new.dmi' // These are redefined here so that changing sprites is as easy as clicking the checkbox.
|
||||
base_icon = 'icons/obj/card_new.dmi'
|
||||
icon = 'icons/obj/card_new_vr.dmi' // These are redefined here so that changing sprites is as easy as clicking the checkbox.
|
||||
base_icon = 'icons/obj/card_new_vr.dmi'
|
||||
|
||||
// New sprite stacks can be defined here. You could theoretically change icon-states as well but right now this file compiles before station_ids.dm so those wouldn't be affected.
|
||||
|
||||
/*
|
||||
|
||||
//IDs
|
||||
|
||||
/obj/item/weapon/card/id
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/generic
|
||||
name = "Generic ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-silhouette", "clip")
|
||||
|
||||
// CENTCOM
|
||||
//Central
|
||||
|
||||
/obj/item/weapon/card/id/centcom
|
||||
initial_sprite_stack = list("base-stamp", "top-blue", "stamp-n", "pips-gold")
|
||||
name = "Central Command ID"
|
||||
initial_sprite_stack = list("base-stamp-gold", "top-blue", "stamp-n", "pips-white", "stripe-gold")
|
||||
|
||||
/obj/item/weapon/card/id/centcom/vip
|
||||
initial_sprite_stack = list("base-stamp-gold", "top-blue", "stamp-n", "pips-gold")
|
||||
name = "VIP ID"
|
||||
initial_sprite_stack = list("base-stamp-gold", "top-blue", "stamp-n", "pips-gold", "stripe-gold")
|
||||
|
||||
//ERT
|
||||
|
||||
/obj/item/weapon/card/id/centcom/ERT
|
||||
initial_sprite_stack = list("base-stamp", "top-blue", "stamp-n", "pips-red", "stripe-red")
|
||||
name = "Emergency Responder ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-red", "stripe-red")
|
||||
|
||||
/obj/item/weapon/card/id/centcom/ERT/medic
|
||||
name = "Emergency Medical Responder ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-medblu", "stripe-medblu")
|
||||
|
||||
/obj/item/weapon/card/id/centcom/ERT/commander
|
||||
name = "Emergency Response Commander ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-gold", "stripe-gold")
|
||||
|
||||
/obj/item/weapon/card/id/centcom/ERT/engineer
|
||||
name = "Emergency Engineering Responder ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-orange", "stripe-orange")
|
||||
|
||||
/obj/item/weapon/card/id/centcom/ERT/janitor
|
||||
name = "Emergency Cleanup Responder ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-purple", "stripe-purple")
|
||||
|
||||
//Silver
|
||||
|
||||
// GENERIC COMMAND
|
||||
/obj/item/weapon/card/id/silver
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-mime", "stamp-n-generic")
|
||||
name = "Silver ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/silver/secretary
|
||||
name = "Secretary's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-blue", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/silver/hop
|
||||
initial_sprite_stack = list("base-stamp", "top-blue", "stamp-n", "stripe-white")
|
||||
name = "Head of Personnel ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-gold")
|
||||
|
||||
//Gold
|
||||
|
||||
/obj/item/weapon/card/id/gold
|
||||
name = "Gold ID"
|
||||
initial_sprite_stack = list("base-stamp-gold", "top-blue", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/gold/captain
|
||||
name = "Captain's ID"
|
||||
initial_sprite_stack = list("base-stamp-gold", "top-blue", "stamp-n", "pips-gold")
|
||||
|
||||
/obj/item/weapon/card/id/gold/captain/spare
|
||||
name = "Spare ID"
|
||||
initial_sprite_stack = list("base-stamp-gold", "top-gold", "stamp-n")
|
||||
|
||||
//Medical
|
||||
|
||||
// MEDICAL
|
||||
/obj/item/weapon/card/id/medical
|
||||
name = "Medical ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/medical/chemist
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "pips-orange")
|
||||
name = "Chemist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "stripe-orange")
|
||||
|
||||
/obj/item/weapon/card/id/medical/geneticist
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "pips-purple")
|
||||
name = "Geneticist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "stripe-purple")
|
||||
|
||||
/obj/item/weapon/card/id/medical/psych
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "pips-purple")
|
||||
name = "Psychologist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "stripe-brown")
|
||||
|
||||
/obj/item/weapon/card/id/medical/virologist
|
||||
name = "Virologist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "stripe-green")
|
||||
|
||||
/obj/item/weapon/card/id/medical/emt
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "pips-blue")
|
||||
name = "Emergency Medical Technician's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "stripe-blue")
|
||||
|
||||
/obj/item/weapon/card/id/medical/head
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-medblu", "stamp-n", "stripe-gold")
|
||||
name = "Chief Medical Officer's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-medblu", "stamp-n", "pips-gold")
|
||||
|
||||
/obj/item/weapon/card/id/medical/sar
|
||||
initial_sprite_stack = list("base-stamp", "top-darkgreen", "stamp-n", "pips-medblu")
|
||||
//Security
|
||||
|
||||
// SECURITY
|
||||
/obj/item/weapon/card/id/security
|
||||
name = "Security ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-red", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/security/detective
|
||||
initial_sprite_stack = list("base-stamp", "top-red", "stamp-n", "pips-brown")
|
||||
name = "Detective's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-red", "stamp-n", "stripe-brown")
|
||||
|
||||
/obj/item/weapon/card/id/security/warden
|
||||
initial_sprite_stack = list("base-stamp", "top-red", "stamp-n", "pips-white")
|
||||
name = "Warden's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-red", "stamp-n", "stripe-white")
|
||||
|
||||
/obj/item/weapon/card/id/security/head
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-red", "stamp-n", "stripe-gold")
|
||||
name = "Head of Security's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-red", "stamp-n", "pips-gold")
|
||||
|
||||
//Engineering
|
||||
|
||||
// ENGINEERING
|
||||
/obj/item/weapon/card/id/engineering
|
||||
name = "Engineering ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-orange", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/engineering/atmos
|
||||
initial_sprite_stack = list("base-stamp", "top-orange", "pips-medblu", "stamp-n")
|
||||
name = "Atmospherics ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-orange", "stripe-medblu", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/engineering/head
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-orange", "stamp-n", "stripe-gold")
|
||||
name = "Chief Engineer's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-orange", "stamp-n", "pips-gold")
|
||||
|
||||
//Science
|
||||
|
||||
// SCIENCE
|
||||
/obj/item/weapon/card/id/science
|
||||
name = "Science ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-purple", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/science/roboticist
|
||||
initial_sprite_stack = list("base-stamp", "top-purple", "stamp-n", "pips-orange")
|
||||
name = "Roboticist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-purple", "stamp-n", "stripe-brown")
|
||||
|
||||
/obj/item/weapon/card/id/science/explorer
|
||||
initial_sprite_stack = list("base-stamp", "top-darkgreen", "stamp-n")
|
||||
/obj/item/weapon/card/id/science/xenobiologist
|
||||
name = "Xenobiologist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-purple", "stamp-n", "stripe-orange")
|
||||
|
||||
/obj/item/weapon/card/id/science/xenobotanist
|
||||
name = "Xenobotanist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-purple", "stamp-n", "stripe-green")
|
||||
|
||||
/obj/item/weapon/card/id/science/head
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-purple", "stamp-n", "stripe-gold")
|
||||
name = "Research Director's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-purple", "stamp-n", "pips-gold")
|
||||
|
||||
/obj/item/weapon/card/id/science/head/pathfinder
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "dept-exploration", "stamp-n", "pips-gold")
|
||||
//Cargo
|
||||
|
||||
// CARGO
|
||||
/obj/item/weapon/card/id/cargo
|
||||
name = "Cargo ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-brown", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/cargo/miner
|
||||
initial_sprite_stack = list("base-stamp", "top-brown", "stamp-n", "pips-purple")
|
||||
name = "Miner's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-brown", "stamp-n", "stripe-purple")
|
||||
|
||||
/obj/item/weapon/card/id/cargo/head
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-brown", "stamp-n", "pips-gold")
|
||||
name = "Quartermaster's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-brown", "stamp-n", "pips-white")
|
||||
|
||||
//Civilian
|
||||
|
||||
// CIVLIAN
|
||||
/obj/item/weapon/card/id/civilian
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n")
|
||||
name = "Civilian ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/chaplain
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-dark", "stamp-cross", "pips-white")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/internal_affairs
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/botanist
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "pips-brown")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/bartender
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "pips-dark")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/chef
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "pips-white")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/janitor
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "pips-purple")
|
||||
name = "Chaplain's ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-cross", "stripe-white")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/journalist
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n")
|
||||
name = "Journalist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n", "stripe-red")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/pilot
|
||||
name = "Pilot's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n", "stripe-olive")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/entertainer
|
||||
name = "Entertainer's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n", "stripe-brown")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/entrepreneur
|
||||
name = "Entrepreneur's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n", "stripe-gold")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/clown
|
||||
name = "Clown's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-rainbow", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/mime
|
||||
name = "Mime's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-white", "stamp-n", "stripe-black")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/pilot
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n", "pips-blue")
|
||||
/obj/item/weapon/card/id/civilian/internal_affairs
|
||||
name = "Internal Affairs ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-blue", "stamp-n", "stripe-black")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/head
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "stripe-white")
|
||||
//Service
|
||||
|
||||
/obj/item/weapon/card/id/civilian/service
|
||||
name = "Service ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/service/botanist
|
||||
name = "Botanist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "stripe-darkgreen")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/service/bartender
|
||||
name = "Bartender's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "stripe-black")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/service/chef
|
||||
name = "Chef's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "stripe-white")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/service/janitor
|
||||
name = "Janitor's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "stripe-purple")
|
||||
|
||||
//Exploration
|
||||
|
||||
/obj/item/weapon/card/id/exploration
|
||||
name = "Exploration ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-olive", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/exploration/fm
|
||||
name = "Field Medic's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-olive", "stamp-n", "stripe-medblu")
|
||||
|
||||
/obj/item/weapon/card/id/exploration/head
|
||||
name = "Pathfinder's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-olive", "stamp-n", "pips-white")
|
||||
|
||||
//Talon
|
||||
|
||||
/obj/item/weapon/card/id/talon
|
||||
name = "Talon ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette")
|
||||
|
||||
/obj/item/weapon/card/id/talon/doctor
|
||||
name = "Talon Medical ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-medblu", "stripe-medblu")
|
||||
|
||||
/obj/item/weapon/card/id/talon/engineer
|
||||
name = "Talon Engineering ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-orange", "stripe-orange")
|
||||
|
||||
/obj/item/weapon/card/id/talon/officer
|
||||
name = "Talon Security ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-red", "stripe-red")
|
||||
|
||||
/obj/item/weapon/card/id/talon/pilot
|
||||
name = "Talon Pilot ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-purple", "stripe-purple")
|
||||
|
||||
/obj/item/weapon/card/id/talon/miner
|
||||
name = "Talon Mining ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-brown", "stripe-brown")
|
||||
|
||||
/obj/item/weapon/card/id/talon/captain
|
||||
name = "Talon Captain ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-gold", "stripe-gold")
|
||||
|
||||
//Antags
|
||||
|
||||
/obj/item/weapon/card/id/syndicate
|
||||
name = "Syndicate ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-syndicate", "stamp-s")
|
||||
|
||||
/obj/item/weapon/card/id/syndicate/officer
|
||||
name = "Syndicate Officer ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-syndicate", "stamp-s", "pips-gold", "stripe-gold")
|
||||
*/
|
||||
|
||||
@@ -1,284 +0,0 @@
|
||||
/obj/item/weapon/card
|
||||
icon = 'icons/obj/card_new_vr.dmi'
|
||||
base_icon = 'icons/obj/card_new_vr.dmi'
|
||||
|
||||
//IDs
|
||||
|
||||
/obj/item/weapon/card/id
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/generic
|
||||
name = "Generic ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-silhouette", "clip")
|
||||
|
||||
//Central
|
||||
|
||||
/obj/item/weapon/card/id/centcom
|
||||
name = "Central Command ID"
|
||||
initial_sprite_stack = list("base-stamp-gold", "top-blue", "stamp-n", "pips-white", "stripe-gold")
|
||||
|
||||
/obj/item/weapon/card/id/centcom/vip
|
||||
name = "VIP ID"
|
||||
initial_sprite_stack = list("base-stamp-gold", "top-blue", "stamp-n", "pips-gold", "stripe-gold")
|
||||
|
||||
//ERT
|
||||
|
||||
/obj/item/weapon/card/id/centcom/ERT
|
||||
name = "Emergency Responder ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-red", "stripe-red")
|
||||
|
||||
/obj/item/weapon/card/id/centcom/ERT/medic
|
||||
name = "Emergency Medical Responder ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-medblu", "stripe-medblu")
|
||||
|
||||
/obj/item/weapon/card/id/centcom/ERT/commander
|
||||
name = "Emergency Response Commander ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-gold", "stripe-gold")
|
||||
|
||||
/obj/item/weapon/card/id/centcom/ERT/engineer
|
||||
name = "Emergency Engineering Responder ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-orange", "stripe-orange")
|
||||
|
||||
/obj/item/weapon/card/id/centcom/ERT/janitor
|
||||
name = "Emergency Cleanup Responder ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-purple", "stripe-purple")
|
||||
|
||||
//Silver
|
||||
|
||||
/obj/item/weapon/card/id/silver
|
||||
name = "Silver ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/silver/secretary
|
||||
name = "Secretary's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-blue", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/silver/hop
|
||||
name = "Head of Personnel ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-blue", "stamp-n", "pips-gold")
|
||||
|
||||
//Gold
|
||||
|
||||
/obj/item/weapon/card/id/gold
|
||||
name = "Gold ID"
|
||||
initial_sprite_stack = list("base-stamp-gold", "top-blue", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/gold/captain
|
||||
name = "Captain's ID"
|
||||
initial_sprite_stack = list("base-stamp-gold", "top-blue", "stamp-n", "pips-gold")
|
||||
|
||||
/obj/item/weapon/card/id/gold/captain/spare
|
||||
name = "Spare ID"
|
||||
initial_sprite_stack = list("base-stamp-gold", "top-gold", "stamp-n")
|
||||
|
||||
//Medical
|
||||
|
||||
/obj/item/weapon/card/id/medical
|
||||
name = "Medical ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/medical/chemist
|
||||
name = "Chemist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "stripe-orange")
|
||||
|
||||
/obj/item/weapon/card/id/medical/geneticist
|
||||
name = "Geneticist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "stripe-purple")
|
||||
|
||||
/obj/item/weapon/card/id/medical/psych
|
||||
name = "Psychologist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "stripe-brown")
|
||||
|
||||
/obj/item/weapon/card/id/medical/virologist
|
||||
name = "Virologist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "stripe-green")
|
||||
|
||||
/obj/item/weapon/card/id/medical/emt
|
||||
name = "Emergency Medical Technician's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-medblu", "stamp-n", "stripe-blue")
|
||||
|
||||
/obj/item/weapon/card/id/medical/head
|
||||
name = "Chief Medical Officer's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-medblu", "stamp-n", "pips-gold")
|
||||
|
||||
//Security
|
||||
|
||||
/obj/item/weapon/card/id/security
|
||||
name = "Security ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-red", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/security/detective
|
||||
name = "Detective's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-red", "stamp-n", "stripe-brown")
|
||||
|
||||
/obj/item/weapon/card/id/security/warden
|
||||
name = "Warden's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-red", "stamp-n", "stripe-white")
|
||||
|
||||
/obj/item/weapon/card/id/security/head
|
||||
name = "Head of Security's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-red", "stamp-n", "pips-gold")
|
||||
|
||||
//Engineering
|
||||
|
||||
/obj/item/weapon/card/id/engineering
|
||||
name = "Engineering ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-orange", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/engineering/atmos
|
||||
name = "Atmospherics ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-orange", "stripe-medblu", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/engineering/head
|
||||
name = "Chief Engineer's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-orange", "stamp-n", "pips-gold")
|
||||
|
||||
//Science
|
||||
|
||||
/obj/item/weapon/card/id/science
|
||||
name = "Science ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-purple", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/science/roboticist
|
||||
name = "Roboticist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-purple", "stamp-n", "stripe-brown")
|
||||
|
||||
/obj/item/weapon/card/id/science/xenobiologist
|
||||
name = "Xenobiologist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-purple", "stamp-n", "stripe-orange")
|
||||
|
||||
/obj/item/weapon/card/id/science/xenobotanist
|
||||
name = "Xenobotanist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-purple", "stamp-n", "stripe-green")
|
||||
|
||||
/obj/item/weapon/card/id/science/head
|
||||
name = "Research Director's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-purple", "stamp-n", "pips-gold")
|
||||
|
||||
//Cargo
|
||||
|
||||
/obj/item/weapon/card/id/cargo
|
||||
name = "Cargo ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-brown", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/cargo/miner
|
||||
name = "Miner's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-brown", "stamp-n", "stripe-purple")
|
||||
|
||||
/obj/item/weapon/card/id/cargo/head
|
||||
name = "Quartermaster's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-brown", "stamp-n", "pips-white")
|
||||
|
||||
//Civilian
|
||||
|
||||
/obj/item/weapon/card/id/civilian
|
||||
name = "Civilian ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/chaplain
|
||||
name = "Chaplain's ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-cross", "stripe-white")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/journalist
|
||||
name = "Journalist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n", "stripe-red")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/pilot
|
||||
name = "Pilot's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n", "stripe-olive")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/entertainer
|
||||
name = "Entertainer's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n", "stripe-brown")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/entrepreneur
|
||||
name = "Entrepreneur's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-generic", "stamp-n", "stripe-gold")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/clown
|
||||
name = "Clown's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-rainbow", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/mime
|
||||
name = "Mime's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-white", "stamp-n", "stripe-black")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/internal_affairs
|
||||
name = "Internal Affairs ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-blue", "stamp-n", "stripe-black")
|
||||
|
||||
//Service
|
||||
|
||||
/obj/item/weapon/card/id/civilian/service
|
||||
name = "Service ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/service/botanist
|
||||
name = "Botanist's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "stripe-darkgreen")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/service/bartender
|
||||
name = "Bartender's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "stripe-black")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/service/chef
|
||||
name = "Chef's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "stripe-white")
|
||||
|
||||
/obj/item/weapon/card/id/civilian/service/janitor
|
||||
name = "Janitor's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-green", "stamp-n", "stripe-purple")
|
||||
|
||||
//Exploration
|
||||
|
||||
/obj/item/weapon/card/id/exploration
|
||||
name = "Exploration ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-olive", "stamp-n")
|
||||
|
||||
/obj/item/weapon/card/id/exploration/fm
|
||||
name = "Field Medic's ID"
|
||||
initial_sprite_stack = list("base-stamp", "top-olive", "stamp-n", "stripe-medblu")
|
||||
|
||||
/obj/item/weapon/card/id/exploration/head
|
||||
name = "Pathfinder's ID"
|
||||
initial_sprite_stack = list("base-stamp-silver", "top-olive", "stamp-n", "pips-white")
|
||||
|
||||
//Talon
|
||||
|
||||
/obj/item/weapon/card/id/talon
|
||||
name = "Talon ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette")
|
||||
|
||||
/obj/item/weapon/card/id/talon/doctor
|
||||
name = "Talon Medical ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-medblu", "stripe-medblu")
|
||||
|
||||
/obj/item/weapon/card/id/talon/engineer
|
||||
name = "Talon Engineering ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-orange", "stripe-orange")
|
||||
|
||||
/obj/item/weapon/card/id/talon/officer
|
||||
name = "Talon Security ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-red", "stripe-red")
|
||||
|
||||
/obj/item/weapon/card/id/talon/pilot
|
||||
name = "Talon Pilot ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-purple", "stripe-purple")
|
||||
|
||||
/obj/item/weapon/card/id/talon/miner
|
||||
name = "Talon Mining ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-brown", "stripe-brown")
|
||||
|
||||
/obj/item/weapon/card/id/talon/captain
|
||||
name = "Talon Captain ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-dark", "stamp-silhouette", "pips-gold", "stripe-gold")
|
||||
|
||||
//Antags
|
||||
|
||||
/obj/item/weapon/card/id/syndicate
|
||||
name = "Syndicate ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-syndicate", "stamp-s")
|
||||
|
||||
/obj/item/weapon/card/id/syndicate/officer
|
||||
name = "Syndicate Officer ID"
|
||||
initial_sprite_stack = list("base-stamp-dark", "top-syndicate", "stamp-s", "pips-gold", "stripe-gold")
|
||||
@@ -151,6 +151,9 @@
|
||||
icon_state = "gold-id-alternate"
|
||||
registered_name = "Site Manager"
|
||||
|
||||
/obj/item/weapon/card/id/gold/captain/spare/fakespare
|
||||
rank = "null"
|
||||
|
||||
/obj/item/weapon/card/id/synthetic
|
||||
name = "\improper Synthetic ID"
|
||||
desc = "Access module for NanoTrasen Synthetics"
|
||||
@@ -162,6 +165,16 @@
|
||||
. = ..()
|
||||
access = get_all_station_access().Copy() + access_synth
|
||||
|
||||
/obj/item/weapon/card/id/lost
|
||||
name = "\improper Unknown ID"
|
||||
desc = "Access module for Lost drones"
|
||||
icon_state = "id-robot-n"
|
||||
assignment = "Lost"
|
||||
|
||||
/obj/item/weapon/card/id/lost/Initialize()
|
||||
. = ..()
|
||||
access += access_lost
|
||||
|
||||
/obj/item/weapon/card/id/platform
|
||||
name = "\improper Support Platform ID"
|
||||
desc = "Access module for support platforms."
|
||||
@@ -307,3 +320,274 @@
|
||||
icon_state = "generic"
|
||||
primary_color = rgb(142,94,0)
|
||||
secondary_color = rgb(191,159,95)
|
||||
|
||||
//Event IDs
|
||||
/obj/item/weapon/card/id/event
|
||||
var/configured = 0
|
||||
var/accessset = 0
|
||||
initial_sprite_stack = list()
|
||||
var/list/title_strings = list()
|
||||
var/preset_rank = FALSE
|
||||
|
||||
/obj/item/weapon/card/id/event/attack_self(var/mob/user)
|
||||
if(configured == 1)
|
||||
return ..()
|
||||
|
||||
if(!preset_rank)
|
||||
var/title
|
||||
if(user.client.prefs.player_alt_titles[user.job])
|
||||
title = user.client.prefs.player_alt_titles[user.job]
|
||||
else
|
||||
title = user.job
|
||||
assignment = title
|
||||
user.set_id_info(src)
|
||||
if(user.mind && user.mind.initial_account)
|
||||
associated_account_number = user.mind.initial_account.account_number
|
||||
if(title_strings.len)
|
||||
var/tempname = pick(title_strings)
|
||||
name = tempname + " ([assignment])"
|
||||
else
|
||||
name = user.name + "'s ID card" + " ([assignment])"
|
||||
|
||||
configured = 1
|
||||
to_chat(user, "<span class='notice'>Card settings set.</span>")
|
||||
|
||||
/obj/item/weapon/card/id/event/attackby(obj/item/I as obj, var/mob/user)
|
||||
if(istype(I, /obj/item/weapon/card/id) && !accessset)
|
||||
var/obj/item/weapon/card/id/O = I
|
||||
access |= O.access
|
||||
desc = I.desc
|
||||
rank = O.rank
|
||||
to_chat(user, "<span class='notice'>You copy the access from \the [I] to \the [src].</span>")
|
||||
user.drop_from_inventory(I)
|
||||
qdel(I)
|
||||
accessset = 1
|
||||
..()
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset
|
||||
accessset = 1
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg
|
||||
name = "identification card"
|
||||
desc = "A small card designating affiliation with the Ironcrest Transport Group."
|
||||
icon = 'icons/obj/card_vr.dmi'
|
||||
base_icon = 'icons/obj/card_vr.dmi'
|
||||
icon_state = "itg"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/green
|
||||
icon_state = "itg_green"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/red
|
||||
icon_state = "itg_red"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/purple
|
||||
icon_state = "itg_purple"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/white
|
||||
icon_state = "itg_white"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/orange
|
||||
icon_state = "itg_orange"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/blue
|
||||
icon_state = "itg_blue"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew
|
||||
name = "\improper ITG Crew ID"
|
||||
assignment = "Crew"
|
||||
rank = "Crew"
|
||||
access = list(777)
|
||||
preset_rank = TRUE
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/pilot
|
||||
name = "\improper ITG Pilot's ID"
|
||||
desc = "An ID card belonging to the Pilot of an ITG vessel. The Pilot's responsibility is primarily to fly the ship. They may also be tasked to assist with cargo movement duties."
|
||||
assignment = "Pilot"
|
||||
rank = "Pilot"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/service
|
||||
name = "\improper ITG Cook's ID"
|
||||
desc = "An ID card belonging to the Cook of an ITG vessel. The Cook's responsibility is primarily to provide sustinence to the crew and passengers. The Cook answers to the Passenger Liason. In the absence of a Passenger Liason, the Cook is also responsible for tending to passenger related care and duties."
|
||||
assignment = "Cook"
|
||||
rank = "Cook"
|
||||
icon_state = "itg_green"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/security
|
||||
name = "\improper ITG Security's ID"
|
||||
desc = "An ID card belonging to Security of an ITG vessel. Security's responsibility is primarily to protect the ship, cargo, or facility. They may also be tasked to assist with cargo movement duties and rescue operations. ITG Security is almost exclusively defensive. They should not start fights, but they are very capable of finishing them."
|
||||
assignment = "Security"
|
||||
rank = "Security"
|
||||
icon_state = "itg_red"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/research
|
||||
name = "\improper ITG Research's ID"
|
||||
desc = "An ID card belonging to ITG Research staff. ITG Research staff primarily specializes in starship and starship engine design, and overcoming astronomic phenomena."
|
||||
assignment = "Research"
|
||||
rank = "Research"
|
||||
icon_state = "itg_purple"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/medical
|
||||
name = "\improper ITG Medic's ID"
|
||||
desc = "An ID card belonging to the Medic of an ITG vessel. The Medic's responsibility is primarily to treat crew and passenger injuries. They may also be tasked with rescue operations."
|
||||
assignment = "Medic"
|
||||
rank = "Medic"
|
||||
icon_state = "itg_white"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/engineer
|
||||
name = "\improper ITG Engineer's ID"
|
||||
desc = "An ID card belonging to the Engineer of an ITG vessel. The Engineer's responsibility is primarily to maintain the ship. They may also be tasked to assist with cargo movement duties."
|
||||
assignment = "Engineer"
|
||||
rank = "Engineer"
|
||||
icon_state = "itg_orange"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/passengerliason
|
||||
name = "\improper ITG Passenger Liason's ID"
|
||||
desc = "An ID card belonging to the Passenger Liason of an ITG vessel. The Passenger Liason's responsibility is primarily to manage and tend to passenger needs and maintain supplies and facilities for passenger use."
|
||||
assignment = "Passenger Liason"
|
||||
rank = "Passenger Liason"
|
||||
icon_state = "itg_blue"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/captain
|
||||
name = "\improper ITG Captain's ID"
|
||||
desc = "An ID card belonging to the Captain of an ITG vessel. The Captain's responsibility is primarily to manage crew to ensure smooth ship operations. Captains often also often pilot the vessel when no dedicated pilot is assigned."
|
||||
assignment = "Captain"
|
||||
rank = "Captain"
|
||||
icon_state = "itg_blue"
|
||||
access = list(777, 778)
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard
|
||||
icon = 'icons/obj/card_alt_vr.dmi'
|
||||
base_icon = 'icons/obj/card_alt_vr.dmi'
|
||||
icon_state = "id"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/spare
|
||||
icon_state = "spare"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/clown
|
||||
icon_state = "Clown"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/mime
|
||||
icon_state = "Mime"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/centcom
|
||||
icon_state = "CentCom Officer"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/ert
|
||||
icon_state = "Emergency Responder"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/nt
|
||||
icon_state = "nanotrasen"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/syndiegold
|
||||
icon_state = "syndieGold"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/syndie
|
||||
icon_state = "syndie"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/greengold
|
||||
icon_state = "greenGold"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/pink
|
||||
icon_state = "pink"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/pinkgold
|
||||
icon_state = "pinkGold"
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic
|
||||
var/base_icon_state
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/digest_act(atom/movable/item_storage = null)
|
||||
var/gimmeicon = icon
|
||||
. = ..()
|
||||
icon = gimmeicon
|
||||
icon_state = base_icon_state + "_digested"
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/altcard/attack_self(var/mob/user)
|
||||
if(configured == 1)
|
||||
return ..()
|
||||
else
|
||||
icon_state = user.job
|
||||
base_icon_state = user.job
|
||||
return ..()
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/altcard
|
||||
icon = 'icons/obj/card_alt_vr.dmi'
|
||||
base_icon = 'icons/obj/card_alt_vr.dmi'
|
||||
icon_state = "blank"
|
||||
name = "contractor identification card"
|
||||
desc = "An ID card typically used by contractors."
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/itg/attack_self(var/mob/user)
|
||||
if(!configured)
|
||||
var/list/jobs_to_icon = list( //ITG only has a few kinds of icons so we have to group them up!
|
||||
"Pilot" = "itg",
|
||||
"Visitor" = "itg",
|
||||
"Quartermaster" = "itg",
|
||||
"Cargo Technician" = "itg",
|
||||
"Shaft Miner" = "itg",
|
||||
"Intern" = "itg",
|
||||
"Talon Pilot" = "itg",
|
||||
"Talon Miner" = "itg",
|
||||
"Bartender" = "itg_green",
|
||||
"Botanist" = "itg_green",
|
||||
"Chef" = "itg_green",
|
||||
"Janitor" = "itg_green",
|
||||
"Chaplain" = "itg_green",
|
||||
"Entertainer" = "itg_green",
|
||||
"Janitor" = "itg_green",
|
||||
"Librarian" = "itg_green",
|
||||
"Warden" = "itg_red",
|
||||
"Detective" = "itg_red",
|
||||
"Security Officer" = "itg_red",
|
||||
"Talon Guard" = "itg_red",
|
||||
"Roboticist" = "itg_purple",
|
||||
"Scientist" = "itg_purple",
|
||||
"Xenobiologist" = "itg_purple",
|
||||
"Xenobotanist" = "itg_purple",
|
||||
"Pathfinder" = "itg_purple",
|
||||
"Explorer" = "itg_purple",
|
||||
"Chemist" = "itg_white",
|
||||
"Medical Doctor" = "itg_white",
|
||||
"Paramedic" = "itg_white",
|
||||
"Psychiatrist" = "itg_white",
|
||||
"Field Medic" = "itg_white",
|
||||
"Talon Doctor" = "itg_white",
|
||||
"Atmospheric Technician" = "itg_orange",
|
||||
"Engineer" = "itg_orange",
|
||||
"Off-duty Officer" = "itg_red",
|
||||
"Off-duty Engineer" = "itg_orange",
|
||||
"Off-duty Medic" = "itg_white",
|
||||
"Off-duty Scientist" = "itg_purple",
|
||||
"Off-duty Cargo" = "itg",
|
||||
"Off-duty Explorer" = "itg_purple",
|
||||
"Off-duty Worker" = "itg_green"
|
||||
)
|
||||
var/guess = jobs_to_icon[user.job]
|
||||
|
||||
if(!guess)
|
||||
to_chat(user, "<span class='notice'>ITG Cards do not seem to be able to accept the access codes for your ID.</span>")
|
||||
return
|
||||
else
|
||||
icon_state = guess
|
||||
base_icon_state = guess
|
||||
. = ..()
|
||||
name = user.name + "'s ITG ID card" + " ([assignment])"
|
||||
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/itg/attackby(obj/item/I as obj, var/mob/user)
|
||||
if(istype(I, /obj/item/weapon/card/id) && !accessset)
|
||||
var/obj/item/weapon/card/id/O = I
|
||||
var/list/itgdont = list("Site Manager", "Head of Personnel", "Command Secretary", "Head of Security", "Chief Engineer", "Chief Medical Officer", "Research Director", "Clown", "Mime", "Talon Captain") //If you're in as one of these you probably aren't representing ITG
|
||||
if(O.rank in itgdont)
|
||||
to_chat(user, "<span class='notice'>ITG Cards do not seem to be able to accept the access codes for your ID.</span>")
|
||||
return
|
||||
. = ..()
|
||||
desc = "A small card designating affiliation with the Ironcrest Transport Group. It has a NanoTrasen insignia and a lot of very small print on the back to do with practices and regulations for contractors to use."
|
||||
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/itg
|
||||
icon = 'icons/obj/card_vr.dmi'
|
||||
base_icon = 'icons/obj/card_vr.dmi'
|
||||
icon_state = "itg"
|
||||
name = "\improper ITG identification card"
|
||||
desc = "A small card designating affiliation with the Ironcrest Transport Group. It has a NanoTrasen insignia and a lot of very small print on the back to do with practices and regulations for contractors to use."
|
||||
|
||||
@@ -1,274 +0,0 @@
|
||||
/obj/item/weapon/card/id/event
|
||||
var/configured = 0
|
||||
var/accessset = 0
|
||||
initial_sprite_stack = list()
|
||||
var/list/title_strings = list()
|
||||
var/preset_rank = FALSE
|
||||
|
||||
/obj/item/weapon/card/id/event/attack_self(var/mob/user)
|
||||
if(configured == 1)
|
||||
return ..()
|
||||
|
||||
if(!preset_rank)
|
||||
var/title
|
||||
if(user.client.prefs.player_alt_titles[user.job])
|
||||
title = user.client.prefs.player_alt_titles[user.job]
|
||||
else
|
||||
title = user.job
|
||||
assignment = title
|
||||
user.set_id_info(src)
|
||||
if(user.mind && user.mind.initial_account)
|
||||
associated_account_number = user.mind.initial_account.account_number
|
||||
if(title_strings.len)
|
||||
var/tempname = pick(title_strings)
|
||||
name = tempname + " ([assignment])"
|
||||
else
|
||||
name = user.name + "'s ID card" + " ([assignment])"
|
||||
|
||||
configured = 1
|
||||
to_chat(user, "<span class='notice'>Card settings set.</span>")
|
||||
|
||||
/obj/item/weapon/card/id/event/attackby(obj/item/I as obj, var/mob/user)
|
||||
if(istype(I, /obj/item/weapon/card/id) && !accessset)
|
||||
var/obj/item/weapon/card/id/O = I
|
||||
access |= O.access
|
||||
desc = I.desc
|
||||
rank = O.rank
|
||||
to_chat(user, "<span class='notice'>You copy the access from \the [I] to \the [src].</span>")
|
||||
user.drop_from_inventory(I)
|
||||
qdel(I)
|
||||
accessset = 1
|
||||
..()
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset
|
||||
accessset = 1
|
||||
|
||||
|
||||
|
||||
/obj/item/weapon/card/id/gold/captain/spare/fakespare
|
||||
rank = "null"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg
|
||||
name = "identification card"
|
||||
desc = "A small card designating affiliation with the Ironcrest Transport Group."
|
||||
icon = 'icons/obj/card_vr.dmi'
|
||||
base_icon = 'icons/obj/card_vr.dmi'
|
||||
icon_state = "itg"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/green
|
||||
icon_state = "itg_green"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/red
|
||||
icon_state = "itg_red"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/purple
|
||||
icon_state = "itg_purple"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/white
|
||||
icon_state = "itg_white"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/orange
|
||||
icon_state = "itg_orange"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/blue
|
||||
icon_state = "itg_blue"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew
|
||||
name = "\improper ITG Crew ID"
|
||||
assignment = "Crew"
|
||||
rank = "Crew"
|
||||
access = list(777)
|
||||
preset_rank = TRUE
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/pilot
|
||||
name = "\improper ITG Pilot's ID"
|
||||
desc = "An ID card belonging to the Pilot of an ITG vessel. The Pilot's responsibility is primarily to fly the ship. They may also be tasked to assist with cargo movement duties."
|
||||
assignment = "Pilot"
|
||||
rank = "Pilot"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/service
|
||||
name = "\improper ITG Cook's ID"
|
||||
desc = "An ID card belonging to the Cook of an ITG vessel. The Cook's responsibility is primarily to provide sustinence to the crew and passengers. The Cook answers to the Passenger Liason. In the absence of a Passenger Liason, the Cook is also responsible for tending to passenger related care and duties."
|
||||
assignment = "Cook"
|
||||
rank = "Cook"
|
||||
icon_state = "itg_green"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/security
|
||||
name = "\improper ITG Security's ID"
|
||||
desc = "An ID card belonging to Security of an ITG vessel. Security's responsibility is primarily to protect the ship, cargo, or facility. They may also be tasked to assist with cargo movement duties and rescue operations. ITG Security is almost exclusively defensive. They should not start fights, but they are very capable of finishing them."
|
||||
assignment = "Security"
|
||||
rank = "Security"
|
||||
icon_state = "itg_red"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/research
|
||||
name = "\improper ITG Research's ID"
|
||||
desc = "An ID card belonging to ITG Research staff. ITG Research staff primarily specializes in starship and starship engine design, and overcoming astronomic phenomena."
|
||||
assignment = "Research"
|
||||
rank = "Research"
|
||||
icon_state = "itg_purple"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/medical
|
||||
name = "\improper ITG Medic's ID"
|
||||
desc = "An ID card belonging to the Medic of an ITG vessel. The Medic's responsibility is primarily to treat crew and passenger injuries. They may also be tasked with rescue operations."
|
||||
assignment = "Medic"
|
||||
rank = "Medic"
|
||||
icon_state = "itg_white"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/engineer
|
||||
name = "\improper ITG Engineer's ID"
|
||||
desc = "An ID card belonging to the Engineer of an ITG vessel. The Engineer's responsibility is primarily to maintain the ship. They may also be tasked to assist with cargo movement duties."
|
||||
assignment = "Engineer"
|
||||
rank = "Engineer"
|
||||
icon_state = "itg_orange"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/passengerliason
|
||||
name = "\improper ITG Passenger Liason's ID"
|
||||
desc = "An ID card belonging to the Passenger Liason of an ITG vessel. The Passenger Liason's responsibility is primarily to manage and tend to passenger needs and maintain supplies and facilities for passenger use."
|
||||
assignment = "Passenger Liason"
|
||||
rank = "Passenger Liason"
|
||||
icon_state = "itg_blue"
|
||||
|
||||
/obj/item/weapon/card/id/event/accessset/itg/crew/captain
|
||||
name = "\improper ITG Captain's ID"
|
||||
desc = "An ID card belonging to the Captain of an ITG vessel. The Captain's responsibility is primarily to manage crew to ensure smooth ship operations. Captains often also often pilot the vessel when no dedicated pilot is assigned."
|
||||
assignment = "Captain"
|
||||
rank = "Captain"
|
||||
icon_state = "itg_blue"
|
||||
access = list(777, 778)
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard
|
||||
icon = 'icons/obj/card_alt_vr.dmi'
|
||||
base_icon = 'icons/obj/card_alt_vr.dmi'
|
||||
icon_state = "id"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/spare
|
||||
icon_state = "spare"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/clown
|
||||
icon_state = "Clown"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/mime
|
||||
icon_state = "Mime"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/centcom
|
||||
icon_state = "CentCom Officer"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/ert
|
||||
icon_state = "Emergency Responder"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/nt
|
||||
icon_state = "nanotrasen"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/syndiegold
|
||||
icon_state = "syndieGold"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/syndie
|
||||
icon_state = "syndie"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/greengold
|
||||
icon_state = "greenGold"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/pink
|
||||
icon_state = "pink"
|
||||
|
||||
/obj/item/weapon/card/id/event/altcard/pinkgold
|
||||
icon_state = "pinkGold"
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic
|
||||
var/base_icon_state
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/digest_act(atom/movable/item_storage = null)
|
||||
var/gimmeicon = icon
|
||||
. = ..()
|
||||
icon = gimmeicon
|
||||
icon_state = base_icon_state + "_digested"
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/altcard/attack_self(var/mob/user)
|
||||
if(configured == 1)
|
||||
return ..()
|
||||
else
|
||||
icon_state = user.job
|
||||
base_icon_state = user.job
|
||||
return ..()
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/altcard
|
||||
icon = 'icons/obj/card_alt_vr.dmi'
|
||||
base_icon = 'icons/obj/card_alt_vr.dmi'
|
||||
icon_state = "blank"
|
||||
name = "contractor identification card"
|
||||
desc = "An ID card typically used by contractors."
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/itg/attack_self(var/mob/user)
|
||||
if(!configured)
|
||||
var/list/jobs_to_icon = list( //ITG only has a few kinds of icons so we have to group them up!
|
||||
"Pilot" = "itg",
|
||||
"Visitor" = "itg",
|
||||
"Quartermaster" = "itg",
|
||||
"Cargo Technician" = "itg",
|
||||
"Shaft Miner" = "itg",
|
||||
"Intern" = "itg",
|
||||
"Talon Pilot" = "itg",
|
||||
"Talon Miner" = "itg",
|
||||
"Bartender" = "itg_green",
|
||||
"Botanist" = "itg_green",
|
||||
"Chef" = "itg_green",
|
||||
"Janitor" = "itg_green",
|
||||
"Chaplain" = "itg_green",
|
||||
"Entertainer" = "itg_green",
|
||||
"Janitor" = "itg_green",
|
||||
"Librarian" = "itg_green",
|
||||
"Warden" = "itg_red",
|
||||
"Detective" = "itg_red",
|
||||
"Security Officer" = "itg_red",
|
||||
"Talon Guard" = "itg_red",
|
||||
"Roboticist" = "itg_purple",
|
||||
"Scientist" = "itg_purple",
|
||||
"Xenobiologist" = "itg_purple",
|
||||
"Xenobotanist" = "itg_purple",
|
||||
"Pathfinder" = "itg_purple",
|
||||
"Explorer" = "itg_purple",
|
||||
"Chemist" = "itg_white",
|
||||
"Medical Doctor" = "itg_white",
|
||||
"Paramedic" = "itg_white",
|
||||
"Psychiatrist" = "itg_white",
|
||||
"Field Medic" = "itg_white",
|
||||
"Talon Doctor" = "itg_white",
|
||||
"Atmospheric Technician" = "itg_orange",
|
||||
"Engineer" = "itg_orange",
|
||||
"Off-duty Officer" = "itg_red",
|
||||
"Off-duty Engineer" = "itg_orange",
|
||||
"Off-duty Medic" = "itg_white",
|
||||
"Off-duty Scientist" = "itg_purple",
|
||||
"Off-duty Cargo" = "itg",
|
||||
"Off-duty Explorer" = "itg_purple",
|
||||
"Off-duty Worker" = "itg_green"
|
||||
)
|
||||
var/guess = jobs_to_icon[user.job]
|
||||
|
||||
if(!guess)
|
||||
to_chat(user, "<span class='notice'>ITG Cards do not seem to be able to accept the access codes for your ID.</span>")
|
||||
return
|
||||
else
|
||||
icon_state = guess
|
||||
base_icon_state = guess
|
||||
. = ..()
|
||||
name = user.name + "'s ITG ID card" + " ([assignment])"
|
||||
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/itg/attackby(obj/item/I as obj, var/mob/user)
|
||||
if(istype(I, /obj/item/weapon/card/id) && !accessset)
|
||||
var/obj/item/weapon/card/id/O = I
|
||||
var/list/itgdont = list("Site Manager", "Head of Personnel", "Command Secretary", "Head of Security", "Chief Engineer", "Chief Medical Officer", "Research Director", "Clown", "Mime", "Talon Captain") //If you're in as one of these you probably aren't representing ITG
|
||||
if(O.rank in itgdont)
|
||||
to_chat(user, "<span class='notice'>ITG Cards do not seem to be able to accept the access codes for your ID.</span>")
|
||||
return
|
||||
. = ..()
|
||||
desc = "A small card designating affiliation with the Ironcrest Transport Group. It has a NanoTrasen insignia and a lot of very small print on the back to do with practices and regulations for contractors to use."
|
||||
|
||||
|
||||
/obj/item/weapon/card/id/event/polymorphic/itg
|
||||
icon = 'icons/obj/card_vr.dmi'
|
||||
base_icon = 'icons/obj/card_vr.dmi'
|
||||
icon_state = "itg"
|
||||
name = "\improper ITG identification card"
|
||||
desc = "A small card designating affiliation with the Ironcrest Transport Group. It has a NanoTrasen insignia and a lot of very small print on the back to do with practices and regulations for contractors to use."
|
||||
Reference in New Issue
Block a user