mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-20 11:40:07 +01:00
## About The Pull Request The changes can be summarized into the following categories 1. **Qol**(Should not be a problem for feature freeze hopefully) - Adds balloon alerts for screwdriver & wrench acts, when inserting a beaker and other stuff - Adds extra examines for the beaker inside the cryo, how to open maintenance panel & other stuff. Most of the examines were not enclosed in `span_notice` - Adds screen tips for crowbar act, when inserting beaker into cryo etc - Cryo can now be pried open when there is no power with a crowbar so you can free someone stuck inside in case of an emergency - Cryo now auto turns on immediately without a 2 second delay & without the need for auto eject 2. **Fixes** - Cryo won't drop the beaker onto the floor when ejected, but will put it in the players hands as intended - Fixes #80699. The cryo was on `ABOVE_MOB_LAYER` which rendered on top of everything, Now its set to the default layer so mobs & other stuff now render on top of it - Loc checks were incorrect instead of doing `mob.loc == src`(which would fail if the mob was standing in the open cro) we now do `get_turf(mob) == get_turf(src)`(which works if the mob by anyway in on the turf of the machine) 3. **Code Improvements** - Get's rid of unused variables such as `sleep_factor`, `unconscious_factor` etc. Simply unused - Autodocs remaining variables and procs - Slightly touched on the UI shared by cryo, chem heater etc. Removes the `transfer_amounts` var that went unused in these cases 4. **Refactors** - Converted UI to typescript - Removes `check_nap_violations()` from `process()`. This proc checks if the occupant has an ID card & money in the account which makes no sense for cryo - Cryo will turn off if there is no occupant OR if there is no beaker - It no longer starts processing round start & only when the machine is turned on/off thus saving cpu - Removed old cryo icon states such `cell-open` , `cell-off` etc. These were used for the old cryo tube from years ago but are no longer needed now so the icon file size has been trimmed ## Changelog 🆑 qol: adds more examines, screentips & balloon alerts for cryo actions, cryo can be pried open with a crowbar when there is no power to free someone trapped inside qol: cryo auto turns on immediately without a 2 second delay & without needing auto eject mode on fix: ejecting beaker from cryotube will put it in the players hand & not drop it on the floor fix: mobs & other stuff now render on top of cryo tubes and not bottom of it fix: cryo checks for if the mob is on the same turf as cryo is now fixed, i.e. you can no longer close the machine on yourself code: removed unused vars from cryo, autodocs vars, removed unused `transfer_amounts` from some chem machinery ui refactor: removed unused icon states for cryo tube, cryo no longer processes round start and it's UI is now typescript /🆑