Files
Bubberstation/code/modules
SkyratBot 11e5ff08b9 [MIRROR] Refactors photocopiers and fixes some bugs with them. [MDB IGNORE] (#19428)
* Refactors photocopiers and fixes some bugs with them. (#73316)

## About The Pull Request

I set out today to fix a bug with photocopiers, I couldn't replicate the
bug but instead found two more and removed a bunch of duplicate code.
Fixes being able to print blanks despite having no money to print them.
Fixes paperwork not being removed from the photocopier when mounting it.
## Why It's Good For The Game

duplicate code bad, bug fixes good.
## Changelog
🆑
fix: You cannot print blank documents from a photocopier if you cannot
afford them anymore.
fix: Mounting the photocopier will now eject paperwork as it does with
photos and paper.
refactor: Lots of duplicate code and some unnecessary vars removed from
photocopier code.
/🆑

* Refactors photocopiers and fixes some bugs with them.

---------

Co-authored-by: NamelessFairy <40036527+NamelessFairy@users.noreply.github.com>
2023-02-18 18:46:16 -08:00
..