ID and PDA interacts with cash (#85123)

## About The Pull Request

Adding interactions between ID/PDA and money.
So, you can swipe it on cash and get it on your bank.
## Why It's Good For The Game

Now you don't have to constantly insert every coin into the card.

<details>
<summary>GIF and evidence that I tested</summary>


![card_test2](https://github.com/user-attachments/assets/833f7587-0b4c-4357-b4dc-b7f897416058)

</details>

## Changelog
🆑
qol: Now IDs and PDAs have money-reader module for picking some cash
into your bank by swiping on money.
/🆑
This commit is contained in:
Feenie
2024-07-23 22:31:17 +03:00
committed by GitHub
parent 4c4e49e5f6
commit ccb098153e
2 changed files with 11 additions and 1 deletions

View File

@@ -140,6 +140,11 @@
return . || NONE
/obj/item/modular_computer/pda/interact_with_atom(atom/interacting_with, mob/living/user, list/modifiers)
if(iscash(interacting_with))
return money_act(user,interacting_with)
return NONE
/obj/item/modular_computer/pda/item_interaction(mob/living/user, obj/item/tool, list/modifiers)
. = ..()
if(.)