I wanted to add a new trader that brought iron, so i popped open luaformatter and looked in stonehearth.smod
I found the old caravan and trader, but not the new one
anyone know where I should look?
found it data>gm>campaigns>trader
Going to make that a mod? always have lots or left overs once the footmen are armed to the teeth
yes, I want to make a valley farming town that trades food for iron
{
“type” : “encounter”,
“encounter_type” : “shop”,
“rarity” : “common”,
“unique” : true,
“in_edge” : “spawn_shop”,
“shop_info” : {
“name” : “Norm Windriser’s Woodcutter Shop”,
“title” : “Norm Windriser has arrived with wares to sell”,
“inventory” : {
“items_matching” : {
“wood stuff” : {
“category” : [“resources”, “furniture”, “decoration”],
“material” : [“wood”]
}
}
}
}
}
{
“type” : “encounter”,
“encounter_type” : “shop”,
“rarity” : “common”,
“unique” : true,
“in_edge” : “spawn_shop”,
“shop_info” : {
“name” : “Maxwells’s Ironworks”,
“title” : “A simple merchant has arrived with wares to sell”,
“inventory” : {
“items” : [
“stonehearth:refined:iron_ingot”,
“stonehearth:refined:steel_ingot”,
“stonehearth:refined:bronze_ingot”
],
“items_matching” : {
“cloth armor” : {
“category” : [“weapons”, “armor”],
“material” : [“metal”]
}
}
}
}
}
I’m not sure what to do about “cloth armor” : {
and I don’t know if “material” : [“metal”] will actually work