Files
Bubberstation/code/game/objects/items
_0Steven 24908564f1 Refactors card attackby chains into item_interaction (#84106)
## About The Pull Request

Funnily enough I was already working on this before shit broke, but here
we go.
This is mostly just the same behaviour but ported to
`item_interaction(...)`.
Primary changes include splitting off ID recoloring into its own method
for clarity, adding more sanity checks when using tgui windows, and
slightly improving the comprehensibility of genpop prisoner id
interactions (proper time text instead of seconds, actual usage descs).
## Why It's Good For The Game

Better to use `item_interaction(...)` than `attackby(...)`.
Fixes an interaction bug introduced by the recent afterattack refactor.
Nice to have a better idea of how to use genpop.
## Changelog
🆑
refactor: Updated cards/ids to use the proper item interaction system
instead of attackby, please report any issues.
fix: You can no longer recolour an ID at any point if you open the menu
but then don't select anything until later.
fix: ID cards can be recoloured using crayons/spraycans again.
qol: Prisoner IDs show genpop sentence time in hours/minutes/seconds
instead of seconds.
qol: Prisoner IDs have genpop usage tips in their examine.
/🆑
2024-06-20 09:48:40 -07:00
..
2024-06-14 20:39:29 +00:00
2024-06-14 17:25:05 +00:00
2024-06-17 00:11:44 +01:00
2024-06-17 00:11:44 +01:00
2024-06-04 07:11:13 -07:00
2024-06-13 13:29:45 -07:00
2024-06-13 13:29:45 -07:00