Files
Bubberstation/code/modules/power
SkyratBot 53e95542c0 [MIRROR] Fix printed structures/machines having a random offset (#28345)
* Fix printed structures/machines having a random offset (#84272)

## About The Pull Request
Checks for isitem() when printing at a lathe, to avoid offsetting things
that can't be picked up.
Also removes a redundant nullcheck in machine/powered(), get_area
already covers being in nullspace, and setting a machine that doesn't
use power to be unpowered is erroneous- the area based power updating
early returns for such machines, leaving them forever unusuable.
## Why It's Good For The Game
Having structures (or possibly machines) offset on their tile looks
really not good, and can't generally be fixed in-game.

* Fix printed structures/machines having a random offset

---------

Co-authored-by: FlufflesTheDog <piecopresident@gmail.com>
2024-06-25 16:16:42 +05:30
..
2024-04-18 01:01:22 +02:00
2024-04-26 01:22:24 +02:00
2024-06-17 22:35:25 +01:00
2024-04-28 22:24:01 +02:00
2024-04-26 01:22:24 +02:00