How to add a resource for a train car that can carry several different resources?
For example, here is an excerpt from an .mdl file with "GOODS" and "PLASTIC" resources. I would, for example, add the resource "STEEL" to this wagon. I do not understand how to correctly set "levels".
Thank you.
Perhaps this topic has already been treated elsewhere. In this case, thank you for giving me the link.
Lua
transportVehicle = {
capacities = {
{
capacity = 135,
loadIndicators = {
{
params = {
levels = {
{ 3, 4, 5,},
{ 2, 5,},
{ 2,},
},
},
type = "DISCRETE",
},
},
type = "GOODS",
},
{
capacity = 135,
loadIndicators = {
{
params = {
levels = {
{ 7, 8, 9, 10, },
{ 6, 8, 9, 10, },
{ 6, 9, 10, },
{ 6, 10, },
{ 6, },
},
},
type = "DISCRETE",
},
},
type = "PLASTIC",
},
Alles anzeigen