---------------------------------------------------------------------------------------------------
Version: 0.1.4
Date: 27. 02. 2019
  Changes:
   - Add new entity and item prototype flags.
   - Add `belt_speed`
   - List the technology required to unlock an item's recipes (or the item that builds an entity).

  Bugfixes:
    - Fix a flag being renamed in 0.17.2 that caused all entity flags to report **Error**

---------------------------------------------------------------------------------------------------
Version: 0.1.3
Date: 26. 02. 2019
  Changes:
    - Update for Factorio 0.17
    - Added `group`, `subgroup`, `order`, `fast_replaceable_group` and `collision_mask` to entity info.

  Bugfixes:
    - Minor bugfixes.

---------------------------------------------------------------------------------------------------
Version: 0.1.2
Date: 26. 10. 2018
  Bugfixes:
     - Fix a possible desync issue.
     - Fix issue causing debugging to need to be toggled twice to be functional when loading a game.

  Changes:
     - Added a "magic map seed" option.  If a new game is started and has this seed, all worldgen will be replaced with
       a pattern of lab tiles.  The default map seed for this feature is 701; it can be disabled by setting it to 0.
     - Add unit_number
     - Added information on connected rails.

---------------------------------------------------------------------------------------------------
Version: 0.1.1
Date: 25. 10. 2018
  Changes:
    - Add more item fields.

  Bugfixes:
    - Fix issues that only happen with zipped versions of mods but are totally my bad anyways.

---------------------------------------------------------------------------------------------------
Version: 0.1.0
Date: 25. 10. 2018
  Changes:
    - First public release.





why not

```

lua
entities_for_direction = {
   [defines.directions.north] == 'picker-pipe-marker-ns',
   [defines.directions.east] == 'picker-pipe-marker-ew',
   [defines.directions.west] == 'picker-pipe-marker-ew',
   [defines.directions.south] == 'picker-pipe-marker-ns',
}

-- ...

args = { position = {} }

-- ...

if entities_for_direction[current_direction] then
    args.position[1] = center_x
    args.position[2] = center_y
    args.name = entities_for_direction[current_direction]
    entity.surface.create_entity(args)
end

```


   return entity.surface.create_entity
