With Enabled "Enable assemble/disassemble recipes" the 22 recipes are still there.
The Trade routes work like this
It has set of items
[Code]
mall_items.t1 =
{
"transport-belt",
"underground-belt",
"splitter",
"loader",
"wooden-chest",
"inserter",
"long-handed-inserter",
"radar",
"repair-pack",
}
[/Code]
And set malls from them like 12 or so recipes per city
[Code]
data:extend({
{
type = "recipe",
name = "mall-1-"..i.."-1-"..z.."-"..r,
icon = "TradeRouteOverhaul/graphics/mall-1-"..i.."-1-"..z..".png",
icon_size = 64, icon_mipmaps = 4,
energy_required = .1,
enabled = true,
hidden = true,
subgroup = "tier-1",
ingredients =
{{desired_items.t1[i], math.floor(rate)+1 }},
results = {{mall_items.t1[z], 1 }},
allow_decomposition =false,
allow_as_intermediate=false,
allow_intermediates = false
}
})
[/Code]
Set trades with desired items
[Code]
desired_items.t1 =
{
"stone",
"coal",
"copper-ore",
"iron-ore",
[/Code]
And make trade recipes from them
[Code]
data:extend({
{
type = "recipe",
name = "Trade-1-"..i.."-1-"..z.."-"..r,
icon = "TradeRouteOverhaul/graphics/trade-1-"..i.."-1-"..z..".png",
icon_size = 64, icon_mipmaps = 4,
energy_required = .1,
enabled = true, hidden = true, subgroup = "tier-1",
ingredients = {{desired_items.t1[i], 10}},
results = { {name=desired_items.t1[z], probability=( rate )%1, amount=1 }, },
allow_decomposition =false, allow_as_intermediate=false, allow_intermediates = false
}
})
[/Code]
This is only snap shot from TradeRoutes originaly writen by DaveMcDave.
When writing this i noticed that recipes are writen as " data.extend() " so maybe this can be a problem ?