mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Re-adds showing your ID [GOOF YOU LITERALLY HAD TO CHANGE ONE WORD, GOD] (#40555)
* GOOF * frickin * asdf * sorry cant add an examine tooltip. please ping me on discord in 2-3 days, or else im reporting you to github staff * asdfasdf * goof you know i love you but cmon fam i had to do it to you * pkpingu * new line * Adds it to all cards * pkpingu i swear im not retarded ok dont tell anyone * turn around flip it and reverse it
This commit is contained in:
@@ -127,13 +127,16 @@
|
||||
var/datum/bank_account/registered_account
|
||||
var/obj/machinery/paystand/my_store
|
||||
|
||||
|
||||
|
||||
/obj/item/card/id/Initialize(mapload)
|
||||
. = ..()
|
||||
if(mapload && access_txt)
|
||||
access = text2access(access_txt)
|
||||
|
||||
/obj/item/card/id/attack_self(mob/user)
|
||||
if(Adjacent(user))
|
||||
user.visible_message("<span class='notice'>[user] shows you: [icon2html(src, viewers(user))] [src.name].</span>", "<span class='notice'>You show \the [src.name].</span>")
|
||||
add_fingerprint(user)
|
||||
|
||||
/obj/item/card/id/vv_edit_var(var_name, var_value)
|
||||
. = ..()
|
||||
if(.)
|
||||
@@ -149,7 +152,12 @@
|
||||
to_chat(user, "You insert [holochip] into [src], adding [holochip.credits] credits to your account.")
|
||||
qdel(holochip)
|
||||
|
||||
/obj/item/card/id/attack_self(mob/user)
|
||||
/obj/item/card/id/AltClick(mob/living/user)
|
||||
if(user.get_active_held_item() != src)
|
||||
to_chat(user, "You must hold the ID in your hand to do this.")
|
||||
return
|
||||
if (!user.canUseTopic(src, BE_CLOSE) || !isliving(user))
|
||||
return
|
||||
if(!registered_account)
|
||||
var/new_bank_id = input(user, "Enter your account ID.", "Account Reclamation", 111111) as num
|
||||
if(!new_bank_id || new_bank_id < 111111 || new_bank_id > 999999)
|
||||
@@ -184,7 +192,7 @@
|
||||
var/datum/bank_account/D = SSeconomy.get_dep_account(registered_account.account_job.paycheck_department)
|
||||
if(D)
|
||||
to_chat(user, "The [D.account_holder] reports a balance of $[D.account_balance].")
|
||||
to_chat(user, "Use your ID in-hand to pull money from your account in the form of holochips.")
|
||||
to_chat(user, "Alt-Click your ID in-hand to pull money from your account in the form of holochips.")
|
||||
to_chat(user, "You can insert credits into your account by pressing holochips against the ID.")
|
||||
to_chat(user, "If you lose this ID card, you can reclaim your account by using a blank ID card inhand and punching in the account ID.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user