mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 02:25:06 +01:00
Also refactors them all a lil.
This commit is contained in:
@@ -519,7 +519,7 @@
|
||||
character_name = list("Ketrai")
|
||||
|
||||
/datum/gear/fluff/amaya_id
|
||||
path = /obj/item/weapon/card/id/fluff/amaya
|
||||
path = /obj/item/weapon/card/id/event/fluff/amaya
|
||||
display_name = "Amaya's ID"
|
||||
ckeywhitelist = list("kiraalitruss")
|
||||
character_name = list("Amaya Rahl")
|
||||
@@ -1079,7 +1079,7 @@
|
||||
character_name = list("Roanna Ti'Rox")
|
||||
|
||||
/datum/gear/fluff/harmony_id
|
||||
path = /obj/item/weapon/card/id/fluff/harmony
|
||||
path = /obj/item/weapon/card/id/event/fluff/harmony
|
||||
display_name = "Harmony's ITG-ID card"
|
||||
ckeywhitelist = list("verysoft")
|
||||
character_name = list("Harmony")
|
||||
|
||||
@@ -789,88 +789,25 @@
|
||||
desc = "A New Space Pioneer's Bible. This one says it was printed in 2492. The name 'Eric Hayvers' is written on the inside of the cover, crossed out. \
|
||||
Under it is written 'Kouri, Amina, Marine Unit 14, Fifth Echelon. Service number NTN-5528928522372'"
|
||||
|
||||
/obj/item/weapon/card/id/fluff
|
||||
sprite_stack = list("")
|
||||
|
||||
//arokha:Amaya Rahl - Custom ID (Medical dept)
|
||||
/obj/item/weapon/card/id/fluff/amaya
|
||||
/obj/item/weapon/card/id/event/fluff/amaya
|
||||
registered_name = "CONFIGURE ME"
|
||||
assignment = "CONFIGURE ME"
|
||||
var/configured = 0
|
||||
var/accessset = 0
|
||||
icon = 'icons/vore/custom_items_vr.dmi'
|
||||
base_icon = 'icons/vore/custom_items_vr.dmi'
|
||||
icon_state = "amayarahlwahID"
|
||||
desc = "A primarily blue ID with a holographic 'WAH' etched onto its back. The letters do not obscure anything important on the card. It is shiny and it feels very bumpy."
|
||||
var/title_strings = list("Amaya Rahl's Wah-identification card", "Amaya Rahl's Wah-ID card")
|
||||
|
||||
/obj/item/weapon/card/id/fluff/amaya/attack_self(mob/user as mob)
|
||||
if(configured == 1)
|
||||
return ..()
|
||||
|
||||
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
|
||||
var/tempname = pick(title_strings)
|
||||
name = tempname + " ([title])"
|
||||
configured = 1
|
||||
to_chat(user, "<span class='notice'>Card settings set.</span>")
|
||||
|
||||
/obj/item/weapon/card/id/fluff/amaya/attackby(obj/item/I as obj, mob/user as mob)
|
||||
if(istype(I, /obj/item/weapon/card/id) && !accessset)
|
||||
var/obj/item/weapon/card/id/O = I
|
||||
access |= O.access
|
||||
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
|
||||
..()
|
||||
title_strings = list("Amaya Rahl's Wah-identification card", "Amaya Rahl's Wah-ID card")
|
||||
|
||||
//verysoft:Harmony - Custom ID (pilot)
|
||||
/obj/item/weapon/card/id/fluff/harmony
|
||||
/obj/item/weapon/card/id/event/fluff/harmony
|
||||
registered_name = "CONFIGURE ME"
|
||||
assignment = "CONFIGURE ME"
|
||||
var/configured = 0
|
||||
var/accessset = 0
|
||||
icon = 'icons/obj/card_vr.dmi'
|
||||
base_icon = 'icons/obj/card_vr.dmi'
|
||||
icon_state = "itg"
|
||||
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."
|
||||
var/title_strings = list("Harmony's ITG-ID card")
|
||||
|
||||
/obj/item/weapon/card/id/fluff/harmony/attack_self(mob/user as mob)
|
||||
if(configured == 1)
|
||||
return ..()
|
||||
|
||||
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
|
||||
var/tempname = pick(title_strings)
|
||||
name = tempname + " ([title])"
|
||||
configured = 1
|
||||
to_chat(user, "<span class='notice'>Card settings set.</span>")
|
||||
|
||||
/obj/item/weapon/card/id/fluff/harmony/attackby(obj/item/I as obj, mob/user as mob)
|
||||
if(istype(I, /obj/item/weapon/card/id) && !accessset)
|
||||
var/obj/item/weapon/card/id/O = I
|
||||
access |= O.access
|
||||
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
|
||||
..()
|
||||
title_strings = list("Harmony's ITG-ID card")
|
||||
|
||||
//General use, Verk felt like sharing.
|
||||
/obj/item/clothing/glasses/fluff/science_proper
|
||||
|
||||
Reference in New Issue
Block a user