# NewCargo Set

### New Cargoes for `TTDPatch`
by Michael Blunck
July 2005
Version 0.12 - Sep 14th, 2005

<vspace 2cm>

### What is the NewCargo set?

For many years, TTD had only scarce ressources of cargoes and industries when only recently Csaba Varga released a new version for `TTDPatch` which adds more cargoes and industries and in addition makes available a framework to model the behaviour of industries and cargo-accepting town buildings in a most flexible way.

This set is a first approach introducing new cargoes and industries on the basis of his work. Meanwhile, there´s work in progress for a broader scheme of cargoes and associated industries for the diverse climates of which this set would be only a "taster" to get a first impression of what features would be possible to achieve in the future.

### How to install the NewCargo set?

#### Preliminaries

The NewCargo set is available in a DOS ("newcargo.zip") and in a Windows version ("newcargow.zip"). Just copy the files from the appropriate .zip file into the "newgrf" directory under your TTD main directory and add the names of the .grf files to your "newgrf.cfg" resp. "newgrfw.cfg" file.

You´ll need `TTDPatch` version 2.0.1 alpha 55vcs (or higher) to run the NewCargo set.

The actual version of the NewCargo set is 0.12 (grf-ID is 6D 62 08 00) and it´s of September 14th, 2005.

#### Variables to set in ttdpatch.cfg

- newindustries on - mandatory, will be checked for at start
- newcargos on - mandatory, will be checked for at start
- morebuildoptions.enhancedbuoys - to be able to place a buoy at sea

#### Set compatibility

In spite of the introduction of new cargoes, the NewCargo set is fully compatible with the NewStations set, the DB set XL, the NewShips set and the CargoSet.

To be able to transport the new cargoes you have to include vehicle sets which contain vehicles for those new cargoes. In case of the NewShips, the DB set XL and the CargoSet, transportation means for all new cargo is guaranteed which may not be the case when using other vehicle sets. Remember however, that - due to limitations in those sets - appropriate vehicles will not always be available when starting a game in 1920.

Because the NewCargo set may also be used in the arctic and sub-tropical climates, there may be no freight wagons for the new cargoes because the DB Set XL will not be active in climates other than temperate or alpine.

In any case, the NewShips and the DB set XL .grf have to be placed before the NewCargo set in the newgrf.cfg file.

### What Cargoes and Industries make up the NewCargo set?

NewCargo v0.0 introduces the new cargoes of "fish" and "beer", new sources for those cargoes ("fishing grounds" and "brewery") and modifies the existing food processing plant and the temperate factory accordingly. The set also modifies a couple of town buildings to accept both beer and food.

All available objects (cargoes and industries) are listed in the table below. New objects are highlighted, in contrast to already existing objects which have been modified.

For more information and progress of the project you may check the Patagonia pages.

Cargoes
Slot | Name | Cargo bit | Weight | Base price | Time penalties | Source | Dest | Remarks <tr"> | 0C | Food | 0C | 16 | 5688 | 0 and 30 | food processing plant | selected Town buildings1 |
0D | Beer | 12 | 16 | 3816 | 8 and 30 | Brewery | selected Town buildings1 |
0E | Fish | 11 | 16 | 4816 | 5 and 20 | Fishing grounds | Food processing plant |
1 At the moment only in temperate climate.

Industries
ID | Name | Subst. | Cargo produced | Cargo accepted | Prod. rate 1 | Prod. rate 2 | Layout | Sounds | Animation | Prospecting chance | Remarks
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
? | Fishing grounds | 05 | Fish | n/a | 15 | n/a | 1*1 | 34h, 39h, 44h, 48h | yes | 60% |
0D | Food processing plant | n/a | Food | Grain, livestock, fish | n/a | default | none | no | n/a | modified arctic/sub-tropic food processing
06 | Factory | Goods | Steel, wood | 01h | modified temperate factory
? | Brewery | 00 | Beer | Grain | n/a | 2*2 | 0D, 2C, 33h | yes | 60% |

### Special Handling of Vehicles

To service the "fishing grounds" by a ship, you have to built a buoy with the fishing grounds in its catchment area. This buoy must be special to allow loading of ships and has to be placed by <ctrl+click>.

### Placement of Industries

Due to some built-in limitations, its not always possible to place the new industries, neither from game nor from the scenario editor.

- the fishing grounds can only be placed at high sea, i.e. the Manhattan Distance to the nearest coast has to be at least 10 tiles.
- the brewery can only be built in towns with more than 448 inhabitants, at most 6 tiles away from the city center (Manhattan distance, as well).

### Known Bugs

When transporting "fish" cargo, the DB set XL box cars will show two possibilities for that cargo during refitting, namely "fish (goods)" and "fish (beer)". This is due to the fact that the current DB set doesn´t know of any new cargoes yet. Instead, the NewCargo set modifies the appropriate cargo bit masks for needed vehicles from other sets, which is possible to do easily from outside a set, but it is not possible to change the cargo refitting texts of the "host set" in this way.

This (and other small incompatibilities) will be removed with the release of a new version of the DB set XL.

In conclusion, both choices will be appropriate, only the design of the car (brown or white) would be different.

### History - bug fixes

V0.12 (sep 14th, 2005)

- fixed bug w. "food" cargo in arctic

V0.11 (aug 4th, 2005)

- fixed bug w. overflow of variable for waiting cargo in brewery,
- added check for DB Set XL, CargoSet and NewShips when modifying vehicles for new cargoes,
- brewery´s office building tile is accepting mail and passengers now,
- added snowy version for brewery in arctic and alpine climate.

V0.1 (jul 29th, 2005)

- fixed bug w. small block of flats changing to cottages,
- fixed version number displayed in error message,
- fixed cargo text for beer (english only),
- changed cargo-ID for food from 0B to 0C,
- changed cargo-ID for fish from 0C to 0E.

V0.0 (jul 17th, 2005) - first release.

### Copyright Notice

NewCargo set - © 2005 Michael Blunck - All Rights Reserved.

This Software is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties.

Permission to use, copy and distribute this software as it is (consisting of the graphics and its implementation code) and its documentation for non-commercial purposes, without fee and without a signed licensing agreement, is hereby granted, provided that the above copyright notice, this paragraph and the following four paragraphs appear in all copies and distributions. Contact the above Copyright holder for commercial licensing opportunities.

IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE, DATA, OR PROFITS) ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED HEREUNDER IS PROVIDED "AS IS". THE COPYRIGHT HOLDER HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

ALL COMMERCIAL USE OF THIS SOFTWARE IS STRICTLY PROHIBITED.

ALL REDISTRIBUTION OF THIS SOFTWARE TO OTHER PARTIES FOR COMMERCIAL USE IS STRICTLY PROHIBITED.

### Acknowledgments

The "newcargos" and the "newindustries" features of `TTDPatch`, which are of vital importance for this set, have been developed and implemented by Csaba Varga, "newcargos" being based on prior work of Marijn Kruisselbrink.

The availability of new graphics was only made possible by the outstanding work of Josef Drexler and Marcin Grzegorczyk on `TTDPatch`.

In particular I´d like to express my gratitude to Josef for the fruitful collaboration during further developing the `TTDPatch`.

### Want still more information?

Visit the Transport Tycoon Newsgroup