This single line in a data-updates.lua makes the locomotive weigh only 66.6 kg in the rocket, normally it weighs 200 kg, exactly 3 times lower. Why is this?
Code: Select all
data.raw.recipe["locomotive"].allow_productivity = true
Code: Select all
data.raw.recipe["locomotive"].allow_productivity = true
Code: Select all
data.raw['item-with-entity-data']['locomotive'].weight = 1 * tons / data.raw['item-with-entity-data']['locomotive'].stack_size
Code: Select all
data.raw['item-with-entity-data']['car'].weight = 700 * kg
data.raw['item-with-entity-data']['tank'].weight = 20 * tons
data.raw['item-with-entity-data']['locomotive'].weight = 2 * tons
data.raw['item-with-entity-data']['cargo-wagon'].weight = 1 * tons
data.raw['item-with-entity-data']['fluid-wagon'].weight = 1 * tons
data.raw['item-with-entity-data']['artillery-wagon'].weight = 4 * tons