ports https://github.com/tgstation/tgstation/pull/56375. Credit to cacogen.
This commit is contained in:
@@ -123,16 +123,21 @@
|
||||
to_chat(src, span_warning("You can't bring yourself to use a ranged weapon!"))
|
||||
return FALSE
|
||||
|
||||
/mob/living/carbon/human/proc/get_bank_account()
|
||||
//Returns the bank account of an ID the user may be holding.
|
||||
/mob/living/proc/get_bank_account()
|
||||
RETURN_TYPE(/datum/bank_account)
|
||||
var/datum/bank_account/account
|
||||
var/obj/item/card/id/I = get_idcard()
|
||||
|
||||
if(I && I.registered_account)
|
||||
if(I?.registered_account)
|
||||
account = I.registered_account
|
||||
return account
|
||||
|
||||
return FALSE
|
||||
/mob/living/proc/toggle_resting()
|
||||
set name = "Rest"
|
||||
set category = "IC"
|
||||
|
||||
set_resting(!resting, FALSE)
|
||||
|
||||
/mob/living/carbon/human/can_see_reagents()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user