Closed TrAceX99 closed 3 years ago
the pr looks good and the rotation fix is a better (and more generic) solution than the limited one I proposed in #23 (that i'm now closing).
Is there a reason why you check for buildPreview.desc.multiLevel && buildPreview.inputToSlot == 14
instead of a possibly simpler __instance.multiLevelCovering
(that would also make the condition easier to understand) ?
Thank you for the suggestion, I've replaced the condition now. There was no particular reason, I just overlooked the multiLevelCovering
flag
Fixed issue #25 by disabling inserter pasting on stackable buildings above the first.
When a building is copied, its rotation is now copied as well by adjusting the yaw variable instead of just remembering the last placed building rotation. This makes the copying process easier when buildings have different orientations, also fixes the smelter rotation issue. It works with miners as well. This will likely be fixed by the devs.