Single Train Unit


Adds a single train unit that is the standard length, but include storage and can travel in both directions

Content
1 year, 11 months ago
1.0 - 1.1
1.45K
Trains

b Causes crash in LTN when AAI Industry is enabled

1 year, 11 months ago
(updated 1 year, 11 months ago)

Error raised in LTN about something from my mod:

The mod LTN - Logistic Train Network (1.18.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event LogisticTrainNetwork::on_train_changed_state (ID 25)
Unknown virtual-signal name: ltn-position-single_train_unit-double_end-cargo-loco
stack traceback:
        [C]: in function '__newindex'
        __LogisticTrainNetwork__/script/stop-update.lua:478: in function 'UpdateStopOutput'
        __LogisticTrainNetwork__/script/train-events.lua:178: in function 'TrainArrives'
        __LogisticTrainNetwork__/script/train-events.lua:362: in function <__LogisticTrainNetwork__/script/train-events.lua:358>

Raised with LTN by Arith: https://forums.factorio.com/viewtopic.php?f=214&t=104598

Reproduction steps from Arith:

Have all 3 mods active: LTN, Single Train Unit, AAI Industry.
Add a station and ask the train to arrive to it. When the train arrives it will crash.

LTN mod author (Optera) says:

His entity prototypes don't exist in data-final-fixes when loaded alongside AAI Industry.