ECS Town Vector. Factory

From TTWiki
Revision as of 08:28, 11 July 2008 by George (talk | contribs)
Jump to navigationJump to search

ECS Factory

Factory

Drawn by Zimmlock

Small fixes and CC support by George

Documentation for beta 5

The Factory is the part of the ECS Town Vector.

Accepted and produced cargoes

The Factory produces Goods.

The Factory accepts Glass or Ceramics, Dyes, Steel if defined.

The Factory does not accept any cargo during first 93 days of life if built in game.

Cargo acceptance is limited by storage capacity. If the stockpile is in overflow, the industry stops accepting cargo until the stockpile is down to 75% of capacity, at which point the industry will start accepting cargo again.

||Level|Steel|Steel (75%)|Glass|Glass (75%)|Dyes|Dyes (75%)

Very low|840|630|2689|2017|1345|1008

Low|1201|900|3842|2881|1921|1441

Normal|1715|1286|5488|4116|2744|2058

High|2450|1838|7840|5880|3920|2940

Very high|3500|2625|11200|8400|5600|4200

Ultimate|5000|3750|16000|12000|8000|6000||Acceptance limit can be disabled with parameter of ECS Town Vector

Construction

The Factory can be built by a player both in a game and in the scenario editor. Construction cost has a factor of 160 that means the building cost is £468,750/$937,500 in game, in case of inflation is off. Construction conditions are represented in the table.

||step|SE|Condition

1

|

|Build at most 7 tiles away from Tz1

2

|

|Build > 10 tiles from a Steel mill

3

|

|Build > 10 tiles from a Chemical plant

4

|

|Build > 10 tiles from a Glass works

5

|

|Build > 10 tiles from a Factory

6

|

|Build > 1 tiles away from desert tile

7

|

+

|Build on dry land

8

|

+

|Build on flat land||of Location/Positioning Conditions

Production

To calculate a month production values should be summarized for all the cycles of the month (usually 8 or 9). The following calculations are given for one production cycle.

The Factory does not produce any cargo during first 93 days of life if built in game.

||Level|Steel (tonnes)|Glass (boxes)|Goods (crates)

Very low|5|15|9

Low|11|32|19

Normal|24|67|40

High|49|141|85

Very high|102|297|178

Ultimate|210|625|375||On first step the basic values are taken from the table.

On the second step these values are reduced according to amount of material waiting.

Then the amount of goods is recalculated. If Steel or Glass are defined, formula (1) is used. If not, formula (2) is used instead.

||Goods new = Goods old * Steel new / Steel old   + Goods old * Glass New / Glass old|

(1)

Goods new = Goods old / 2|

(2)

||Then amount of dyes used is calculated as Dyes = Goods new / 4 and then reduced according to amount of Dyes waiting.

Then amount of Goods is recalculated again.

Goods final = min (Goods new + Dyes new * 9 / 5; 2)

Production change

Production change happens on the 1-st day of every months.

On the lowest production level (Very low or 3%) advanced closure mechanism is applied with the following protection conditions:

* last one on the map

* younger than 5 years for industries, built in SE (scenario editor) or during map generation, younger than 2 years for others

* amount of Steel + Glass/3 + Dyes > 1024

Protection can be changed with parameter of ECS Town Vector to the following protection conditions:

* last one on the map

* younger than 5 years for industries, built in SE (scenario editor) or during map generation, younger than 2 years for others

* amount of Steel + Glass/3 + Dyes > 1

* transportation level > 1%

* factory is built by the player during gameplay

Steel or Glass are available

Factories use 6 production levels.

Production level decreases when amount of cargo produced last month is below the value represented in the table.

Production level increases when amount of Steel and Glass / 3 is above the value represented in the table.

||Level|Decrease|Increase

Very low| |135

Low|77|279

Normal|162|576

High|340|1188

Very high|714|2451

Ultimate|1500| ||

Steel and Glass are not available

Factories use 124 production levels, represented in % from 3% to 100%.

Production change happens according on amount of cargo transported.

||Transportation|Production change

< 25%

|divide production level by 2 if current level above 6%

-"-|decrease production level by 1 if current level 3% – 6%

25% – 49%

|decrease production level by 1

51% – 75%

|increase production level by 1

75% – 100%

|increase production level by 1 with 75% probability

-"-|multiply production level by 2||

Features

Factories have 24 possible layouts.

Factories support snow and company colours.

Factories change graphics over time (following [1]'s second parameter). The change occurs independently for each tile. If [2] is not detected, the Factory follows TTRSv3's default era time sequence.

Era 1:

Era 2:

{imgsrc=http://www.george.zernebok.net/newgrf/newcargos/img/factory-e2-snowed.png width= height= align= desc= link= }

Era 3:

{imgsrc=http://www.george.zernebok.net/newgrf/newcargos/img/factory-e3-snowed.png width= height= align= desc= link= }

Era 4:

{imgsrc=http://www.george.zernebok.net/newgrf/newcargos/img/factory-e4-snowed.png width= height= align= desc= link= }