Files
Bubberstation/code/modules/economy
cacogen 9a76f204b4 Fixes issue with holographic paystands not dissipating in certain cases (#65246)
Holographic pay stands are created by right-clicking your ID outside of your active hand. The game doesn't tell you how to do it and it can be difficult to figure out because when it doesn't work in your active hand you move onto trying a different button.

Pay stands are supposed to disappear when the ID that created them moves further than four tiles away, but in cases where the ID is stored in something like a PDA before moving away or was on a turf when the pay stand was created this doesn't happen.

This PR makes it properly track all the locations its linked ID inhabits so if one of them moves we can check if it's far enough away to dissipate.

It also moves placing holographic paystands to attack_self_secondary() instead of attack_secondary(), which is more intuitive.

It also makes it so you can place holographic pay stands by clicking adjacent floor turfs with your ID. This seems like a much more intuitive way of doing it and how I expected it to work before I figured out how you actually placed them.

It also adds screentips for in-hand ID interactions (e.g. show ID, project pay stand) and pay stand ID and holochip interactions (e.g. pay, dissipate pay stand).
2022-03-14 21:10:39 -07:00
..