Yet another train manager


A mod to manage a network of train and station. Some stations provide products (item or fluid) to the network, others stations request products. The mod allocate trains to carry product from provider to requester. This mod is highly inspired from the great mod LTN but with a completly different implementaton.

Content
2 months ago
2.0
520
Trains

b error at the depot

5 months ago

when the train is at the depot, I switch it to automatic mode and it gives an error.

Error while running event yet_another_train_manager::on_train_changed_state
(ID 26)
yet_another_train_manager__/scripts/train conf.lua:124: Arguments count
error for 'get_inventory_size': Expected 1 argument but 2 were given
stack traceback:
[C]: in function 'get_inventory_size'
yet_another_train_manager/scripts/train conf.lua:124: in function
'get_train_composition'
__yet_another_train_manager__/scripts/utils.lua:480: in function 'create_train'
yet_another_train_manager/scripts/utils.lua:488: in function
'add_train_to_depot'
_yet_another_train_manager__/scripts/train_manager.lua:353: in function
<_yet_another_train_manager__/scripts/train_manager.lua:322>

4 months ago

Strange. It seems like an old version of Factorio. Can you provide me a saved game ?

New response