Things provides advanced entity management capabilities to other Factorio mods. (This mod makes no gameplay changes. WARNING: disabling Things while other mods are using it may break your save!)
Lua libraries for use by other mods and submods that are parts of a larger mod.
Version: 0.2.1
Date: 2025-10-30
Bugfixes:
- Fixed a performance issue involving degenerately large undo/redo items causing lag spikes on construction events.
- Fixed an issue where `on_orientation_changed` wasn't firing properly.
Version: 0.2.0
Date: 2025-10-28
Features:
- Added preliminary support for entity settings copy/paste. Copy/paste will now correctly move tags between Things of the same name.
- Added new concept of transient children, children that aren't themselves Things, but are associated with a Thing and destroyed alongside it.
- Added API `things.add_transient_child`
- Added API `things.remove_transient_child`
- Added API `things.get_transient_child`
- Added API `things.get_transient_children`
- Added `cause` field to `things.EventData.on_tags_changed` to indicate whether the tag change was triggered by the API or the engine.
- Added API `things.merge_tags`
- Added API `things.set_tag`
- API `things.create_thing` now accepts an optional `tags` parameter to set initial tags on the created Thing.
- Added API `things.get_thing_id`
- Implemented `things.ThingRegistration.migrate_tags_callback` which allows migration of entities that already have stored blueprint tags into Things.
- Implemented `things.ThingRegistration.initial_tags_callback` which allows setting initial tags on Things with intercepted construction.
Version: 0.1.3
Date: 2025-10-27
Features:
- Added `things.ThingRegistration.Child.lifecycle_type` option for automatic children.
Bugfixes:
- Fixed an issue where automatic children of ghost parents would always be created as real.
- Fixed an issue where automatic children of ghost parents could destroy parents because of collision.
- Fixed an issue where automatic children would not match the quality of their parents.
- Added an intentional Lua error at startup when a child registration has no matching Thing registration.
Version: 0.1.2
Date: 2025-10-25
Bugfixes:
- Fixed an issue with rounding that broke blueprint position computations.
Version: 0.1.1
Date: 2025-10-25
Features:
- Added `things.ThingRegistration.allow_in_cursor`
- Added `things.get_edge` remote interface call.
Bugfixes:
- Automatically-oriented children are now correctly reoriented before the parent reorientation event is broadcast.
Changes:
- Breaking: Orientation class names have changed.
Version: 0.1.0
Date: 2025-10-25
Features:
- Initial release.
- Thing registration and construction interception.
- Lifecycle management and associated APIs and events.
- Automatic parent-child and associated APIs.
- Thing graphs and associated APIs and events.
- See online documentation for full details.