Bob's Adjustable Inserters


Adds hotkeys and a GUI to adjust inserter pickup and drop locations.

Content
3 months ago
0.13 - 1.1
299K
Logistics

b Force resetting last inserter to default in/out position

3 years ago

Factorio version 0.18.21, also insalled Bob's Logistic mod

When you trying to place last inserter in inventory it resets to default in/out positions, crafting/picking more inserters resolve that problem

3 years ago
(updated 3 years ago)

Ugh...

I know exactly what the issue is now that you've described it, I haven't even looked at the code yet and I'm just like... noooo... do I really have to do that?

In short... Since you've built the entity, your hand is now empty, so when I check to see what the player is holding, it returns "Nothing!" so, the result is that it don't change the hands.

what I think I'm going to need to do is check on_pre_built_entity save it to a varible, then look at that variable in on_built_entity

I'll look into it.

3 years ago
(updated 3 years ago)

...

  1. on_pre_built_entity doesn't exist
  2. Looks like they've changed the way things work. They've added a new item return variable to on_built_entity, which returns the LuaItemPrototype of the object used to build the entity, which means I don't have to do all those checks anymore, just read that instead.

A lot easier to fix than I'd thought.

New response