Belt Buffer deprecated

by Klonan

A buffer for your belts

Content
6 years ago
0.16
11
Logistics

b Blueprint changes direction

7 years ago

Hello, thank you very much! Your buffer works better than expected, with a few (mostly minor) exceptions:
1. When you take a blueprint of some creation containing vertically (up/down) oriented buffers, they are placed in the opposite direction when the blueprint is applied.
2. It would be nice if the sprite contained some arrow sign to see its orientation
3. It should change its direction when 'Rotate' hotkey is applied on it
4. When removed using 'Instant deconstruction' feature of Creative Mode, its loaders remain and must be removed by "Magic wand".
Creative Mode sends on_robot_pre_mined event just before it destroys entities during Instant Deconstruction:

util.raise_event(defines.events.on_robot_pre_mined,
{
    robot = get_fake_robot_param(),
    entity = entity,

    -- For modders:
    player_index = destroyer_player.index,
    instant_deconstruction = true
})

Perhaps catching this event and checking its 'instant_deconstruction' field could be the way how to fix the #4.

As I said, nothing critical. Just inconvenience.
Thanks again!

7 years ago

Thanks for the report,

I had a wrong value in some script stuff, where the down was swapped with the up, should be fixed in verison 0.1.1

New response