Edibles Markets and Standard Markets Behave different. Help me use Markets

Started by smurphys7, December 09, 2017, 05:14:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

smurphys7

tl;dr.   Why don't the Edible Markets behave like the Regular Markets but only for food items?  Edible Markets fill with food nearby.  Regular Markets don't.  Video Example

Citizens only stop at one market for food.  Regular Markets waste time with all goods.  Edible Markets fill with food.  Specialized Carts only stock one food group.  None of the 3 work ideally a large and specialized town.

I made a demonstration town.  The town makes Broccoli.  I put a market in the center.  I put a few useful buildings next to it.  The next ring is houses.  The next ring is Barns.  The outer ring is tons of broccoli farms.  I trade broccoli for everything else: tools, clothing, and the 3 other food groups.  I purchase Corn, Cherries and Chestnuts to make it easy.  Picture of Town  Save Game File of Town

When I use a regular market, like this Old Town Market all goes well for food groups.  I keep a relatively steady and even supply of each food in the market. Regular Markets work great for this example town: Video Here.  This example is the behavior I want: Vendors trying to constantly stock all four food groups at a market.

When I use the Edibles Market the markets fill with Broccoli.  My people's health suffers because they eat few food groups.  The barns where food is imported contain plenty of other food groups.  Edibles Markets fail in example town: Video Here.  Second Video showing Change from Regular to Edible HERE.  I don't want this behavior.

When I use a group of specialized market carts the people only use the closest market cart.  Again, people's health suffers because they eat few food groups.  Specialized Market Carts fail in example town: Video here.  I don't want this behavior.

The problem is regular markets don't work in my "normal" towns.  My other towns produce or own too many goods.  The Example Broccoli town works because that town only makes broccoli.  The only other goods are imported and there are very few of them: clothes, tools, fuel and the other 3 food groups.  The marketers in Broccoli town only have to cart around the necessities.  When the markets have more goods the desired effect (stocking all four food groups) fails.  

My Cheesy Bread town has several Rural Markets.  The only fruits produced in Cheesy Bread town are Apples and Cherries.  The only vegetable produced is Tomatoes.  I bring up the Town Hall and there are a few thousand of each at all times.  There aren't a lot, but enough that each market could stock or try to stock some.  The problem is the Vendors at these markets are too busy messing with all the other goods Cheesy Bread town produces rather than trying to stock fruits and vegetables.  

Furnace Fuel, for example, is one of the problem goods.  My town imports Furnace Fuel.  Furnace Fuel is only used in one corner of town.  Unfortunately, each market tries to stock some.  The specialized market cart I place next to the Furnace Fuel users won't take Furnace Fuel out of another market.  My vendors waste their time stocking furnace fuel, and other similar goods, rather than the Fruits and Vegetables my people need.

Here's a Video of Cheesy Bread town Struggling

I cannot simply change the Rural Markets to Edible Markets.  The Edible Markets would fill with the outrageous amounts of Beef, Bread and Cheesy Bread that Cheesy Bread town produces.  That's not a problem in real life but in the game my people need their fruits and veggies.  I cannot use the specialized market carts for Fruits and Veggies because a person will only stock their home from one market.  Either they go to the Rural Market with little to no Fruits/Veggies, or the Edible Market filled with Cheesy Bread goodness, or to the Fruit or Veggie Cart.  The only go to one and don't stop at each.

How do I fix this?  How do I properly use markets to feed a spread out population with all four food groups?  Why don't the Edible Markets behave like the Regular Markets but only for food items?

Maldrick

Guessing you are using CC?  I think @brads3 mentioned something a while back about something funky going on with the CC markets in the latest version, since the patch, etc.  He's around quite a bit so hopefully may have some insight for you.

Are you using other mods or just CC?
"We are the architects of our actions and we must live with their consequences, whether glorious or tragic."
― Ezio Auditore da Firenze

smurphys7

Sorry, I copy and pasted this from the Black Liquid forums.  I am only using CC 1.75. 

Maldrick

No worries.  Assumed when you mentioned the particular buildings.  And furnace fuel.

I haven't played with CC extensively yet but I've noticed with the different specialized markets they seem to vary in how they behave.  Some will try to keep an even amount of everything they stock, others will simply fill up.  I think I noticed the stall type markets in CC are the latter, but it's been a while.  I do remember them getting glutted when they are supplying a building that makes something of the same flag, I think, which sounds like what you are seeing.  I get the impression it has to do with how detailed the coding is.  A modder could explain it better I'm sure.

As for fixing your problem, generally what I do is try to stick with the general markets as much as possible just to keep things balanced. They tend to employ more workers and, like you say, bannies can load up on multiple things in fewer trips to those.  I use kid's market puzzle stands a lot to augment specific things.  Like the tool stand near production buildings just to shorten the trip to replace tools, woodfuel next to buildings that use it, etc.

You could try adding Market Puzzle and EB's Market Set to your game and see if they help.  Both are in the 107 section here.  Might want to check the pages to see if they can be added to a map in progress.

It's funny you bring this up because I've been interested in learning more about how markets specifically work and what all can be done with modding them.
"We are the architects of our actions and we must live with their consequences, whether glorious or tragic."
― Ezio Auditore da Firenze

RedKetchup

Quote from: Maldrick on December 09, 2017, 06:46:49 AM
I get the impression it has to do with how detailed the coding is.  A modder could explain it better I'm sure.

i personally dont know how @kralyerg  coded them. he is the best one who can explain it or point you which one(which CC market) would be the best fit for your town.
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

Maldrick

@RedKetchup Do I have that right?  It seems like some are set to balance everything and others just fill up on the first of that flag they find. Do you have control over that in the coding?
"We are the architects of our actions and we must live with their consequences, whether glorious or tragic."
― Ezio Auditore da Firenze

brads3

 i like the in depth way of descibing the problems.lots of information in your post.these type posts is what modders need when developing more mods.plus the details help other players to learn and change how they play.nicely done.
       i don't think i know as much as MALDRICK thinks i do. maybe i get lucky since i don't seem to have the diet problem. is it because i up herb counts? different markets? dumb luck?
        in your case of growing 1 type of food and importing all the others,the issue would be more noticed. in a town that grows its own food,things are so scattered the probelm won't affect everyone.there are tons of pages on markets all over the internet.  though i have read a few on different sites, i still have some issues with them. mine are more related to the new limit flags and having too many of various products and not enough of specific 1's. and as you found,everything is stored scatttered and isn't where it should be.i use lots of older mods which won't store new items.
        you say the bannies take food only from the closest market. that is supposedly the rule.however,does the game really do that every time? there is also discussions as to how the radius of markets work. rather the vendor will pull from the barns inside the radius or outside.these are supposedly known rules. i am not convinced the game actually plays that way.
              water is food but if storage is near by and the building needing the water is nearby according to the "rules", water would stay there.why does it get moved everywhere but there?? same thing with a production area. clay should be dug and then store nearby. then the brickmaker should have access to make bricks.why does every market all over the map need to store it then? if markets don't overlap their radius,the products shouldn't be pulled from 1 area to another.that will start a big discussion again over the differences of markets and barns. LOL.
        i have built houses in a row with firewood on 1 side and thatch on the other.according to the "rules", the houses closest to the thatch should burn thatch for heat. every house will have firewood. and several,not just the closest, will have both. rules are more guidelines than rules in bannished.
          let's tear your situation apart for a minute. did you check the housing inventory???what you think you see may be different than what the bannies are doing. as the vendor stocks the odd foods,are they being pulled back out of the market by the houses?? in which case the market won't show lots of apples or grain. since the houses are stocked with broccoli and farmers are you have more of it,more will be stored everywhere. but the foods you don't have as much of won't be stored in high amounts.
        how many vendors to eacfh market do you have? i ususlly set 1 to each but will use carts to move logs and minerals for firewood cutters and blacksmiths. since you have to move so much food from  trading posts to town,will having 3 or 4 vendors help? as MALRDICK pointed out mods might work differently as well. KID's market puzzle would give you options. you could place a grain and meat vendor near the ceter market and the bannies should pull food from all.
      1 trick i try to get the bannies to do is to scatter the laborers around the map. say you need 4 workers in a forest which is 2 houses. build 3 houses so there is 2 extra workers in that area. do same thing to mine or production towns etc.this forces the laborers to live in the extra houses. laborers carry items and collect all kinds of stuff running around. as they run home to eat or get warm,they will carry items with them and this helps scatter needed items. not saying it works as well in game as theory, but it does seem to help.

RedKetchup

depends of the coding...

usually you can tell x% of vegetable, x% of fruit, x% of meat .... it depends if has been coded that way or with x% of edible which can be everything or just 1 thing....
i am not seeing the building template.
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

brads3

that adds to the storage dilemas. the modders here adjust those variables instead of setting all itmes the same. that helps. that info isn't posted with the mods. even storage barns don't always have the capacity amount in the mod write up.some list when you scoll over the building icon some do not.

Maldrick

@brads3 You're right...Market behavior has always been a bit of a mystery when you really get down to the details.  Like at what point do they offload goods to storage?  Have never been able to predict when exactly but they definitely do at times.  Then there's the whole stocking houses thing.

Purely as a side note....One thing that's super cool in Ostriv is there are checkboxes for what gets stored in warehouses...which are kind of a cross between barns and markets in banished terms.  Still early alpha so the game is really limited currently, but can see this being incredibly handy down the line.  Wish we had that level of control in Banished.

@RedKetchup Thank you.  I was just asking as a general matter.  So if I understand correctly, you can have it pull by flag, and with food it can be specified by food group and edible/inedible.  Can it be more particular than that?  Like could a market be coded to only stock steel tools but not iron?  Or just, say, cherries and apples, but not other fruits?
"We are the architects of our actions and we must live with their consequences, whether glorious or tragic."
― Ezio Auditore da Firenze

smurphys7

Quotedid you check the housing inventory???

Quotehow many vendors to eacfh market do you have?

This information is shown in the video.  The Broccoli town is simply an example town.  The issue in my more normal towns is that I often play with personal restrictions or limits.  Often my town has a specialized area to produce one type of food OR that type of food is important.  The issue is distributing this single food group from one location across my entire town.

For example, my Cheese Bread town has Tomatoes produced in one area.  Apples and Cherries are produced in another area. 

This is my guesstimation through non-scientific testing: when a person's home is low on food they go to the nearest market if they are standing inside a market circle when the "my home is low" trigger occurs.  If they are not inside a market circle they go to the nearest storage with food.  That last part MAY be a market that they happen to NOT be standing inside the market radius.

My estimation is based on these tests: 

First Test.  The Barns shown near the Fishing Docks only contained Fish.  As expected, the homes against the market had more food types.  The homes near the docks had MOSTLY fish but some small amounts of the others.  The two homes way far east had virtually all fish.  I tracked these numbers over 15 game years.

Second Test.  Again, I ensured the outer Barns only had Fish.  The Market had more food types.  Again, the homes against the market had almost the same food types as the market.  However, the further the homes were from the market the higher % of fish they had.  The circle itself seemed to make no difference.  The main factor seemed to be distance.  Since my citizens mostly worked outside the circle I assume it works like I explained in my guesstimation above. 

In practice across many towns, this seems to be the case.  Sometimes citizens get food that doesn't appear in nearby markets or they don't use markets when their homes are located inside one.

Quotewhy does every market all over the map need to store it then? if markets don't overlap their radius,the products shouldn't be pulled from 1 area to another.

I cannot answer why they do that.  I don't understand your comments about the radius and "shouldn't be pulled from one area to another".  Markets pull goods from across the entire map into the market itself.  This concept can easily be demonstrated and replicated.

Maldrick

@smurphys7 Welcome to the Great Market Mystery.  They tend to work predictably-ish but not entirely.  It was once commonly thought that houses would only pull from markets  if they were in the radius.  Which makes sense, except sometimes houses in the radius don't, it seems, and houses outside the radius will if they need to.

So what's the radius actually do?  I suspect that's for the stocking mechanic that's been reported.  I've never tried to test it myself and not sure I've ever seen it, but legend has it that at a point when a market is full the vendors will actually deliver goods to houses.  People claim to have observed it but not sure if it's actually the case.  How often are markets entirely stocked?
"We are the architects of our actions and we must live with their consequences, whether glorious or tragic."
― Ezio Auditore da Firenze

smurphys7

Would an appropriate test be to place a market, surround the market with homes and farms.  Have other goods be produced quite a distance away.  Have no other storage options be nearby.

That forces the farms to dump all harvests into the market.  That forces the markets to unload the market into somewhere and ship in other goods from elsewhere.

I can make a town and a video of this within the hour.  Any other suggestions for it?  I would be using no mods.

Maldrick

I honestly don't know.

Pretty sure you will need storage for the offloading.  Even if quite a distance away.  Not sure if you've ever tried it, but when storage gets absolutely maxed it sends them into this weird loading/unloading frenzy.  Think food crisis frenzy but with storage.  Never tried it with a market though so don't know.
"We are the architects of our actions and we must live with their consequences, whether glorious or tragic."
― Ezio Auditore da Firenze

brads3

Quote from: Maldrick on December 09, 2017, 08:13:33 AM
@smurphys7 Welcome to the Great Market Mystery.....
but legend has it that at a point when a market is full the vendors will actually deliver goods to houses.  People claim to have observed it but not sure if it's actually the case.  How often are markets entirely stocked?

is that the trick??????? can i tell my story now?
                             a long long time ago, i had a "SUPER VENDOR". the map was large with lakes in middle. the far northwest was starting to be a mining town with a new small mod market to begin supplying tools and food.to get to the south,the vendor had to work around 2 or 3 lakes from the corner to south center of the map. this SUPER VENDOR would carry goods all around and keep several markets stocked even though he was set to be at the far market. i literall am not losing my mind. i watched this guy travel and carry stuff way to the south. i was wondering why and where he was going to. he stopped at one of SLINK's markets to the south and then took goods from nearby markets and delivered them to houses on the south shore before heading off again.he also took logs to the wood cutter and delivered materials to a blacksmith. all before heading on  his long hike back to the northwest market. note: 1 vendor stocked the entire map of several markets and workplaces. this 1 super vendor did the work of over 20 bannies.
          i  miss this guy. i have tried off and on for over a year,probably closer to 2,to recreate this. was it a weird glitch or conflict of 2 mods? i have took time and reloaded old mods trying to find him. the game has upgraded several times as i think it was 1.04 back then. many large mod sets have been upgraded several times also.i have over 4 times as many mods now too.
        MALDRICK, you are the 1st to even say this is possable let alone give any explanation. i will need to test this theory. if you did find my SUPER VENDOR, thank you thank you. me bows and salutes you. this would be awesome. i hope i don't pass out from holding my breathe though. that got me excited.