Deadlock's Stacking Beltboxes & Compact Loaders, Fork by Ostkaka


Adds minimalist 1x1 loaders and stacking beltboxes for 5x belt compression for ores, plates and some intermediate products. Fork changes: A few stacking recipes moved from tech Stacking 2 to Stacking 1. That includes: copper cable, green circuit, gear wheel and iron stick. Battery stacking recipe moved from Stacking 3 to Stacking 2.

Content
1 year, 5 months ago
1.1
2.29K
Logistics

b Editor Extension compatibility issue

9 months ago
(updated 9 months ago)

I am experiencing a problem with the Editor Extension's Infinity Loader when attempting to place it adjacent to a belt that is facing into the loader. Additionally, there are placement issues with compact loaders from this mod when used in blueprints under specific conditions.

List of issues
Placing a Infinity Loader next to a belt facing into the loader. The loader will delete its self.
Disable the 'beltboxes' and 'compact loaders' mods, but the issue persists.
When adding 'restack' mod, the Infinity Loader is placed backward if aligned with a belt facing the loader.
Compact loaders from this mod are placed backward in blueprints when positioned next to a belt facing the loader, regardless of whether 'restack' is used or not.
Removing Editor Extensions mod resolves Compact loaders placement issues.
Removing Deadlock's Beltboxes Loaders 'ost' EE's Infinity Loader issues is resolved.
Utilized debug tools but found no errors in the logs.

The issue is not exclusive to this particular fork; the original mod and other forks exhibit similar behavior.

Mod list
{
"mods": [
{"name": "base", "enabled": true},
{"name": "deadlock-beltboxes-loaders-ost", "enabled": true},
{"name": "EditorExtensions", "enabled": true},
{"name": "flib", "enabled": true}
]
}

9 months ago
(updated 9 months ago)

Update on Issue Investigation:

After further investigation, I discovered that the issue stems from an event subscription in control.lua. The on_built_entity event is configured to filter for the entity type loader-1x1. Since Editor Extension's Infinity Loader is a 1x1 entity, it triggers this event, leading to the observed placement issues.

Solution:

To address this, I adjusted the mod settings as follows:

Disabled snap2belt and snap2inv in the per-player mod settings.
Result:

After making these changes, the Infinity Loader and other affected entities appear to function correctly without any placement issues.

While this solution does work it would be nice to still have the ability to snap loaders

New response