Big Brother 1984


The mod transforms unstructured player actions into a clean, machine-readable logistics stream. By storing the unit_number (ID) of machines or chests, the path of each item can be tracked precisely. The player may trigger robot (de)construction and upgrades The system is a data source for complex evaluations or logistics statistics.

Utilities
19 hours ago
2.0
30
Logistics Character
Owner:
the-true-logistican
Source:
https://github.com/the-true-logistica...
Homepage:
N/A
License:
MIT
Created:
8 days ago
Latest Version:
0.4.1 (19 hours ago)
Factorio version:
2.0
Downloaded by:
30 users

Supportet actions are:
TAKE = the player takes s.th. in his hand
GIVE = the player put s.th. at a specific location
MAKE = the payer crafts s.th. (includes retrograde movements from hi inventory
for all ingredients according to the craftet cecipe)

The mod mainly serves to track players' activities in Factorio, such as moving materials around the world.
I wrote the factory ledger — the accounting system — and, as in any factory, people often intervene manually.
For example, employees may take something somewhere else in advance, which messes up the accounting.
How can this be avoided in a factory?

Employees often have a scanner that they use to scan items, which makes it possible to see what has been taken.
As I didn't have that, I decided that I needed a kind of 'Big Brother' module that would allow me to recognise the player's activities
and turn them into logistical events. This would enable me to see what really happened when they intervened manually,
for example taking iron plates out of one place and putting them somewhere else.

I understand the construction-bot as the maintenance department. Thus the player can give order to them.
As a consquence the bots activities have mpact on the inventory and the fixed assets. Big Brother traces this now too.

However, the accounting department also needs to be aware of this. This means the Big Brother module observes the activity,
generates an event and then you can make the appropriate accounting entry. This is standard practice in every company, so if
you notice a change that hasn't been posted, it must be posted retrospectively.

Big-Brother comes with -- Remote API: other mods can query the event ID (and optionally use pull) and creates
local function create_logistics_event(action, actor, source_or_target, item)
local event = {
tick = game.tick,
actor = actor, -- {type = "player-hand", id = 1, name = "PlayerName"}
action = action, -- "TAKE", "GIVE", or "MAKE" / "TAKE", "GIVE" oder "MAKE"
source_or_target = source_or_target, -- {type = "assembling-machine-2", id = 12345, slot_name = "modules"}
item = item -- {name = "efficiency-module", quantity = 1, quality = "normal"}
}
it comes with a small client mod in order to test it.

The mod was created using AI mainly Claude - Gemini and DeepL (write)