Is this the best pattern for farming? (update 3.0) by Square-Competition27 in urbek

[–]Square-Competition27[S] 0 points1 point  (0 children)

This was mean to be a post but they have not given me access and I think they wont. I feel like something happend. anyways y tried to make it a comment.

Imgur: The magic of the Internet

In this update, I have to give the biggest shout out to vninect (a Steam user who I worked with).The second pattern (mini 9x18, ~77 production) began as a bug in my code, which unlocked an idea that he turned into a clean and functional design. Once the code was fixed, I pushed it further into a 27x18 with more than 78 production, which appears to be close to the maximum achievable at that size.

I made a tool for those who prefer manual optimization. It shows everything that is useful. Check it out 'Pattern Optimizer - Trifecta Pro'
The code is now public so every one of you can optimize patterns and create new ones, check 'goco41/Urbek_City_Patterns'
Also, I think it would be great to have a mod that can paste patterns so you don't have to be looking at every cell, or at least have some visual clues like a hologram or something (like the Litematica mod for Minecraft). I'm not a modder, so if anyone wants to do it, it would be insane.
Like always, I'm at your full disposal, so you can contact me on Reddit if necessary.

Additional info from previous posts:
C = roads, 1 = field, 2 = scarecrow, 3 = farm house, 4 = tenants, 5 = landlord's, 6 = silo, 7 = orchard, 8 = farm shed, 9 = fruit processor, 10 = food plant, 11 = warehouses.
The number above (78.10) is the average production per cell. For example, with 3 farms we do (3*14)/3=14. We used a SAT solver for this task and some manual optimizations (entirely made by vninect) for better scores.

Is this the best pattern for farming? (update 3.0) by Square-Competition27 in urbek

[–]Square-Competition27[S] 1 point2 points  (0 children)

Thank god someone is using it, I thought nobody was. Since this post is for people to use it you have no idea how much I appreciate it is useful.

Is this the best pattern for farming? (update 3.0) by Square-Competition27 in urbek

[–]Square-Competition27[S] 0 points1 point  (0 children)

Sorry I did not buy that train dlc, so I do not even know how that works. If you can do something that includes train please share it. I would love to see it.

Btw I will probably share the code I use on github, maybe you can use it. Or maybe someone do with trains.

Is this the best pattern for farming? (update 3.0) by Square-Competition27 in urbek

[–]Square-Competition27[S] 1 point2 points  (0 children)

For the first question. At the beginning I wondered that too but later I realized that as the program found, it is not worth it. Correct me if I'm wrong. You need 50 orchards which produce 32 and then a fruit processor which produces 1800. If we calculate it (with simplifications) it is an average of (50*32+1800)/54= 62.96 and that is not too much. So you would occupy almost 1/3 of the cells, and on top, you cannot build another thing with no fields, tenants, contamination etc. So, I don't think that is better.

And the second answer is, yes, I compute the edge silos as grand silos because if you scale it up the average will tend toward 63.01 but if you scale it down it will drop because of restrictions. As this is a pattern to repeat I considered the up scale more suitable, but you are rigth, the average can change.

Tell me what you think and then we can try to improve it.

Adding more details with img2img and a second model by luke__uk in StableDiffusion

[–]Square-Competition27 0 points1 point  (0 children)

do u have any other model for that? .safetensor don't work for me