Closed winex closed 3 months ago
if everything looks good, i'd prefer this not to be squashed. thank you!
i confirm that 2 last commits are needed for future destroy event handling this is ready to be merged! don't squash please, thanks!
GitHub had a hiccup. The changes were rebased onto main.
picked these short and clean commits from destruction handling, so anything can be reverted easily
i know that
{y = 0, x = 0}
should be the same as{x=, y=}
, but Factorio says it tries to keep order of insertion (don't remember for what exactly, though). so it seems wrong if something would try to access it ascoords[1], coords[2]
which is allowed forMapPosition
typei have 2 more commits, adding
allowCenter
inaddBuildingLocations()
,but i couldn't test if it works, yetedit: yes, these are needed for rebuilding after destroy event