Because there was no answer in the ECS thread, I've decided to make a new one.
In the beginning of the ECS discussion there was a suggestion to set non-zero production for secondary industries. Expanding this idea I've tried (test the furniture factory in transparent mode) to code and now I'd like to suggest the new schema of cargo processing by secondary industries. It is based on production callback and callback 35 (you need alpha 70 pre 1 to test it; it can be found on Csaboka's site).
So, the industry produces something every 256 tics (8 or 9 times a month). If it has no cargo waiting, it produces 1 or 2 units of cargo. If some cargo is waiting, it is processed into output cargo in some amount (for example, 20 units of income to 20 units of outcome cargo). For each level of production (40, 80, 10, 20, 40 and 80) amount is multiplied (but it can be specified). If there is not enough income cargo for this operation, the industry produced the default amount (1 or 2 units).
Every month the industry "plans" the work for the month. If the amount of cargo waiting is 3 times more, than the industry can use during a month, the production is doubled.
If the production last month is less, than 1/4 of average (that means 5 of 8/9 times a month there was not enough cargo to process for the current level of production), the production for the next month is halved.
The industry can't increase the production of less than 50% cargo transported last month.
Suggestions?
Test the wood vector and furniture fabric and report your opinion, please
http://george.zernebok.net/download/dev ... /16012006/
ECS Industries production schema
Moderator: Graphics Moderators
Wood vector works in Tropic and sub-arctic but does not work in Temperate. The Basic vectors were enabled and dissabled as required for each climate. When in loaded in temperate, the wood vector caused the town vector to fail to load.
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
- George
- Tycoon
- Posts: 4364
- Joined: 16 Apr 2003 16:09
- Skype: george-vb
- Location: Varna, Bulgaria
- Contact:
try thiswallyweb wrote:Wood vector works in Tropic and sub-arctic but does not work in Temperate. The Basic vectors were enabled and dissabled as required for each climate. When in loaded in temperate, the wood vector caused the town vector to fail to load.
newgrf/ECSTownw.grf
newgrf/ECSBasicw.grf
newgrf/ECSBasArw.grf !
newgrf/ECSBasTrw.grf !
newgrf/ECSChemw.grf
newgrf/ECSMachw.grf
newgrf/ECSMacTrw.grf !
newgrf/ECSWoodw.grf
newgrf/ECSConstw.grf
newgrf/ECSAgriw.grf
newgrf/ECSDVehw.grf
newgrf/4LVw.grf
newgrf/4LVCutw.grf
newgrf/TTRS3w.grf
Who is online
Users browsing this forum: No registered users and 30 guests