Factory Organizer


Help to organize a base. Can move a part of your base to another location. Similar to Picker Dollies but can move several entities at the same time

Utilities
a day ago
2.0
373
Owner:
Telkine2018
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
a month ago
Latest Version:
1.0.4 (a day ago)
Factorio version:
2.0
Downloaded by:
373 users

Objectives

This mod is used to move a set of entities to a new location.
Can move belt.

To use it:

For a single entity

  • select an entity
  • use CONTROL+ARROWS to move the selection to a new location
  • strike CONTROL+ENTER to do real move.

For several entities,

  • use the move selection tools to select entities (SHIFT to unselect)
  • Use CONTROL+ARROWS to move the selection to a location (or move your character)
  • strike CONTROL+ENTER to end the move

To cancel a move

  • strike CONTROL+k

Interface

For modded entities, by default, the mod will move all entities inside the selected one.

For more complex processing, the interface "factory_organizer" expose those methods:

  • add_forbidden(entity_name : string) : register an entity name that will cancel the operation
  • add_not_moveable(entity_name : string) : register an entity name that will not be moved
  • add_collect_method(entity_name : string, interface : string, method : string) : register an interface and a method to collect object for a move
  • collect( entity:LuaEntity) : LuaEntity[]
  • add_preteleport_method(entity_name : string, interface : string, method : string) : register an interface and a method called just before teleportation
  • preteleport(entity : LuaEntity)
  • add_teleport_method(entity_name : string, interface : string, method : string) : register an interface and a method called just after teleportation
  • teleport(entity : LuaEntity)