mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-30 23:46:43 +01:00
Adds wah's custom item
This commit is contained in:
@@ -701,6 +701,43 @@ obj/item/weapon/material/hatchet/tacknife/combatknife/fluff/katarina/handle_shie
|
||||
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'"
|
||||
|
||||
//arokha:Amaya Rahl - Custom ID (Medical dept)
|
||||
/obj/item/weapon/card/id/fluff/amaya
|
||||
registered_name = "CONFIGURE ME"
|
||||
assignment = "CONFIGURE ME"
|
||||
var/configured = 0
|
||||
var/accessset = 0
|
||||
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)
|
||||
var/tempname = pick(title_strings)
|
||||
name = tempname + " ([title])"
|
||||
configured = 1
|
||||
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
|
||||
src.access |= O.access
|
||||
to_chat(user, "<span class='notice'>You copy the access from \the [I] to \the [src].")
|
||||
user.drop_from_inventory(I)
|
||||
qdel(I)
|
||||
accessset = 1
|
||||
..()
|
||||
|
||||
//The perfect adminboos device?
|
||||
/obj/item/device/perfect_tele
|
||||
name = "personal translocator"
|
||||
|
||||
Reference in New Issue
Block a user