- grf {
- grfid: "\F1%\00\08";
- name: string(STR_GRF_NAME);
- desc: string(STR_GRF_DESC);
- url: string(STR_GRF_URL);
- version: 6074;
- min_compatible_version: 6072;
- param 0 {
- economy_selection {
- name: string(STR_PARAM_NAME_ECONOMIES);
- desc: string(STR_PARAM_DESC_ECONOMIES);
- min_value: 0;
- max_value: 5;
- names: {
- 0: string(STR_PARAM_VALUE_ECONOMIES_BASIC_TEMPERATE);
- 1: string(STR_PARAM_VALUE_ECONOMIES_BASIC_ARCTIC);
- 2: string(STR_PARAM_VALUE_ECONOMIES_BASIC_TROPIC);
- 3: string(STR_PARAM_VALUE_ECONOMIES_STEELTOWN);
- 4: string(STR_PARAM_VALUE_ECONOMIES_MISTAH_KURTZ);
- 5: string(STR_PARAM_VALUE_ECONOMIES_EXTREME);
- };
- }
- }
- param 2 {
- allow_close_secondary {
- name: string(STR_PARAM_NAME_SECONDARY_NEVER_CLOSE);
- desc: string(STR_PARAM_DESC_SECONDARY_NEVER_CLOSE);
- type: bool;
- bit: 1;
- }
- restrict_open_during_gameplay {
- name: string(STR_PARAM_NAME_NO_OPENINGS);
- desc: string(STR_PARAM_DESC_NO_OPENINGS);
- type: bool;
- bit: 2;
- }
- }
- param 7 {
- primary_level1_produced_percent {
- name: string(STR_PARAM_NAME_PRIMARY_LEVEL1_BONUS);
- desc: string(STR_PARAM_DESC_PRIMARY_LEVEL_BONUS);
- def_value: 150;
- min_value: 100;
- max_value: 1000;
- }
- }
- param 9 {
- primary_level2_produced_percent {
- name: string(STR_PARAM_NAME_PRIMARY_LEVEL2_BONUS);
- desc: string(STR_PARAM_DESC_PRIMARY_LEVEL_BONUS);
- def_value: 300;
- min_value: 100;
- max_value: 1000;
- }
- }
- param 6 {
- primary_level1_requirement {
- name: string(STR_PARAM_NAME_PRIMARY_LEVEL1_REQUIREMENT);
- desc: string(STR_PARAM_DESC_PRIMARY_LEVEL_REQUIREMENT);
- def_value: 16;
- min_value: 1;
- max_value: 10000;
- }
- }
- param 8 {
- primary_level2_requirement {
- name: string(STR_PARAM_NAME_PRIMARY_LEVEL2_REQUIREMENT);
- desc: string(STR_PARAM_DESC_PRIMARY_LEVEL_REQUIREMENT);
- def_value: 80;
- min_value: 1;
- max_value: 10000;
- }
- }
- param 4 {
- marine_industry_max_coastal_distance {
- name: string(STR_PARAM_NAME_COAST_DISTANCE_MARINE_INDUSTRY);
- desc: string(STR_PARAM_DESC_COAST_DISTANCE_MARINE_INDUSTRY);
- type: int;
- def_value: 0;
- min_value: 0;
- max_value: 255;
- names: {
- 0: string(STR_PARAM_VALUE_SECONDARY_NEVER_CLOSE_0);
- };
- }
- }
- }
- basecost {
- PR_BUILD_INDUSTRY: 2; // Industries are more expensive
- PR_BUILD_INDUSTRY_RAW : 2; // Building primary industries is also expensive
- PR_CLEAR_INDUSTRY : 2; // Deleting industries must also be expensive
- }
- if (param[6] == 0) { param[6] = 100; }
- if (param[7] == 0) { param[7] = 100; }
- if (param[8] == 0) { param[8] = 400; }
- if (param[9] == 0) { param[9] = 300; }
- disable_item(FEAT_INDUSTRIES, 0, 36);if (ttd_platform != PLATFORM_OPENTTD || openttd_version < version_openttd(1, 7, 0, 27769)) {
- error(FATAL, REQUIRES_OPENTTD, string(STR_ERR_OPENTTD_VERSION));
- exit;
- }
- if (grf_future_status("\F1\25\00\05")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "FIRS v1"));
- }
- if (grf_future_status("\F1\25\00\06")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "FIRS v2"));
- }
- if (grf_future_status("mb\07\00")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Alpine Climate"));
- }
- if (grf_future_status("Meo\97")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Agricultural Vector"));
- }
- if (grf_future_status("Meo\98")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Basic for Arctic"));
- }
- if (grf_future_status("Meo\99")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Basic for Tropic"));
- }
- if (grf_future_status("Meo\92")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Basic Vector"));
- }
- if (grf_future_status("Meo\93")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Chemical Vector"));
- }
- if (grf_future_status("Meo\9B")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Construction Vector by Pikkabird"));
- }
- if (grf_future_status("Meo\9C")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Chemical Vector II"));
- }
- if (grf_future_status("Meo\96")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Construction Vector"));
- }
- if (grf_future_status("Meo\94")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Machinery Vector"));
- }
- if (grf_future_status("Meo\9A")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Machinery for Tropic"));
- }
- if (grf_future_status("Meo\91")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Town Vector"));
- }
- if (grf_future_status("Meo\95")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "ECS Wood Vector"));
- }
- if (grf_future_status("EX\01\02")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Ex Citybuilder"));
- }
- if (grf_future_status("EX\01\03")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Ex Citybuilder"));
- }
- if (grf_future_status("EH\01\01")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Experts hard industries"));
- }
- if (grf_future_status("SK\05\01")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Luukland Citybuilder"));
- }
- if (grf_future_status("JS\0A\02")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Luukland Citybuilder"));
- }
- if (grf_future_status("JS\0A\03")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Luukland Citybuilder"));
- }
- if (grf_future_status("JS\0A\04")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Luukland Citybuilder"));
- }
- if (grf_future_status("JS\0A\05")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Luukland Citybuilder"));
- }
- if (grf_future_status("DD\06\01")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "UKRS Industries"));
- }
- if (grf_future_status("frMI")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Manual Industries"));
- }
- if (grf_future_status("AL\01\01")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Nearby Station Names"));
- }
- if (grf_future_status("Meo\81")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "New Cargos"));
- }
- if (grf_future_status("Meo\82")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "New Cargos Petrol + Tourists"));
- }
- if (grf_future_status("mb\08\00")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "NewCargos by Michael Blunck"));
- }
- if (grf_future_status("SZ\13D")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Oil well decrease neutralizer"));
- }
- if (grf_future_status("OG+3")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "OpenGFX+ Industries"));
- }
- if (grf_future_status("DD\06\02")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Pikka Basic Industries"));
- }
- if (grf_future_status("\52\53\01\01")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Improved Oil Rig Layout"));
- }
- if (grf_future_status("SLTU")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Tourist Set"));
- }
- if (grf_future_status("DD\06\03")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "UKRS Brick Chain"));
- }
- /* this one might not survive as artic-only
- if (climate == CLIMATE_ARCTIC) {
- INCOMPATIBLE_GRF("mb\07\00", "Alpine Climate");
- }
- */
- if (grf_future_status("MG\08\00", "\FF\FF\FF\00")) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Lumber Mill"));
- }
- if (grf_future_status("CACa")) {
- if (param["CACa", 1] != 0) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_PARAM_CITYSET));
- }
- }
- if (grf_future_status("CASa")) {
- if (param["CASa", 1] != 0) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_PARAM_CANSET));
- }
- }
- if (grf_future_status("VC\00\01")) {
- if (param["VC\00\01", 254] <= 17) {
- error(FATAL, string(STR_ERR_INCOMPATIBLE_SET_TTRS_VERSION));
- }
- }// parameters also referenced by action 14 stuff - likely to be found in header.pynml, unless it got moved
- // map_size is total number of tiles on the map
- // compute relative size of the map, compared to 256*256
- relative_map_size = map_size / (256 * 256);
- // number of industry closures is proportional to map size (maps <= 256x256 will have 1 cluster)
- industry_clusters = (relative_map_size / 2) + 1;
- param_max_coastal_distance = marine_industry_max_coastal_distance;
- if (marine_industry_max_coastal_distance == 0) {
- param_max_coastal_distance = 255;
- }
- // I want to specify the order of the economies in parameter menu without worrying about breaking savegames etc
- // but action 14 can't separate parameter value and position in menu for economies
- // so here we remap selected economy to actual numeric value
- // !! having tested, this doesn't actually prevent savegame breaking
- // !! as the selected value in the action 14 UI remains constant (thereby changing which economy is active)
- // !! there is zero chance of it being worthwhile to write a migration for existing savegames
- // !! therefore rethink this - whether it's worthwhile, or whether to just reset economy order every time when adding new economies
- if (economy_selection == 0) {
- economy = 0;
- }
- if (economy_selection == 1) {
- economy = 1;
- }
- if (economy_selection == 2) {
- economy = 4;
- }
- if (economy_selection == 3) {
- economy = 5;
- }
- if (economy_selection == 4) {
- economy = 3;
- }
- if (economy_selection == 5) {
- economy = 2;
- }
- // production bonuses are expressed as absolute % of base production in parameters menu,
- // but we need them as bonus amounts, to be added on top of base production, so net off 100
- primary_level1_bonus = primary_level1_produced_percent - 100;
- primary_level2_bonus = primary_level2_produced_percent - 100;
- // the tree for the food market is a climate-dependent special case, re-using base set sprites
- // it has to be handled here as a parameter, no elegant way to include it in the industry
- market_tree = 1639;
- if (climate == CLIMATE_ARCTIC) { market_tree = 1737; }
- if (climate == CLIMATE_TROPICAL) { market_tree = 1891; }
- market_tree_snow = 1793;template tmpl_ground_tile(x, y) {
- [x, y, 64, 31, -31, 0, ANIM]
- }
- template tmpl_ground_tile_filename(x, y, filename) {
- [x, y, 64, 31, -31, 0, ANIM, filename]
- }
- template tmpl_building_sprite(x, y, h, dy) {
- [x, y, 64, h, -31, dy, ANIM]
- }
- template tmpl_building_sprite_filename(x, y, h, dy, filename) {
- [x, y, 64, h, -31, dy, ANIM | NOCROP, filename]
- }cargotable {
- ACID,
- GLUE,
- BEER,
- ALUM,
- AMMO,
- AORE,
- BEAN,
- BDMT,
- CASS,
- CMNT,
- RFPR,
- CHLO,
- CLAY,
- COAL,
- JAVA,
- COKE,
- COPR,
- CORE,
- COTT,
- SOAP,
- DIAM,
- EOIL,
- POWR,
- ENSP,
- ETHL,
- BOOM,
- FMSP,
- FERT,
- FISH,
- FOOD,
- ENUM,
- BAKE,
- FRUT,
- FURN,
- VBOD,
- GOOD,
- GRAI,
- IORE,
- LVST,
- WDPR,
- KAOL,
- LIME,
- LYE_,
- MPTS,
- MAIL,
- MAIZ,
- MNO2,
- METL,
- MILK,
- NITR,
- NUTS,
- OIL_,
- MNSP,
- PAPR,
- PASS,
- PEAT,
- PETR,
- PHOS,
- IRON,
- PIPE,
- FICR,
- PLAS,
- POTA,
- TATO,
- PORE,
- QLME,
- RCYC,
- RUBR,
- SAND,
- SALT,
- SCMT,
- SLAG,
- SASH,
- STEL,
- GRVL,
- SULP,
- SUGR,
- SGBT,
- TEXT,
- VPTS,
- VEHI,
- WOOD,
- WOOL,
- ZINC,
- }
- disable_item(FEAT_CARGOS, 0, 29);
- disable_item(FEAT_CARGOS, 31, 31);
- spriteset(cargoicon_acid) {
- [10 + 20 * 4, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, acid_STEELTOWN, 26) {
- property {
- type_name: string(STR_CARGO_NAME_ACID);
- unit_name: string(STR_CARGO_NAME_ACID);
- type_abbreviation: string(STR_CID_ACID);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.5;
- station_list_colour: 184;
- cargo_payment_list_colour: 184;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID, CC_HAZARDOUS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_ACID);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 109;
- capacity_multiplier: 1;
- cargo_label: "ACID";
- number: 26;
- }
- graphics {
- cargoicon_acid;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, acid_EXTREME, 1) {
- property {
- type_name: string(STR_CARGO_NAME_ACID);
- unit_name: string(STR_CARGO_NAME_ACID);
- type_abbreviation: string(STR_CID_ACID);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.5;
- station_list_colour: 184;
- cargo_payment_list_colour: 184;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID, CC_HAZARDOUS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_ACID);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 109;
- capacity_multiplier: 1;
- cargo_label: "ACID";
- number: 1;
- }
- graphics {
- cargoicon_acid;
- }
- }
- }
- spriteset(cargoicon_adhesives) {
- [10 + 20 * 7, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, adhesives_EXTREME, 3) {
- property {
- type_name: string(STR_CARGO_NAME_ADHESIVES);
- unit_name: string(STR_CARGO_NAME_ADHESIVES);
- type_abbreviation: string(STR_CID_ADHESIVES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 145;
- cargo_payment_list_colour: 145;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS, CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_ADHESIVES);
- penalty_lowerbound: 16;
- single_penalty_length: 120;
- price_factor: 127;
- capacity_multiplier: 1;
- cargo_label: "GLUE";
- number: 3;
- }
- graphics {
- cargoicon_adhesives;
- }
- }
- }
- spriteset(cargoicon_alcohol) {
- [10 + 20 * 7, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, alcohol_BASIC_TEMPERATE, 1) {
- property {
- type_name: string(STR_CARGO_NAME_ALCOHOL);
- unit_name: string(STR_CARGO_NAME_ALCOHOL);
- type_abbreviation: string(STR_CID_ALCOHOL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.1;
- station_list_colour: 180;
- cargo_payment_list_colour: 180;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS, CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_ALCOHOL);
- penalty_lowerbound: 10;
- single_penalty_length: 128;
- price_factor: 160;
- capacity_multiplier: 1;
- cargo_label: "BEER";
- number: 1;
- }
- graphics {
- cargoicon_alcohol;
- }
- }
- }
- if (economy==1) {
- item(FEAT_CARGOS, alcohol_BASIC_ARCTIC, 8) {
- property {
- type_name: string(STR_CARGO_NAME_ALCOHOL);
- unit_name: string(STR_CARGO_NAME_ALCOHOL);
- type_abbreviation: string(STR_CID_ALCOHOL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.1;
- station_list_colour: 180;
- cargo_payment_list_colour: 180;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS, CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_ALCOHOL);
- penalty_lowerbound: 10;
- single_penalty_length: 128;
- price_factor: 160;
- capacity_multiplier: 1;
- cargo_label: "BEER";
- number: 8;
- }
- graphics {
- cargoicon_alcohol;
- }
- }
- }
- if (economy==4) {
- item(FEAT_CARGOS, alcohol_BASIC_TROPIC, 1) {
- property {
- type_name: string(STR_CARGO_NAME_ALCOHOL);
- unit_name: string(STR_CARGO_NAME_ALCOHOL);
- type_abbreviation: string(STR_CID_ALCOHOL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.1;
- station_list_colour: 180;
- cargo_payment_list_colour: 180;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS, CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_ALCOHOL);
- penalty_lowerbound: 10;
- single_penalty_length: 128;
- price_factor: 160;
- capacity_multiplier: 1;
- cargo_label: "BEER";
- number: 1;
- }
- graphics {
- cargoicon_alcohol;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, alcohol_MISTAH_KURTZ, 1) {
- property {
- type_name: string(STR_CARGO_NAME_ALCOHOL);
- unit_name: string(STR_CARGO_NAME_ALCOHOL);
- type_abbreviation: string(STR_CID_ALCOHOL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.1;
- station_list_colour: 180;
- cargo_payment_list_colour: 180;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS, CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_ALCOHOL);
- penalty_lowerbound: 10;
- single_penalty_length: 128;
- price_factor: 160;
- capacity_multiplier: 1;
- cargo_label: "BEER";
- number: 1;
- }
- graphics {
- cargoicon_alcohol;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, alcohol_EXTREME, 4) {
- property {
- type_name: string(STR_CARGO_NAME_ALCOHOL);
- unit_name: string(STR_CARGO_NAME_ALCOHOL);
- type_abbreviation: string(STR_CID_ALCOHOL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.1;
- station_list_colour: 180;
- cargo_payment_list_colour: 180;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS, CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_ALCOHOL);
- penalty_lowerbound: 10;
- single_penalty_length: 128;
- price_factor: 160;
- capacity_multiplier: 1;
- cargo_label: "BEER";
- number: 4;
- }
- graphics {
- cargoicon_alcohol;
- }
- }
- }
- spriteset(cargoicon_aluminium) {
- [10 + 20 * 10, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- spriteset(cargoicon_ammonia) {
- [10 + 20 * 4, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, ammonia_EXTREME, 6) {
- property {
- type_name: string(STR_CARGO_NAME_AMMONIA);
- unit_name: string(STR_CARGO_NAME_AMMONIA);
- type_abbreviation: string(STR_CID_AMMONIA);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 184;
- cargo_payment_list_colour: 184;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID, CC_HAZARDOUS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_AMMONIA);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 109;
- capacity_multiplier: 1;
- cargo_label: "AMMO";
- number: 6;
- }
- graphics {
- cargoicon_ammonia;
- }
- }
- }
- spriteset(cargoicon_bauxite) {
- [10 + 20 * 13, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- spriteset(cargoicon_beans) {
- [10 + 20 * 6, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==4) {
- item(FEAT_CARGOS, beans_BASIC_TROPIC, 3) {
- property {
- type_name: string(STR_CARGO_NAME_BEANS);
- unit_name: string(STR_CARGO_NAME_BEANS);
- type_abbreviation: string(STR_CID_BEANS);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 92;
- cargo_payment_list_colour: 92;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: string(STR_CARGO_UNIT_BEANS);
- penalty_lowerbound: 4;
- single_penalty_length: 40;
- price_factor: 115;
- capacity_multiplier: 1;
- cargo_label: "BEAN";
- number: 3;
- }
- graphics {
- cargoicon_beans;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, beans_EXTREME, 7) {
- property {
- type_name: string(STR_CARGO_NAME_BEANS);
- unit_name: string(STR_CARGO_NAME_BEANS);
- type_abbreviation: string(STR_CID_BEANS);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 92;
- cargo_payment_list_colour: 92;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: string(STR_CARGO_UNIT_BEANS);
- penalty_lowerbound: 4;
- single_penalty_length: 40;
- price_factor: 115;
- capacity_multiplier: 1;
- cargo_label: "BEAN";
- number: 7;
- }
- graphics {
- cargoicon_beans;
- }
- }
- }
- spriteset(cargoicon_building_materials) {
- [10 + 20 * 1, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==3) {
- item(FEAT_CARGOS, building_materials_MISTAH_KURTZ, 3) {
- property {
- type_name: string(STR_CARGO_NAME_BUILDING_MATERIALS);
- unit_name: string(STR_CARGO_NAME_BUILDING_MATERIALS);
- type_abbreviation: string(STR_CID_BUILDING_MATERIALS);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 44;
- cargo_payment_list_colour: 44;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS, CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_BUILDING_MATERIALS);
- penalty_lowerbound: 12;
- single_penalty_length: 255;
- price_factor: 146;
- capacity_multiplier: 1;
- cargo_label: "BDMT";
- number: 3;
- }
- graphics {
- cargoicon_building_materials;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, building_materials_EXTREME, 8) {
- property {
- type_name: string(STR_CARGO_NAME_BUILDING_MATERIALS);
- unit_name: string(STR_CARGO_NAME_BUILDING_MATERIALS);
- type_abbreviation: string(STR_CID_BUILDING_MATERIALS);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 44;
- cargo_payment_list_colour: 44;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS, CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_BUILDING_MATERIALS);
- penalty_lowerbound: 12;
- single_penalty_length: 255;
- price_factor: 146;
- capacity_multiplier: 1;
- cargo_label: "BDMT";
- number: 8;
- }
- graphics {
- cargoicon_building_materials;
- }
- }
- }
- spriteset(cargoicon_cassava) {
- [10 + 20 * 11, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==3) {
- item(FEAT_CARGOS, cassava_MISTAH_KURTZ, 4) {
- property {
- type_name: string(STR_CARGO_NAME_CASSAVA);
- unit_name: string(STR_CARGO_NAME_CASSAVA);
- type_abbreviation: string(STR_CID_CASSAVA);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 87;
- cargo_payment_list_colour: 87;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: string(STR_CARGO_UNIT_CASSAVA);
- penalty_lowerbound: 4;
- single_penalty_length: 40;
- price_factor: 101;
- capacity_multiplier: 1;
- cargo_label: "CASS";
- number: 4;
- }
- graphics {
- cargoicon_cassava;
- }
- }
- }
- spriteset(cargoicon_cement) {
- [10 + 20 * 8, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, cement_STEELTOWN, 1) {
- property {
- type_name: string(STR_CARGO_NAME_CEMENT);
- unit_name: string(STR_CARGO_NAME_CEMENT);
- type_abbreviation: string(STR_CID_CEMENT);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 21;
- cargo_payment_list_colour: 21;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_CEMENT);
- penalty_lowerbound: 18;
- single_penalty_length: 255;
- price_factor: 144;
- capacity_multiplier: 1;
- cargo_label: "CMNT";
- number: 1;
- }
- graphics {
- cargoicon_cement;
- }
- }
- }
- spriteset(cargoicon_chemicals) {
- [10 + 20 * 10, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, chemicals_BASIC_TEMPERATE, 3) {
- property {
- type_name: string(STR_CARGO_NAME_CHEMICALS);
- unit_name: string(STR_CARGO_NAME_CHEMICALS);
- type_abbreviation: string(STR_CID_CHEMICALS);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.2;
- station_list_colour: 177;
- cargo_payment_list_colour: 177;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_CHEMICALS);
- penalty_lowerbound: 20;
- single_penalty_length: 255;
- price_factor: 117;
- capacity_multiplier: 1;
- cargo_label: "RFPR";
- number: 3;
- }
- graphics {
- cargoicon_chemicals;
- }
- }
- }
- if (economy==4) {
- item(FEAT_CARGOS, chemicals_BASIC_TROPIC, 4) {
- property {
- type_name: string(STR_CARGO_NAME_CHEMICALS);
- unit_name: string(STR_CARGO_NAME_CHEMICALS);
- type_abbreviation: string(STR_CID_CHEMICALS);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.2;
- station_list_colour: 177;
- cargo_payment_list_colour: 177;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_CHEMICALS);
- penalty_lowerbound: 20;
- single_penalty_length: 255;
- price_factor: 117;
- capacity_multiplier: 1;
- cargo_label: "RFPR";
- number: 4;
- }
- graphics {
- cargoicon_chemicals;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, chemicals_MISTAH_KURTZ, 6) {
- property {
- type_name: string(STR_CARGO_NAME_CHEMICALS);
- unit_name: string(STR_CARGO_NAME_CHEMICALS);
- type_abbreviation: string(STR_CID_CHEMICALS);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.2;
- station_list_colour: 177;
- cargo_payment_list_colour: 177;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_CHEMICALS);
- penalty_lowerbound: 20;
- single_penalty_length: 255;
- price_factor: 117;
- capacity_multiplier: 1;
- cargo_label: "RFPR";
- number: 6;
- }
- graphics {
- cargoicon_chemicals;
- }
- }
- }
- spriteset(cargoicon_chlorine) {
- [10 + 20 * 2, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, chlorine_STEELTOWN, 27) {
- property {
- type_name: string(STR_CARGO_NAME_CHLORINE);
- unit_name: string(STR_CARGO_NAME_CHLORINE);
- type_abbreviation: string(STR_CID_CHLORINE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 95;
- cargo_payment_list_colour: 95;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID, CC_HAZARDOUS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_CHLORINE);
- penalty_lowerbound: 12;
- single_penalty_length: 255;
- price_factor: 83;
- capacity_multiplier: 1;
- cargo_label: "CHLO";
- number: 27;
- }
- graphics {
- cargoicon_chlorine;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, chlorine_EXTREME, 9) {
- property {
- type_name: string(STR_CARGO_NAME_CHLORINE);
- unit_name: string(STR_CARGO_NAME_CHLORINE);
- type_abbreviation: string(STR_CID_CHLORINE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 95;
- cargo_payment_list_colour: 95;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID, CC_HAZARDOUS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_CHLORINE);
- penalty_lowerbound: 12;
- single_penalty_length: 255;
- price_factor: 83;
- capacity_multiplier: 1;
- cargo_label: "CHLO";
- number: 9;
- }
- graphics {
- cargoicon_chlorine;
- }
- }
- }
- spriteset(cargoicon_clay) {
- [10 + 20 * 9, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, clay_BASIC_TEMPERATE, 4) {
- property {
- type_name: string(STR_CARGO_NAME_CLAY);
- unit_name: string(STR_CARGO_NAME_CLAY);
- type_abbreviation: string(STR_CID_CLAY);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 46;
- cargo_payment_list_colour: 46;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_CLAY);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 54;
- capacity_multiplier: 1;
- cargo_label: "CLAY";
- number: 4;
- }
- graphics {
- cargoicon_clay;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, clay_MISTAH_KURTZ, 7) {
- property {
- type_name: string(STR_CARGO_NAME_CLAY);
- unit_name: string(STR_CARGO_NAME_CLAY);
- type_abbreviation: string(STR_CID_CLAY);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 46;
- cargo_payment_list_colour: 46;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_CLAY);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 54;
- capacity_multiplier: 1;
- cargo_label: "CLAY";
- number: 7;
- }
- graphics {
- cargoicon_clay;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, clay_EXTREME, 10) {
- property {
- type_name: string(STR_CARGO_NAME_CLAY);
- unit_name: string(STR_CARGO_NAME_CLAY);
- type_abbreviation: string(STR_CID_CLAY);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 46;
- cargo_payment_list_colour: 46;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_CLAY);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 54;
- capacity_multiplier: 1;
- cargo_label: "CLAY";
- number: 10;
- }
- graphics {
- cargoicon_clay;
- }
- }
- }
- spriteset(cargoicon_coal) {
- [10 + 20 * 1, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, coal_BASIC_TEMPERATE, 6) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_COAL;
- unit_name: TTD_STR_CARGO_SINGULAR_COAL;
- type_abbreviation: TTD_STR_ABBREV_COAL;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 1;
- cargo_payment_list_colour: 1;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_COAL;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 56;
- capacity_multiplier: 1;
- cargo_label: "COAL";
- number: 6;
- }
- graphics {
- cargoicon_coal;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, coal_STEELTOWN, 13) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_COAL;
- unit_name: TTD_STR_CARGO_SINGULAR_COAL;
- type_abbreviation: TTD_STR_ABBREV_COAL;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 1;
- cargo_payment_list_colour: 1;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_COAL;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 56;
- capacity_multiplier: 1;
- cargo_label: "COAL";
- number: 13;
- }
- graphics {
- cargoicon_coal;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, coal_EXTREME, 12) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_COAL;
- unit_name: TTD_STR_CARGO_SINGULAR_COAL;
- type_abbreviation: TTD_STR_ABBREV_COAL;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 1;
- cargo_payment_list_colour: 1;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_COAL;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 56;
- capacity_multiplier: 1;
- cargo_label: "COAL";
- number: 12;
- }
- graphics {
- cargoicon_coal;
- }
- }
- }
- spriteset(cargoicon_coffee) {
- [10 + 20 * 4, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==4) {
- item(FEAT_CARGOS, coffee_BASIC_TROPIC, 6) {
- property {
- type_name: string(STR_CARGO_NAME_COFFEE);
- unit_name: string(STR_CARGO_NAME_COFFEE);
- type_abbreviation: string(STR_CID_COFFEE);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.25;
- station_list_colour: 71;
- cargo_payment_list_colour: 71;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS, CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_COFFEE);
- penalty_lowerbound: 0;
- single_penalty_length: 26;
- price_factor: 150;
- capacity_multiplier: 1;
- cargo_label: "JAVA";
- number: 6;
- }
- graphics {
- cargoicon_coffee;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, coffee_MISTAH_KURTZ, 8) {
- property {
- type_name: string(STR_CARGO_NAME_COFFEE);
- unit_name: string(STR_CARGO_NAME_COFFEE);
- type_abbreviation: string(STR_CID_COFFEE);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.25;
- station_list_colour: 71;
- cargo_payment_list_colour: 71;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS, CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_COFFEE);
- penalty_lowerbound: 0;
- single_penalty_length: 26;
- price_factor: 150;
- capacity_multiplier: 1;
- cargo_label: "JAVA";
- number: 8;
- }
- graphics {
- cargoicon_coffee;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, coffee_EXTREME, 13) {
- property {
- type_name: string(STR_CARGO_NAME_COFFEE);
- unit_name: string(STR_CARGO_NAME_COFFEE);
- type_abbreviation: string(STR_CID_COFFEE);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.25;
- station_list_colour: 71;
- cargo_payment_list_colour: 71;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS, CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_COFFEE);
- penalty_lowerbound: 0;
- single_penalty_length: 26;
- price_factor: 150;
- capacity_multiplier: 1;
- cargo_label: "JAVA";
- number: 13;
- }
- graphics {
- cargoicon_coffee;
- }
- }
- }
- spriteset(cargoicon_coke) {
- [10 + 20 * 1, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, coke_STEELTOWN, 16) {
- property {
- type_name: string(STR_CARGO_NAME_COKE);
- unit_name: string(STR_CARGO_NAME_COKE);
- type_abbreviation: string(STR_CID_COKE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 2;
- cargo_payment_list_colour: 2;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: string(STR_CARGO_UNIT_COKE);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 77;
- capacity_multiplier: 1;
- cargo_label: "COKE";
- number: 16;
- }
- graphics {
- cargoicon_coke;
- }
- }
- }
- spriteset(cargoicon_copper) {
- [10 + 20 * 8, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==4) {
- item(FEAT_CARGOS, copper_BASIC_TROPIC, 7) {
- property {
- type_name: string(STR_CARGO_NAME_COPPER);
- unit_name: string(STR_CARGO_NAME_COPPER);
- type_abbreviation: string(STR_CID_COPPER);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 192;
- cargo_payment_list_colour: 192;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_COPPER);
- penalty_lowerbound: 7;
- single_penalty_length: 255;
- price_factor: 142;
- capacity_multiplier: 1;
- cargo_label: "COPR";
- number: 7;
- }
- graphics {
- cargoicon_copper;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, copper_STEELTOWN, 22) {
- property {
- type_name: string(STR_CARGO_NAME_COPPER);
- unit_name: string(STR_CARGO_NAME_COPPER);
- type_abbreviation: string(STR_CID_COPPER);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 192;
- cargo_payment_list_colour: 192;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_COPPER);
- penalty_lowerbound: 7;
- single_penalty_length: 255;
- price_factor: 142;
- capacity_multiplier: 1;
- cargo_label: "COPR";
- number: 22;
- }
- graphics {
- cargoicon_copper;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, copper_MISTAH_KURTZ, 9) {
- property {
- type_name: string(STR_CARGO_NAME_COPPER);
- unit_name: string(STR_CARGO_NAME_COPPER);
- type_abbreviation: string(STR_CID_COPPER);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 192;
- cargo_payment_list_colour: 192;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_COPPER);
- penalty_lowerbound: 7;
- single_penalty_length: 255;
- price_factor: 142;
- capacity_multiplier: 1;
- cargo_label: "COPR";
- number: 9;
- }
- graphics {
- cargoicon_copper;
- }
- }
- }
- spriteset(cargoicon_copper_ore) {
- [10 + 20 * 1, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==4) {
- item(FEAT_CARGOS, copper_ore_BASIC_TROPIC, 8) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_COPPER_ORE;
- unit_name: TTD_STR_CARGO_SINGULAR_COPPER_ORE;
- type_abbreviation: TTD_STR_ABBREV_COPPER_ORE;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 99;
- cargo_payment_list_colour: 99;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_COPPER_ORE;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 62;
- capacity_multiplier: 1;
- cargo_label: "CORE";
- number: 8;
- }
- graphics {
- cargoicon_copper_ore;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, copper_ore_MISTAH_KURTZ, 10) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_COPPER_ORE;
- unit_name: TTD_STR_CARGO_SINGULAR_COPPER_ORE;
- type_abbreviation: TTD_STR_ABBREV_COPPER_ORE;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 99;
- cargo_payment_list_colour: 99;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_COPPER_ORE;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 62;
- capacity_multiplier: 1;
- cargo_label: "CORE";
- number: 10;
- }
- graphics {
- cargoicon_copper_ore;
- }
- }
- }
- spriteset(cargoicon_cotton) {
- [10 + 20 * 3, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, cotton_EXTREME, 14) {
- property {
- type_name: string(STR_CARGO_NAME_COTTON);
- unit_name: string(STR_CARGO_NAME_COTTON);
- type_abbreviation: string(STR_CID_COTTON);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.2;
- station_list_colour: 12;
- cargo_payment_list_colour: 12;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_COTTON);
- penalty_lowerbound: 10;
- single_penalty_length: 36;
- price_factor: 107;
- capacity_multiplier: 1;
- cargo_label: "COTT";
- number: 14;
- }
- graphics {
- cargoicon_cotton;
- }
- }
- }
- spriteset(cargoicon_detergents) {
- [10 + 20 * 12, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, detergents_EXTREME, 15) {
- property {
- type_name: string(STR_CARGO_NAME_DETERGENTS);
- unit_name: string(STR_CARGO_NAME_DETERGENTS);
- type_abbreviation: string(STR_CID_DETERGENTS);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 187;
- cargo_payment_list_colour: 187;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_DETERGENTS);
- penalty_lowerbound: 12;
- single_penalty_length: 255;
- price_factor: 82;
- capacity_multiplier: 1;
- cargo_label: "SOAP";
- number: 15;
- }
- graphics {
- cargoicon_detergents;
- }
- }
- }
- spriteset(cargoicon_diamonds) {
- [10 + 20 * 3, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==3) {
- item(FEAT_CARGOS, diamonds_MISTAH_KURTZ, 12) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_DIAMONDS;
- unit_name: TTD_STR_CARGO_SINGULAR_DIAMOND;
- type_abbreviation: TTD_STR_ABBREV_DIAMONDS;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 202;
- cargo_payment_list_colour: 202;
- is_freight: 1;
- cargo_classes: bitmask(CC_ARMOURED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_DIAMONDS;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 180;
- capacity_multiplier: 1;
- cargo_label: "DIAM";
- number: 12;
- }
- graphics {
- cargoicon_diamonds;
- }
- }
- }
- spriteset(cargoicon_edible_oil) {
- [10 + 20 * 0, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==3) {
- item(FEAT_CARGOS, edible_oil_MISTAH_KURTZ, 13) {
- property {
- type_name: string(STR_CARGO_NAME_EDIBLE_OIL);
- unit_name: string(STR_CARGO_NAME_EDIBLE_OIL);
- type_abbreviation: string(STR_CID_EDIBLE_OIL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 162;
- cargo_payment_list_colour: 162;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS, CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_EDIBLE_OIL);
- penalty_lowerbound: 20;
- single_penalty_length: 128;
- price_factor: 122;
- capacity_multiplier: 1;
- cargo_label: "EOIL";
- number: 13;
- }
- graphics {
- cargoicon_edible_oil;
- }
- }
- }
- spriteset(cargoicon_electrical_machines) {
- [10 + 20 * 5, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, electrical_machines_STEELTOWN, 28) {
- property {
- type_name: string(STR_CARGO_NAME_ELECTRICAL_MACHINES);
- unit_name: string(STR_CARGO_NAME_ELECTRICAL_MACHINES);
- type_abbreviation: string(STR_CID_ELECTRICAL_MACHINES);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 205;
- cargo_payment_list_colour: 205;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_ELECTRICAL_MACHINES);
- penalty_lowerbound: 7;
- single_penalty_length: 255;
- price_factor: 172;
- capacity_multiplier: 1;
- cargo_label: "POWR";
- number: 28;
- }
- graphics {
- cargoicon_electrical_machines;
- }
- }
- }
- spriteset(cargoicon_engineering_supplies) {
- [10 + 20 * 11, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, engineering_supplies_BASIC_TEMPERATE, 7) {
- property {
- type_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- type_abbreviation: string(STR_CID_ENGINEERING_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 79;
- cargo_payment_list_colour: 79;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_ENGINEERING_SUPPLIES);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 170;
- capacity_multiplier: 1;
- cargo_label: "ENSP";
- number: 7;
- }
- graphics {
- cargoicon_engineering_supplies;
- }
- }
- }
- if (economy==1) {
- item(FEAT_CARGOS, engineering_supplies_BASIC_ARCTIC, 3) {
- property {
- type_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- type_abbreviation: string(STR_CID_ENGINEERING_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 79;
- cargo_payment_list_colour: 79;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_ENGINEERING_SUPPLIES);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 170;
- capacity_multiplier: 1;
- cargo_label: "ENSP";
- number: 3;
- }
- graphics {
- cargoicon_engineering_supplies;
- }
- }
- }
- if (economy==4) {
- item(FEAT_CARGOS, engineering_supplies_BASIC_TROPIC, 9) {
- property {
- type_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- type_abbreviation: string(STR_CID_ENGINEERING_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 79;
- cargo_payment_list_colour: 79;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_ENGINEERING_SUPPLIES);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 170;
- capacity_multiplier: 1;
- cargo_label: "ENSP";
- number: 9;
- }
- graphics {
- cargoicon_engineering_supplies;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, engineering_supplies_STEELTOWN, 4) {
- property {
- type_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- type_abbreviation: string(STR_CID_ENGINEERING_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 79;
- cargo_payment_list_colour: 79;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_ENGINEERING_SUPPLIES);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 170;
- capacity_multiplier: 1;
- cargo_label: "ENSP";
- number: 4;
- }
- graphics {
- cargoicon_engineering_supplies;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, engineering_supplies_MISTAH_KURTZ, 14) {
- property {
- type_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- type_abbreviation: string(STR_CID_ENGINEERING_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 79;
- cargo_payment_list_colour: 79;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_ENGINEERING_SUPPLIES);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 170;
- capacity_multiplier: 1;
- cargo_label: "ENSP";
- number: 14;
- }
- graphics {
- cargoicon_engineering_supplies;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, engineering_supplies_EXTREME, 16) {
- property {
- type_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_ENGINEERING_SUPPLIES);
- type_abbreviation: string(STR_CID_ENGINEERING_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 79;
- cargo_payment_list_colour: 79;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_ENGINEERING_SUPPLIES);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 170;
- capacity_multiplier: 1;
- cargo_label: "ENSP";
- number: 16;
- }
- graphics {
- cargoicon_engineering_supplies;
- }
- }
- }
- spriteset(cargoicon_ethylene) {
- [10 + 20 * 10, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, ethylene_EXTREME, 17) {
- property {
- type_name: string(STR_CARGO_NAME_ETHYLENE);
- unit_name: string(STR_CARGO_NAME_ETHYLENE);
- type_abbreviation: string(STR_CID_ETHYLENE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 177;
- cargo_payment_list_colour: 177;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_ETHYLENE);
- penalty_lowerbound: 20;
- single_penalty_length: 255;
- price_factor: 117;
- capacity_multiplier: 1;
- cargo_label: "ETHL";
- number: 17;
- }
- graphics {
- cargoicon_ethylene;
- }
- }
- }
- spriteset(cargoicon_explosives) {
- [10 + 20 * 2, 10 + 20 * 3, 10, 10, 0, 0, ANIM, "src/graphics/other/cargoicons.png"]
- }
- if (economy==1) {
- item(FEAT_CARGOS, explosives_BASIC_ARCTIC, 12) {
- property {
- type_name: string(STR_CARGO_NAME_EXPLOSIVES);
- unit_name: string(STR_CARGO_NAME_EXPLOSIVES);
- type_abbreviation: string(STR_CID_EXPLOSIVES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.25;
- station_list_colour: 182;
- cargo_payment_list_colour: 182;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_EXPLOSIVES);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 154;
- capacity_multiplier: 1;
- cargo_label: "BOOM";
- number: 12;
- }
- graphics {
- cargoicon_explosives;
- }
- }
- }
- spriteset(cargoicon_farm_supplies) {
- [10 + 20 * 8, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, farm_supplies_BASIC_TEMPERATE, 8) {
- property {
- type_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- type_abbreviation: string(STR_CID_FARM_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 208;
- cargo_payment_list_colour: 208;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_FMSP);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 164;
- capacity_multiplier: 1;
- cargo_label: "FMSP";
- number: 8;
- }
- graphics {
- cargoicon_farm_supplies;
- }
- }
- }
- if (economy==1) {
- item(FEAT_CARGOS, farm_supplies_BASIC_ARCTIC, 4) {
- property {
- type_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- type_abbreviation: string(STR_CID_FARM_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 208;
- cargo_payment_list_colour: 208;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_FMSP);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 164;
- capacity_multiplier: 1;
- cargo_label: "FMSP";
- number: 4;
- }
- graphics {
- cargoicon_farm_supplies;
- }
- }
- }
- if (economy==4) {
- item(FEAT_CARGOS, farm_supplies_BASIC_TROPIC, 10) {
- property {
- type_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- type_abbreviation: string(STR_CID_FARM_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 208;
- cargo_payment_list_colour: 208;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_FMSP);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 164;
- capacity_multiplier: 1;
- cargo_label: "FMSP";
- number: 10;
- }
- graphics {
- cargoicon_farm_supplies;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, farm_supplies_STEELTOWN, 6) {
- property {
- type_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- type_abbreviation: string(STR_CID_FARM_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 208;
- cargo_payment_list_colour: 208;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_FMSP);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 164;
- capacity_multiplier: 1;
- cargo_label: "FMSP";
- number: 6;
- }
- graphics {
- cargoicon_farm_supplies;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, farm_supplies_MISTAH_KURTZ, 15) {
- property {
- type_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- type_abbreviation: string(STR_CID_FARM_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 208;
- cargo_payment_list_colour: 208;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_FMSP);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 164;
- capacity_multiplier: 1;
- cargo_label: "FMSP";
- number: 15;
- }
- graphics {
- cargoicon_farm_supplies;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, farm_supplies_EXTREME, 18) {
- property {
- type_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- unit_name: string(STR_CARGO_NAME_FARM_SUPPLIES);
- type_abbreviation: string(STR_CID_FARM_SUPPLIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 208;
- cargo_payment_list_colour: 208;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_FMSP);
- penalty_lowerbound: 6;
- single_penalty_length: 36;
- price_factor: 164;
- capacity_multiplier: 1;
- cargo_label: "FMSP";
- number: 18;
- }
- graphics {
- cargoicon_farm_supplies;
- }
- }
- }
- spriteset(cargoicon_fertiliser) {
- [10 + 20 * 3, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==1) {
- item(FEAT_CARGOS, fertiliser_BASIC_ARCTIC, 16) {
- property {
- type_name: string(STR_CARGO_NAME_FERTILISER);
- unit_name: string(STR_CARGO_NAME_FERTILISER);
- type_abbreviation: string(STR_CID_FERTILISER);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 103;
- cargo_payment_list_colour: 103;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS, CC_BULK, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_FERTILISER);
- penalty_lowerbound: 20;
- single_penalty_length: 36;
- price_factor: 128;
- capacity_multiplier: 1;
- cargo_label: "FERT";
- number: 16;
- }
- graphics {
- cargoicon_fertiliser;
- }
- }
- }
- spriteset(cargoicon_fish) {
- [10 + 20 * 15, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, fish_BASIC_TEMPERATE, 9) {
- property {
- type_name: string(STR_CARGO_NAME_FISH);
- unit_name: string(STR_CARGO_NAME_FISH);
- type_abbreviation: string(STR_CID_FISH);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 149;
- cargo_payment_list_colour: 149;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_REFRIGERATED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_FISH);
- penalty_lowerbound: 0;
- single_penalty_length: 18;
- price_factor: 148;
- capacity_multiplier: 1;
- cargo_label: "FISH";
- number: 9;
- }
- graphics {
- cargoicon_fish;
- }
- }
- }
- if (economy==1) {
- item(FEAT_CARGOS, fish_BASIC_ARCTIC, 14) {
- property {
- type_name: string(STR_CARGO_NAME_FISH);
- unit_name: string(STR_CARGO_NAME_FISH);
- type_abbreviation: string(STR_CID_FISH);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 149;
- cargo_payment_list_colour: 149;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_REFRIGERATED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_FISH);
- penalty_lowerbound: 0;
- single_penalty_length: 18;
- price_factor: 148;
- capacity_multiplier: 1;
- cargo_label: "FISH";
- number: 14;
- }
- graphics {
- cargoicon_fish;
- }
- }
- }
- if (economy==4) {
- item(FEAT_CARGOS, fish_BASIC_TROPIC, 12) {
- property {
- type_name: string(STR_CARGO_NAME_FISH);
- unit_name: string(STR_CARGO_NAME_FISH);
- type_abbreviation: string(STR_CID_FISH);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 149;
- cargo_payment_list_colour: 149;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_REFRIGERATED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_FISH);
- penalty_lowerbound: 0;
- single_penalty_length: 18;
- price_factor: 148;
- capacity_multiplier: 1;
- cargo_label: "FISH";
- number: 12;
- }
- graphics {
- cargoicon_fish;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, fish_EXTREME, 19) {
- property {
- type_name: string(STR_CARGO_NAME_FISH);
- unit_name: string(STR_CARGO_NAME_FISH);
- type_abbreviation: string(STR_CID_FISH);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 149;
- cargo_payment_list_colour: 149;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_REFRIGERATED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_FISH);
- penalty_lowerbound: 0;
- single_penalty_length: 18;
- price_factor: 148;
- capacity_multiplier: 1;
- cargo_label: "FISH";
- number: 19;
- }
- graphics {
- cargoicon_fish;
- }
- }
- }
- spriteset(cargoicon_food) {
- [10 + 20 * 12, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, food_BASIC_TEMPERATE, 11) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_FOOD;
- unit_name: TTD_STR_CARGO_SINGULAR_FOOD;
- type_abbreviation: TTD_STR_ABBREV_FOOD;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 48;
- cargo_payment_list_colour: 48;
- is_freight: 1;
- cargo_classes: bitmask(CC_REFRIGERATED, CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_FOOD;
- town_growth_multiplier: 1.0;
- units_of_cargo: 94;
- items_of_cargo: TTD_STR_QUANTITY_FOOD;
- penalty_lowerbound: 0;
- single_penalty_length: 24;
- price_factor: 158;
- capacity_multiplier: 1;
- cargo_label: "FOOD";
- number: 11;
- }
- graphics {
- cargoicon_food;
- }
- }
- }
- if (economy==1) {
- item(FEAT_CARGOS, food_BASIC_ARCTIC, 11) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_FOOD;
- unit_name: TTD_STR_CARGO_SINGULAR_FOOD;
- type_abbreviation: TTD_STR_ABBREV_FOOD;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 48;
- cargo_payment_list_colour: 48;
- is_freight: 1;
- cargo_classes: bitmask(CC_REFRIGERATED, CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_FOOD;
- town_growth_multiplier: 1.0;
- units_of_cargo: 94;
- items_of_cargo: TTD_STR_QUANTITY_FOOD;
- penalty_lowerbound: 0;
- single_penalty_length: 24;
- price_factor: 158;
- capacity_multiplier: 1;
- cargo_label: "FOOD";
- number: 11;
- }
- graphics {
- cargoicon_food;
- }
- }
- }
- if (economy==4) {
- item(FEAT_CARGOS, food_BASIC_TROPIC, 11) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_FOOD;
- unit_name: TTD_STR_CARGO_SINGULAR_FOOD;
- type_abbreviation: TTD_STR_ABBREV_FOOD;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 48;
- cargo_payment_list_colour: 48;
- is_freight: 1;
- cargo_classes: bitmask(CC_REFRIGERATED, CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_FOOD;
- town_growth_multiplier: 1.0;
- units_of_cargo: 94;
- items_of_cargo: TTD_STR_QUANTITY_FOOD;
- penalty_lowerbound: 0;
- single_penalty_length: 24;
- price_factor: 158;
- capacity_multiplier: 1;
- cargo_label: "FOOD";
- number: 11;
- }
- graphics {
- cargoicon_food;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, food_STEELTOWN, 11) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_FOOD;
- unit_name: TTD_STR_CARGO_SINGULAR_FOOD;
- type_abbreviation: TTD_STR_ABBREV_FOOD;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 48;
- cargo_payment_list_colour: 48;
- is_freight: 1;
- cargo_classes: bitmask(CC_REFRIGERATED, CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_FOOD;
- town_growth_multiplier: 1.0;
- units_of_cargo: 94;
- items_of_cargo: TTD_STR_QUANTITY_FOOD;
- penalty_lowerbound: 0;
- single_penalty_length: 24;
- price_factor: 158;
- capacity_multiplier: 1;
- cargo_label: "FOOD";
- number: 11;
- }
- graphics {
- cargoicon_food;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, food_MISTAH_KURTZ, 11) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_FOOD;
- unit_name: TTD_STR_CARGO_SINGULAR_FOOD;
- type_abbreviation: TTD_STR_ABBREV_FOOD;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 48;
- cargo_payment_list_colour: 48;
- is_freight: 1;
- cargo_classes: bitmask(CC_REFRIGERATED, CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_FOOD;
- town_growth_multiplier: 1.0;
- units_of_cargo: 94;
- items_of_cargo: TTD_STR_QUANTITY_FOOD;
- penalty_lowerbound: 0;
- single_penalty_length: 24;
- price_factor: 158;
- capacity_multiplier: 1;
- cargo_label: "FOOD";
- number: 11;
- }
- graphics {
- cargoicon_food;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, food_EXTREME, 11) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_FOOD;
- unit_name: TTD_STR_CARGO_SINGULAR_FOOD;
- type_abbreviation: TTD_STR_ABBREV_FOOD;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 48;
- cargo_payment_list_colour: 48;
- is_freight: 1;
- cargo_classes: bitmask(CC_REFRIGERATED, CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_FOOD;
- town_growth_multiplier: 1.0;
- units_of_cargo: 94;
- items_of_cargo: TTD_STR_QUANTITY_FOOD;
- penalty_lowerbound: 0;
- single_penalty_length: 24;
- price_factor: 158;
- capacity_multiplier: 1;
- cargo_label: "FOOD";
- number: 11;
- }
- graphics {
- cargoicon_food;
- }
- }
- }
- spriteset(cargoicon_food_additives) {
- [10 + 20 * 12, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, food_additives_EXTREME, 21) {
- property {
- type_name: string(STR_CARGO_NAME_FOOD_ADDITIVES);
- unit_name: string(STR_CARGO_NAME_FOOD_ADDITIVES);
- type_abbreviation: string(STR_CID_FOOD_ADDITIVES);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 48;
- cargo_payment_list_colour: 48;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_FOOD;
- town_growth_multiplier: 1.0;
- units_of_cargo: 94;
- items_of_cargo: string(STR_CARGO_UNIT_FOOD_ADDITIVES);
- penalty_lowerbound: 0;
- single_penalty_length: 24;
- price_factor: 158;
- capacity_multiplier: 1;
- cargo_label: "ENUM";
- number: 21;
- }
- graphics {
- cargoicon_food_additives;
- }
- }
- }
- spriteset(cargoicon_flour) {
- [10 + 20 * 12, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, flour_EXTREME, 20) {
- property {
- type_name: string(STR_CARGO_NAME_FLOUR);
- unit_name: string(STR_CARGO_NAME_FLOUR);
- type_abbreviation: string(STR_CID_FLOUR);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 48;
- cargo_payment_list_colour: 48;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_FOOD;
- town_growth_multiplier: 1.0;
- units_of_cargo: 94;
- items_of_cargo: string(STR_CARGO_UNIT_FLOUR);
- penalty_lowerbound: 0;
- single_penalty_length: 24;
- price_factor: 158;
- capacity_multiplier: 1;
- cargo_label: "BAKE";
- number: 20;
- }
- graphics {
- cargoicon_flour;
- }
- }
- }
- spriteset(cargoicon_fruits) {
- [10 + 20 * 14, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, fruits_BASIC_TEMPERATE, 10) {
- property {
- type_name: string(STR_CARGO_NAME_FRUITS);
- unit_name: string(STR_CARGO_NAME_FRUITS);
- type_abbreviation: TTD_STR_ABBREV_FRUIT;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 84;
- cargo_payment_list_colour: 84;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS, CC_REFRIGERATED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_FRUITS);
- penalty_lowerbound: 0;
- single_penalty_length: 26;
- price_factor: 120;
- capacity_multiplier: 1;
- cargo_label: "FRUT";
- number: 10;
- }
- graphics {
- cargoicon_fruits;
- }
- }
- }
- if (economy==4) {
- item(FEAT_CARGOS, fruits_BASIC_TROPIC, 13) {
- property {
- type_name: string(STR_CARGO_NAME_FRUITS);
- unit_name: string(STR_CARGO_NAME_FRUITS);
- type_abbreviation: TTD_STR_ABBREV_FRUIT;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 84;
- cargo_payment_list_colour: 84;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS, CC_REFRIGERATED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_FRUITS);
- penalty_lowerbound: 0;
- single_penalty_length: 26;
- price_factor: 120;
- capacity_multiplier: 1;
- cargo_label: "FRUT";
- number: 13;
- }
- graphics {
- cargoicon_fruits;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, fruits_MISTAH_KURTZ, 16) {
- property {
- type_name: string(STR_CARGO_NAME_FRUITS);
- unit_name: string(STR_CARGO_NAME_FRUITS);
- type_abbreviation: TTD_STR_ABBREV_FRUIT;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 84;
- cargo_payment_list_colour: 84;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS, CC_REFRIGERATED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_FRUITS);
- penalty_lowerbound: 0;
- single_penalty_length: 26;
- price_factor: 120;
- capacity_multiplier: 1;
- cargo_label: "FRUT";
- number: 16;
- }
- graphics {
- cargoicon_fruits;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, fruits_EXTREME, 22) {
- property {
- type_name: string(STR_CARGO_NAME_FRUITS);
- unit_name: string(STR_CARGO_NAME_FRUITS);
- type_abbreviation: TTD_STR_ABBREV_FRUIT;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 84;
- cargo_payment_list_colour: 84;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS, CC_REFRIGERATED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_FRUITS);
- penalty_lowerbound: 0;
- single_penalty_length: 26;
- price_factor: 120;
- capacity_multiplier: 1;
- cargo_label: "FRUT";
- number: 22;
- }
- graphics {
- cargoicon_fruits;
- }
- }
- }
- spriteset(cargoicon_furniture) {
- [10 + 20 * 5, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, furniture_EXTREME, 23) {
- property {
- type_name: string(STR_CARGO_NAME_FURNITURE);
- unit_name: string(STR_CARGO_NAME_FURNITURE);
- type_abbreviation: string(STR_CID_FURNITURE);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.5;
- station_list_colour: 194;
- cargo_payment_list_colour: 194;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_WATER;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_FURNITURE);
- penalty_lowerbound: 10;
- single_penalty_length: 64;
- price_factor: 166;
- capacity_multiplier: 2;
- cargo_label: "FURN";
- number: 23;
- }
- graphics {
- cargoicon_furniture;
- }
- }
- }
- spriteset(cargoicon_vehicle_bodies) {
- [10 + 20 * 14, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, vehicle_bodies_STEELTOWN, 30) {
- property {
- type_name: string(STR_CARGO_NAME_VEHICLE_BODIES);
- unit_name: string(STR_CARGO_NAME_VEHICLE_BODIES);
- type_abbreviation: string(STR_CID_VEHICLE_BODIES);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 147;
- cargo_payment_list_colour: 147;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_VEHICLE_BODIES);
- penalty_lowerbound: 7;
- single_penalty_length: 255;
- price_factor: 152;
- capacity_multiplier: 1;
- cargo_label: "VBOD";
- number: 30;
- }
- graphics {
- cargoicon_vehicle_bodies;
- }
- }
- }
- spriteset(cargoicon_goods) {
- [10 + 20 * 5, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, goods_BASIC_TEMPERATE, 5) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_GOODS;
- unit_name: TTD_STR_CARGO_SINGULAR_GOODS;
- type_abbreviation: TTD_STR_ABBREV_GOODS;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.5;
- station_list_colour: 194;
- cargo_payment_list_colour: 194;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_WATER;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_CRATES;
- items_of_cargo: TTD_STR_QUANTITY_GOODS;
- penalty_lowerbound: 10;
- single_penalty_length: 64;
- price_factor: 166;
- capacity_multiplier: 2;
- cargo_label: "GOOD";
- number: 5;
- }
- graphics {
- cargoicon_goods;
- }
- }
- }
- if (economy==1) {
- item(FEAT_CARGOS, goods_BASIC_ARCTIC, 5) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_GOODS;
- unit_name: TTD_STR_CARGO_SINGULAR_GOODS;
- type_abbreviation: TTD_STR_ABBREV_GOODS;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.5;
- station_list_colour: 194;
- cargo_payment_list_colour: 194;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_WATER;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_CRATES;
- items_of_cargo: TTD_STR_QUANTITY_GOODS;
- penalty_lowerbound: 10;
- single_penalty_length: 64;
- price_factor: 166;
- capacity_multiplier: 2;
- cargo_label: "GOOD";
- number: 5;
- }
- graphics {
- cargoicon_goods;
- }
- }
- }
- if (economy==4) {
- item(FEAT_CARGOS, goods_BASIC_TROPIC, 5) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_GOODS;
- unit_name: TTD_STR_CARGO_SINGULAR_GOODS;
- type_abbreviation: TTD_STR_ABBREV_GOODS;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.5;
- station_list_colour: 194;
- cargo_payment_list_colour: 194;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_WATER;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_CRATES;
- items_of_cargo: TTD_STR_QUANTITY_GOODS;
- penalty_lowerbound: 10;
- single_penalty_length: 64;
- price_factor: 166;
- capacity_multiplier: 2;
- cargo_label: "GOOD";
- number: 5;
- }
- graphics {
- cargoicon_goods;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, goods_MISTAH_KURTZ, 5) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_GOODS;
- unit_name: TTD_STR_CARGO_SINGULAR_GOODS;
- type_abbreviation: TTD_STR_ABBREV_GOODS;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.5;
- station_list_colour: 194;
- cargo_payment_list_colour: 194;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_WATER;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_CRATES;
- items_of_cargo: TTD_STR_QUANTITY_GOODS;
- penalty_lowerbound: 10;
- single_penalty_length: 64;
- price_factor: 166;
- capacity_multiplier: 2;
- cargo_label: "GOOD";
- number: 5;
- }
- graphics {
- cargoicon_goods;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, goods_EXTREME, 5) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_GOODS;
- unit_name: TTD_STR_CARGO_SINGULAR_GOODS;
- type_abbreviation: TTD_STR_ABBREV_GOODS;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.5;
- station_list_colour: 194;
- cargo_payment_list_colour: 194;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_WATER;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_CRATES;
- items_of_cargo: TTD_STR_QUANTITY_GOODS;
- penalty_lowerbound: 10;
- single_penalty_length: 64;
- price_factor: 166;
- capacity_multiplier: 2;
- cargo_label: "GOOD";
- number: 5;
- }
- graphics {
- cargoicon_goods;
- }
- }
- }
- spriteset(cargoicon_grain) {
- [10 + 20 * 6, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==4) {
- item(FEAT_CARGOS, grain_BASIC_TROPIC, 14) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_GRAIN;
- unit_name: TTD_STR_CARGO_SINGULAR_GRAIN;
- type_abbreviation: TTD_STR_ABBREV_GRAIN;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 190;
- cargo_payment_list_colour: 190;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_GRAIN;
- penalty_lowerbound: 4;
- single_penalty_length: 40;
- price_factor: 104;
- capacity_multiplier: 1;
- cargo_label: "GRAI";
- number: 14;
- }
- graphics {
- cargoicon_grain;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, grain_EXTREME, 24) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_GRAIN;
- unit_name: TTD_STR_CARGO_SINGULAR_GRAIN;
- type_abbreviation: TTD_STR_ABBREV_GRAIN;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 190;
- cargo_payment_list_colour: 190;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_GRAIN;
- penalty_lowerbound: 4;
- single_penalty_length: 40;
- price_factor: 104;
- capacity_multiplier: 1;
- cargo_label: "GRAI";
- number: 24;
- }
- graphics {
- cargoicon_grain;
- }
- }
- }
- spriteset(cargoicon_iron_ore) {
- [10 + 20 * 9, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, iron_ore_BASIC_TEMPERATE, 12) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_IRON_ORE;
- unit_name: TTD_STR_CARGO_SINGULAR_IRON_ORE;
- type_abbreviation: TTD_STR_ABBREV_IRON_ORE;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 118;
- cargo_payment_list_colour: 118;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_IRON_ORE;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 60;
- capacity_multiplier: 1;
- cargo_label: "IORE";
- number: 12;
- }
- graphics {
- cargoicon_iron_ore;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, iron_ore_STEELTOWN, 14) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_IRON_ORE;
- unit_name: TTD_STR_CARGO_SINGULAR_IRON_ORE;
- type_abbreviation: TTD_STR_ABBREV_IRON_ORE;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 118;
- cargo_payment_list_colour: 118;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_IRON_ORE;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 60;
- capacity_multiplier: 1;
- cargo_label: "IORE";
- number: 14;
- }
- graphics {
- cargoicon_iron_ore;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, iron_ore_EXTREME, 25) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_IRON_ORE;
- unit_name: TTD_STR_CARGO_SINGULAR_IRON_ORE;
- type_abbreviation: TTD_STR_ABBREV_IRON_ORE;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 118;
- cargo_payment_list_colour: 118;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_IRON_ORE;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 60;
- capacity_multiplier: 1;
- cargo_label: "IORE";
- number: 25;
- }
- graphics {
- cargoicon_iron_ore;
- }
- }
- }
- spriteset(cargoicon_livestock) {
- [10 + 20 * 4, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, livestock_BASIC_TEMPERATE, 13) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_LIVESTOCK;
- unit_name: TTD_STR_CARGO_SINGULAR_LIVESTOCK;
- type_abbreviation: TTD_STR_ABBREV_LIVESTOCK;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.1875;
- station_list_colour: 75;
- cargo_payment_list_colour: 75;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_ITEMS;
- items_of_cargo: TTD_STR_QUANTITY_LIVESTOCK;
- penalty_lowerbound: 0;
- single_penalty_length: 16;
- price_factor: 123;
- capacity_multiplier: 1;
- cargo_label: "LVST";
- number: 13;
- }
- graphics {
- cargoicon_livestock;
- }
- }
- }
- if (economy==4) {
- item(FEAT_CARGOS, livestock_BASIC_TROPIC, 15) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_LIVESTOCK;
- unit_name: TTD_STR_CARGO_SINGULAR_LIVESTOCK;
- type_abbreviation: TTD_STR_ABBREV_LIVESTOCK;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.1875;
- station_list_colour: 75;
- cargo_payment_list_colour: 75;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_ITEMS;
- items_of_cargo: TTD_STR_QUANTITY_LIVESTOCK;
- penalty_lowerbound: 0;
- single_penalty_length: 16;
- price_factor: 123;
- capacity_multiplier: 1;
- cargo_label: "LVST";
- number: 15;
- }
- graphics {
- cargoicon_livestock;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, livestock_MISTAH_KURTZ, 17) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_LIVESTOCK;
- unit_name: TTD_STR_CARGO_SINGULAR_LIVESTOCK;
- type_abbreviation: TTD_STR_ABBREV_LIVESTOCK;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.1875;
- station_list_colour: 75;
- cargo_payment_list_colour: 75;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_ITEMS;
- items_of_cargo: TTD_STR_QUANTITY_LIVESTOCK;
- penalty_lowerbound: 0;
- single_penalty_length: 16;
- price_factor: 123;
- capacity_multiplier: 1;
- cargo_label: "LVST";
- number: 17;
- }
- graphics {
- cargoicon_livestock;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, livestock_EXTREME, 26) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_LIVESTOCK;
- unit_name: TTD_STR_CARGO_SINGULAR_LIVESTOCK;
- type_abbreviation: TTD_STR_ABBREV_LIVESTOCK;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.1875;
- station_list_colour: 75;
- cargo_payment_list_colour: 75;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_ITEMS;
- items_of_cargo: TTD_STR_QUANTITY_LIVESTOCK;
- penalty_lowerbound: 0;
- single_penalty_length: 16;
- price_factor: 123;
- capacity_multiplier: 1;
- cargo_label: "LVST";
- number: 26;
- }
- graphics {
- cargoicon_livestock;
- }
- }
- }
- spriteset(cargoicon_lumber) {
- [10 + 20 * 6, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==1) {
- item(FEAT_CARGOS, lumber_BASIC_ARCTIC, 9) {
- property {
- type_name: string(STR_CARGO_NAME_LUMBER);
- unit_name: string(STR_CARGO_NAME_LUMBER);
- type_abbreviation: string(STR_CID_LUMBER);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 58;
- cargo_payment_list_colour: 58;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_LUMBER);
- penalty_lowerbound: 18;
- single_penalty_length: 255;
- price_factor: 124;
- capacity_multiplier: 1;
- cargo_label: "WDPR";
- number: 9;
- }
- graphics {
- cargoicon_lumber;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, lumber_MISTAH_KURTZ, 18) {
- property {
- type_name: string(STR_CARGO_NAME_LUMBER);
- unit_name: string(STR_CARGO_NAME_LUMBER);
- type_abbreviation: string(STR_CID_LUMBER);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 58;
- cargo_payment_list_colour: 58;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_LUMBER);
- penalty_lowerbound: 18;
- single_penalty_length: 255;
- price_factor: 124;
- capacity_multiplier: 1;
- cargo_label: "WDPR";
- number: 18;
- }
- graphics {
- cargoicon_lumber;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, lumber_EXTREME, 28) {
- property {
- type_name: string(STR_CARGO_NAME_LUMBER);
- unit_name: string(STR_CARGO_NAME_LUMBER);
- type_abbreviation: string(STR_CID_LUMBER);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 58;
- cargo_payment_list_colour: 58;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_LUMBER);
- penalty_lowerbound: 18;
- single_penalty_length: 255;
- price_factor: 124;
- capacity_multiplier: 1;
- cargo_label: "WDPR";
- number: 28;
- }
- graphics {
- cargoicon_lumber;
- }
- }
- }
- spriteset(cargoicon_kaolin) {
- [10 + 20 * 5, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==1) {
- item(FEAT_CARGOS, kaolin_BASIC_ARCTIC, 1) {
- property {
- type_name: string(STR_CARGO_NAME_KAOLIN);
- unit_name: string(STR_CARGO_NAME_KAOLIN);
- type_abbreviation: string(STR_CID_KAOLIN);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 14;
- cargo_payment_list_colour: 14;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_LIQUID, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_KAOLIN);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 74;
- capacity_multiplier: 1;
- cargo_label: "KAOL";
- number: 1;
- }
- graphics {
- cargoicon_kaolin;
- }
- }
- }
- spriteset(cargoicon_limestone) {
- [10 + 20 * 0, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, limestone_STEELTOWN, 9) {
- property {
- type_name: string(STR_CARGO_NAME_LIMESTONE);
- unit_name: string(STR_CARGO_NAME_LIMESTONE);
- type_abbreviation: string(STR_CID_LIMESTONE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 38;
- cargo_payment_list_colour: 38;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_LIMESTONE);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 66;
- capacity_multiplier: 1;
- cargo_label: "LIME";
- number: 9;
- }
- graphics {
- cargoicon_limestone;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, limestone_EXTREME, 27) {
- property {
- type_name: string(STR_CARGO_NAME_LIMESTONE);
- unit_name: string(STR_CARGO_NAME_LIMESTONE);
- type_abbreviation: string(STR_CID_LIMESTONE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 38;
- cargo_payment_list_colour: 38;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_LIMESTONE);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 66;
- capacity_multiplier: 1;
- cargo_label: "LIME";
- number: 27;
- }
- graphics {
- cargoicon_limestone;
- }
- }
- }
- spriteset(cargoicon_lye) {
- [10 + 20 * 4, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, lye_EXTREME, 29) {
- property {
- type_name: string(STR_CARGO_NAME_LYE);
- unit_name: string(STR_CARGO_NAME_LYE);
- type_abbreviation: string(STR_CID_LYE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1;
- station_list_colour: 184;
- cargo_payment_list_colour: 184;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID, CC_HAZARDOUS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_LYE);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 109;
- capacity_multiplier: 1;
- cargo_label: "LYE_";
- number: 29;
- }
- graphics {
- cargoicon_lye;
- }
- }
- }
- spriteset(cargoicon_machine_parts) {
- [10 + 20 * 14, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, machine_parts_EXTREME, 30) {
- property {
- type_name: string(STR_CARGO_NAME_MACHINE_PARTS);
- unit_name: string(STR_CARGO_NAME_MACHINE_PARTS);
- type_abbreviation: string(STR_CID_MACHINE_PARTS);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 96;
- cargo_payment_list_colour: 96;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_MACHINE_PARTS);
- penalty_lowerbound: 7;
- single_penalty_length: 255;
- price_factor: 151;
- capacity_multiplier: 1;
- cargo_label: "MPTS";
- number: 30;
- }
- graphics {
- cargoicon_machine_parts;
- }
- }
- }
- spriteset(cargoicon_mail) {
- [10 + 20 * 2, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, mail_BASIC_TEMPERATE, 2) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_MAIL;
- unit_name: TTD_STR_CARGO_SINGULAR_MAIL;
- type_abbreviation: TTD_STR_ABBREV_MAIL;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.25;
- station_list_colour: 15;
- cargo_payment_list_colour: 15;
- is_freight: 0;
- cargo_classes: bitmask(CC_MAIL);
- town_growth_effect: TOWNGROWTH_MAIL;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_BAGS;
- items_of_cargo: TTD_STR_QUANTITY_MAIL;
- penalty_lowerbound: 6;
- single_penalty_length: 24;
- price_factor: 156;
- capacity_multiplier: 2;
- cargo_label: "MAIL";
- number: 2;
- }
- graphics {
- cargoicon_mail;
- }
- }
- }
- if (economy==1) {
- item(FEAT_CARGOS, mail_BASIC_ARCTIC, 2) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_MAIL;
- unit_name: TTD_STR_CARGO_SINGULAR_MAIL;
- type_abbreviation: TTD_STR_ABBREV_MAIL;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.25;
- station_list_colour: 15;
- cargo_payment_list_colour: 15;
- is_freight: 0;
- cargo_classes: bitmask(CC_MAIL);
- town_growth_effect: TOWNGROWTH_MAIL;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_BAGS;
- items_of_cargo: TTD_STR_QUANTITY_MAIL;
- penalty_lowerbound: 6;
- single_penalty_length: 24;
- price_factor: 156;
- capacity_multiplier: 2;
- cargo_label: "MAIL";
- number: 2;
- }
- graphics {
- cargoicon_mail;
- }
- }
- }
- if (economy==4) {
- item(FEAT_CARGOS, mail_BASIC_TROPIC, 2) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_MAIL;
- unit_name: TTD_STR_CARGO_SINGULAR_MAIL;
- type_abbreviation: TTD_STR_ABBREV_MAIL;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.25;
- station_list_colour: 15;
- cargo_payment_list_colour: 15;
- is_freight: 0;
- cargo_classes: bitmask(CC_MAIL);
- town_growth_effect: TOWNGROWTH_MAIL;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_BAGS;
- items_of_cargo: TTD_STR_QUANTITY_MAIL;
- penalty_lowerbound: 6;
- single_penalty_length: 24;
- price_factor: 156;
- capacity_multiplier: 2;
- cargo_label: "MAIL";
- number: 2;
- }
- graphics {
- cargoicon_mail;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, mail_STEELTOWN, 2) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_MAIL;
- unit_name: TTD_STR_CARGO_SINGULAR_MAIL;
- type_abbreviation: TTD_STR_ABBREV_MAIL;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.25;
- station_list_colour: 15;
- cargo_payment_list_colour: 15;
- is_freight: 0;
- cargo_classes: bitmask(CC_MAIL);
- town_growth_effect: TOWNGROWTH_MAIL;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_BAGS;
- items_of_cargo: TTD_STR_QUANTITY_MAIL;
- penalty_lowerbound: 6;
- single_penalty_length: 24;
- price_factor: 156;
- capacity_multiplier: 2;
- cargo_label: "MAIL";
- number: 2;
- }
- graphics {
- cargoicon_mail;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, mail_MISTAH_KURTZ, 2) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_MAIL;
- unit_name: TTD_STR_CARGO_SINGULAR_MAIL;
- type_abbreviation: TTD_STR_ABBREV_MAIL;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.25;
- station_list_colour: 15;
- cargo_payment_list_colour: 15;
- is_freight: 0;
- cargo_classes: bitmask(CC_MAIL);
- town_growth_effect: TOWNGROWTH_MAIL;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_BAGS;
- items_of_cargo: TTD_STR_QUANTITY_MAIL;
- penalty_lowerbound: 6;
- single_penalty_length: 24;
- price_factor: 156;
- capacity_multiplier: 2;
- cargo_label: "MAIL";
- number: 2;
- }
- graphics {
- cargoicon_mail;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, mail_EXTREME, 2) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_MAIL;
- unit_name: TTD_STR_CARGO_SINGULAR_MAIL;
- type_abbreviation: TTD_STR_ABBREV_MAIL;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.25;
- station_list_colour: 15;
- cargo_payment_list_colour: 15;
- is_freight: 0;
- cargo_classes: bitmask(CC_MAIL);
- town_growth_effect: TOWNGROWTH_MAIL;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_BAGS;
- items_of_cargo: TTD_STR_QUANTITY_MAIL;
- penalty_lowerbound: 6;
- single_penalty_length: 24;
- price_factor: 156;
- capacity_multiplier: 2;
- cargo_label: "MAIL";
- number: 2;
- }
- graphics {
- cargoicon_mail;
- }
- }
- }
- spriteset(cargoicon_maize) {
- [10 + 20 * 11, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==3) {
- item(FEAT_CARGOS, maize_MISTAH_KURTZ, 19) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_MAIZE;
- unit_name: TTD_STR_CARGO_SINGULAR_MAIZE;
- type_abbreviation: TTD_STR_ABBREV_MAIZE;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 191;
- cargo_payment_list_colour: 191;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_MAIZE;
- penalty_lowerbound: 4;
- single_penalty_length: 40;
- price_factor: 103;
- capacity_multiplier: 1;
- cargo_label: "MAIZ";
- number: 19;
- }
- graphics {
- cargoicon_maize;
- }
- }
- }
- spriteset(cargoicon_manganese) {
- [10 + 20 * 9, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, manganese_STEELTOWN, 12) {
- property {
- type_name: string(STR_CARGO_NAME_MANGANESE);
- unit_name: string(STR_CARGO_NAME_MANGANESE);
- type_abbreviation: string(STR_CID_MANGANESE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 16;
- cargo_payment_list_colour: 16;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_MANGANESE);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 75;
- capacity_multiplier: 1;
- cargo_label: "MNO2";
- number: 12;
- }
- graphics {
- cargoicon_manganese;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, manganese_MISTAH_KURTZ, 20) {
- property {
- type_name: string(STR_CARGO_NAME_MANGANESE);
- unit_name: string(STR_CARGO_NAME_MANGANESE);
- type_abbreviation: string(STR_CID_MANGANESE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 16;
- cargo_payment_list_colour: 16;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_MANGANESE);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 75;
- capacity_multiplier: 1;
- cargo_label: "MNO2";
- number: 20;
- }
- graphics {
- cargoicon_manganese;
- }
- }
- }
- spriteset(cargoicon_metal) {
- [10 + 20 * 1, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- spriteset(cargoicon_milk) {
- [10 + 20 * 13, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, milk_BASIC_TEMPERATE, 14) {
- property {
- type_name: string(STR_CARGO_NAME_MILK);
- unit_name: string(STR_CARGO_NAME_MILK);
- type_abbreviation: string(STR_CID_MILK);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.1;
- station_list_colour: 161;
- cargo_payment_list_colour: 161;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_LIQUID, CC_REFRIGERATED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_MILK);
- penalty_lowerbound: 0;
- single_penalty_length: 16;
- price_factor: 145;
- capacity_multiplier: 1;
- cargo_label: "MILK";
- number: 14;
- }
- graphics {
- cargoicon_milk;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, milk_EXTREME, 31) {
- property {
- type_name: string(STR_CARGO_NAME_MILK);
- unit_name: string(STR_CARGO_NAME_MILK);
- type_abbreviation: string(STR_CID_MILK);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.1;
- station_list_colour: 161;
- cargo_payment_list_colour: 161;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS, CC_LIQUID, CC_REFRIGERATED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_MILK);
- penalty_lowerbound: 0;
- single_penalty_length: 16;
- price_factor: 145;
- capacity_multiplier: 1;
- cargo_label: "MILK";
- number: 31;
- }
- graphics {
- cargoicon_milk;
- }
- }
- }
- spriteset(cargoicon_nitrates) {
- [10 + 20 * 7, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==4) {
- item(FEAT_CARGOS, nitrates_BASIC_TROPIC, 16) {
- property {
- type_name: string(STR_CARGO_NAME_NITRATES);
- unit_name: string(STR_CARGO_NAME_NITRATES);
- type_abbreviation: string(STR_CID_NITRATES);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 39;
- cargo_payment_list_colour: 39;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_NITRATES);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 96;
- capacity_multiplier: 1;
- cargo_label: "NITR";
- number: 16;
- }
- graphics {
- cargoicon_nitrates;
- }
- }
- }
- spriteset(cargoicon_nuts) {
- [10 + 20 * 12, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==3) {
- item(FEAT_CARGOS, nuts_MISTAH_KURTZ, 21) {
- property {
- type_name: string(STR_CARGO_NAME_NUTS);
- unit_name: string(STR_CARGO_NAME_NUTS);
- type_abbreviation: string(STR_CID_NUTS);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.25;
- station_list_colour: 178;
- cargo_payment_list_colour: 178;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: string(STR_CARGO_UNIT_NUTS);
- penalty_lowerbound: 4;
- single_penalty_length: 40;
- price_factor: 116;
- capacity_multiplier: 1;
- cargo_label: "NUTS";
- number: 21;
- }
- graphics {
- cargoicon_nuts;
- }
- }
- }
- spriteset(cargoicon_oil) {
- [10 + 20 * 3, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==4) {
- item(FEAT_CARGOS, oil_BASIC_TROPIC, 17) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_OIL;
- unit_name: TTD_STR_CARGO_SINGULAR_OIL;
- type_abbreviation: TTD_STR_ABBREV_OIL;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.9;
- station_list_colour: 171;
- cargo_payment_list_colour: 171;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_LITERS;
- items_of_cargo: TTD_STR_QUANTITY_OIL;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 93;
- capacity_multiplier: 1;
- cargo_label: "OIL_";
- number: 17;
- }
- graphics {
- cargoicon_oil;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, oil_MISTAH_KURTZ, 22) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_OIL;
- unit_name: TTD_STR_CARGO_SINGULAR_OIL;
- type_abbreviation: TTD_STR_ABBREV_OIL;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.9;
- station_list_colour: 171;
- cargo_payment_list_colour: 171;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_LITERS;
- items_of_cargo: TTD_STR_QUANTITY_OIL;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 93;
- capacity_multiplier: 1;
- cargo_label: "OIL_";
- number: 22;
- }
- graphics {
- cargoicon_oil;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, oil_EXTREME, 32) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_OIL;
- unit_name: TTD_STR_CARGO_SINGULAR_OIL;
- type_abbreviation: TTD_STR_ABBREV_OIL;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.9;
- station_list_colour: 171;
- cargo_payment_list_colour: 171;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_LITERS;
- items_of_cargo: TTD_STR_QUANTITY_OIL;
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 93;
- capacity_multiplier: 1;
- cargo_label: "OIL_";
- number: 32;
- }
- graphics {
- cargoicon_oil;
- }
- }
- }
- spriteset(cargoicon_packaging) {
- [10 + 20 * 7, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- spriteset(cargoicon_paper) {
- [10 + 20 * 5, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==1) {
- item(FEAT_CARGOS, paper_BASIC_ARCTIC, 6) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_PAPER;
- unit_name: TTD_STR_CARGO_SINGULAR_PAPER;
- type_abbreviation: TTD_STR_ABBREV_PAPER;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 23;
- cargo_payment_list_colour: 23;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_PAPER;
- penalty_lowerbound: 12;
- single_penalty_length: 60;
- price_factor: 140;
- capacity_multiplier: 1;
- cargo_label: "PAPR";
- number: 6;
- }
- graphics {
- cargoicon_paper;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, paper_EXTREME, 33) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_PAPER;
- unit_name: TTD_STR_CARGO_SINGULAR_PAPER;
- type_abbreviation: TTD_STR_ABBREV_PAPER;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 23;
- cargo_payment_list_colour: 23;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_PAPER;
- penalty_lowerbound: 12;
- single_penalty_length: 60;
- price_factor: 140;
- capacity_multiplier: 1;
- cargo_label: "PAPR";
- number: 33;
- }
- graphics {
- cargoicon_paper;
- }
- }
- }
- spriteset(cargoicon_passengers) {
- [10 + 20 * 0, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, passengers_BASIC_TEMPERATE, 0) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_PASSENGERS;
- unit_name: TTD_STR_CARGO_SINGULAR_PASSENGER;
- type_abbreviation: TTD_STR_ABBREV_PASSENGERS;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.0625;
- station_list_colour: 152;
- cargo_payment_list_colour: 152;
- is_freight: 0;
- cargo_classes: bitmask(CC_PASSENGERS);
- town_growth_effect: TOWNGROWTH_PASSENGERS;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_PASSENGERS;
- items_of_cargo: TTD_STR_QUANTITY_PASSENGERS;
- penalty_lowerbound: 0;
- single_penalty_length: 22;
- price_factor: 105;
- capacity_multiplier: 4;
- cargo_label: "PASS";
- number: 0;
- }
- graphics {
- cargoicon_passengers;
- }
- }
- }
- if (economy==1) {
- item(FEAT_CARGOS, passengers_BASIC_ARCTIC, 0) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_PASSENGERS;
- unit_name: TTD_STR_CARGO_SINGULAR_PASSENGER;
- type_abbreviation: TTD_STR_ABBREV_PASSENGERS;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.0625;
- station_list_colour: 152;
- cargo_payment_list_colour: 152;
- is_freight: 0;
- cargo_classes: bitmask(CC_PASSENGERS);
- town_growth_effect: TOWNGROWTH_PASSENGERS;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_PASSENGERS;
- items_of_cargo: TTD_STR_QUANTITY_PASSENGERS;
- penalty_lowerbound: 0;
- single_penalty_length: 22;
- price_factor: 105;
- capacity_multiplier: 4;
- cargo_label: "PASS";
- number: 0;
- }
- graphics {
- cargoicon_passengers;
- }
- }
- }
- if (economy==4) {
- item(FEAT_CARGOS, passengers_BASIC_TROPIC, 0) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_PASSENGERS;
- unit_name: TTD_STR_CARGO_SINGULAR_PASSENGER;
- type_abbreviation: TTD_STR_ABBREV_PASSENGERS;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.0625;
- station_list_colour: 152;
- cargo_payment_list_colour: 152;
- is_freight: 0;
- cargo_classes: bitmask(CC_PASSENGERS);
- town_growth_effect: TOWNGROWTH_PASSENGERS;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_PASSENGERS;
- items_of_cargo: TTD_STR_QUANTITY_PASSENGERS;
- penalty_lowerbound: 0;
- single_penalty_length: 22;
- price_factor: 105;
- capacity_multiplier: 4;
- cargo_label: "PASS";
- number: 0;
- }
- graphics {
- cargoicon_passengers;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, passengers_STEELTOWN, 0) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_PASSENGERS;
- unit_name: TTD_STR_CARGO_SINGULAR_PASSENGER;
- type_abbreviation: TTD_STR_ABBREV_PASSENGERS;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.0625;
- station_list_colour: 152;
- cargo_payment_list_colour: 152;
- is_freight: 0;
- cargo_classes: bitmask(CC_PASSENGERS);
- town_growth_effect: TOWNGROWTH_PASSENGERS;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_PASSENGERS;
- items_of_cargo: TTD_STR_QUANTITY_PASSENGERS;
- penalty_lowerbound: 0;
- single_penalty_length: 22;
- price_factor: 105;
- capacity_multiplier: 4;
- cargo_label: "PASS";
- number: 0;
- }
- graphics {
- cargoicon_passengers;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, passengers_MISTAH_KURTZ, 0) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_PASSENGERS;
- unit_name: TTD_STR_CARGO_SINGULAR_PASSENGER;
- type_abbreviation: TTD_STR_ABBREV_PASSENGERS;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.0625;
- station_list_colour: 152;
- cargo_payment_list_colour: 152;
- is_freight: 0;
- cargo_classes: bitmask(CC_PASSENGERS);
- town_growth_effect: TOWNGROWTH_PASSENGERS;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_PASSENGERS;
- items_of_cargo: TTD_STR_QUANTITY_PASSENGERS;
- penalty_lowerbound: 0;
- single_penalty_length: 22;
- price_factor: 105;
- capacity_multiplier: 4;
- cargo_label: "PASS";
- number: 0;
- }
- graphics {
- cargoicon_passengers;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, passengers_EXTREME, 0) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_PASSENGERS;
- unit_name: TTD_STR_CARGO_SINGULAR_PASSENGER;
- type_abbreviation: TTD_STR_ABBREV_PASSENGERS;
- sprite: NEW_CARGO_SPRITE;
- weight: 0.0625;
- station_list_colour: 152;
- cargo_payment_list_colour: 152;
- is_freight: 0;
- cargo_classes: bitmask(CC_PASSENGERS);
- town_growth_effect: TOWNGROWTH_PASSENGERS;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_PASSENGERS;
- items_of_cargo: TTD_STR_QUANTITY_PASSENGERS;
- penalty_lowerbound: 0;
- single_penalty_length: 22;
- price_factor: 105;
- capacity_multiplier: 4;
- cargo_label: "PASS";
- number: 0;
- }
- graphics {
- cargoicon_passengers;
- }
- }
- }
- spriteset(cargoicon_peat) {
- [10 + 20 * 6, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==1) {
- item(FEAT_CARGOS, peat_BASIC_ARCTIC, 18) {
- property {
- type_name: string(STR_CARGO_NAME_PEAT);
- unit_name: string(STR_CARGO_NAME_PEAT);
- type_abbreviation: string(STR_CID_PEAT);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 26;
- cargo_payment_list_colour: 26;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: string(STR_CARGO_UNIT_PEAT);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 72;
- capacity_multiplier: 1;
- cargo_label: "PEAT";
- number: 18;
- }
- graphics {
- cargoicon_peat;
- }
- }
- }
- spriteset(cargoicon_petrol) {
- [10 + 20 * 12, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, petrol_STEELTOWN, 17) {
- property {
- type_name: string(STR_CARGO_NAME_PETROL);
- unit_name: string(STR_CARGO_NAME_PETROL);
- type_abbreviation: string(STR_CID_PETROL);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.8;
- station_list_colour: 175;
- cargo_payment_list_colour: 175;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_GOODS;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_PETROL);
- penalty_lowerbound: 18;
- single_penalty_length: 255;
- price_factor: 143;
- capacity_multiplier: 1;
- cargo_label: "PETR";
- number: 17;
- }
- graphics {
- cargoicon_petrol;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, petrol_MISTAH_KURTZ, 23) {
- property {
- type_name: string(STR_CARGO_NAME_PETROL);
- unit_name: string(STR_CARGO_NAME_PETROL);
- type_abbreviation: string(STR_CID_PETROL);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.8;
- station_list_colour: 175;
- cargo_payment_list_colour: 175;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_GOODS;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_PETROL);
- penalty_lowerbound: 18;
- single_penalty_length: 255;
- price_factor: 143;
- capacity_multiplier: 1;
- cargo_label: "PETR";
- number: 23;
- }
- graphics {
- cargoicon_petrol;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, petrol_EXTREME, 34) {
- property {
- type_name: string(STR_CARGO_NAME_PETROL);
- unit_name: string(STR_CARGO_NAME_PETROL);
- type_abbreviation: string(STR_CID_PETROL);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.8;
- station_list_colour: 175;
- cargo_payment_list_colour: 175;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_GOODS;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_PETROL);
- penalty_lowerbound: 18;
- single_penalty_length: 255;
- price_factor: 143;
- capacity_multiplier: 1;
- cargo_label: "PETR";
- number: 34;
- }
- graphics {
- cargoicon_petrol;
- }
- }
- }
- spriteset(cargoicon_phosphate) {
- [10 + 20 * 10, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==1) {
- item(FEAT_CARGOS, phosphate_BASIC_ARCTIC, 10) {
- property {
- type_name: string(STR_CARGO_NAME_PHOSPHATE);
- unit_name: string(STR_CARGO_NAME_PHOSPHATE);
- type_abbreviation: string(STR_CID_PHOSPHATE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 64;
- cargo_payment_list_colour: 64;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_PHOSPHATE);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 95;
- capacity_multiplier: 1;
- cargo_label: "PHOS";
- number: 10;
- }
- graphics {
- cargoicon_phosphate;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, phosphate_MISTAH_KURTZ, 24) {
- property {
- type_name: string(STR_CARGO_NAME_PHOSPHATE);
- unit_name: string(STR_CARGO_NAME_PHOSPHATE);
- type_abbreviation: string(STR_CID_PHOSPHATE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 64;
- cargo_payment_list_colour: 64;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_PHOSPHATE);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 95;
- capacity_multiplier: 1;
- cargo_label: "PHOS";
- number: 24;
- }
- graphics {
- cargoicon_phosphate;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, phosphate_EXTREME, 35) {
- property {
- type_name: string(STR_CARGO_NAME_PHOSPHATE);
- unit_name: string(STR_CARGO_NAME_PHOSPHATE);
- type_abbreviation: string(STR_CID_PHOSPHATE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 64;
- cargo_payment_list_colour: 64;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_PHOSPHATE);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 95;
- capacity_multiplier: 1;
- cargo_label: "PHOS";
- number: 35;
- }
- graphics {
- cargoicon_phosphate;
- }
- }
- }
- spriteset(cargoicon_pig_iron) {
- [10 + 20 * 4, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, pig_iron_STEELTOWN, 15) {
- property {
- type_name: string(STR_CARGO_NAME_PIG_IRON);
- unit_name: string(STR_CARGO_NAME_PIG_IRON);
- type_abbreviation: string(STR_CID_PIG_IRON);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 112;
- cargo_payment_list_colour: 112;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_PIG_IRON);
- penalty_lowerbound: 15;
- single_penalty_length: 255;
- price_factor: 121;
- capacity_multiplier: 1;
- cargo_label: "IRON";
- number: 15;
- }
- graphics {
- cargoicon_pig_iron;
- }
- }
- }
- spriteset(cargoicon_pipe) {
- [10 + 20 * 7, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, pipe_STEELTOWN, 24) {
- property {
- type_name: string(STR_CARGO_NAME_PIPE);
- unit_name: string(STR_CARGO_NAME_PIPE);
- type_abbreviation: string(STR_CID_PIPE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 198;
- cargo_payment_list_colour: 198;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_PIPE);
- penalty_lowerbound: 12;
- single_penalty_length: 255;
- price_factor: 129;
- capacity_multiplier: 1;
- cargo_label: "PIPE";
- number: 24;
- }
- graphics {
- cargoicon_pipe;
- }
- }
- }
- spriteset(cargoicon_plant_fibres) {
- [10 + 20 * 3, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- spriteset(cargoicon_plastic) {
- [10 + 20 * 7, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, plastic_EXTREME, 36) {
- property {
- type_name: string(STR_CARGO_NAME_PLASTIC);
- unit_name: string(STR_CARGO_NAME_PLASTIC);
- type_abbreviation: string(STR_CID_PLASTIC);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.65;
- station_list_colour: 145;
- cargo_payment_list_colour: 145;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS, CC_BULK, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_PLASTIC);
- penalty_lowerbound: 16;
- single_penalty_length: 120;
- price_factor: 127;
- capacity_multiplier: 1;
- cargo_label: "PLAS";
- number: 36;
- }
- graphics {
- cargoicon_plastic;
- }
- }
- }
- spriteset(cargoicon_potash) {
- [10 + 20 * 10, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- spriteset(cargoicon_potatos) {
- [10 + 20 * 11, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- spriteset(cargoicon_pyrite_ore) {
- [10 + 20 * 13, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==1) {
- item(FEAT_CARGOS, pyrite_ore_BASIC_ARCTIC, 7) {
- property {
- type_name: string(STR_CARGO_NAME_PYRITE_ORE);
- unit_name: string(STR_CARGO_NAME_PYRITE_ORE);
- type_abbreviation: string(STR_CID_PYRITE_ORE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 62;
- cargo_payment_list_colour: 62;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: string(STR_CARGO_UNIT_PYRITE_ORE);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 58;
- capacity_multiplier: 1;
- cargo_label: "PORE";
- number: 7;
- }
- graphics {
- cargoicon_pyrite_ore;
- }
- }
- }
- spriteset(cargoicon_quicklime) {
- [10 + 20 * 9, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, quicklime_STEELTOWN, 3) {
- property {
- type_name: string(STR_CARGO_NAME_QUICKLIME);
- unit_name: string(STR_CARGO_NAME_QUICKLIME);
- type_abbreviation: string(STR_CID_QUICKLIME);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 169;
- cargo_payment_list_colour: 169;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_QUICKLIME);
- penalty_lowerbound: 12;
- single_penalty_length: 255;
- price_factor: 118;
- capacity_multiplier: 1;
- cargo_label: "QLME";
- number: 3;
- }
- graphics {
- cargoicon_quicklime;
- }
- }
- }
- spriteset(cargoicon_recyclables) {
- [10 + 20 * 10, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, recyclables_EXTREME, 37) {
- property {
- type_name: string(STR_CARGO_NAME_RECYCLABLES);
- unit_name: string(STR_CARGO_NAME_RECYCLABLES);
- type_abbreviation: string(STR_CID_RECYCLABLES);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 165;
- cargo_payment_list_colour: 165;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_RECYCLABLES);
- penalty_lowerbound: 10;
- single_penalty_length: 128;
- price_factor: 100;
- capacity_multiplier: 1;
- cargo_label: "RCYC";
- number: 37;
- }
- graphics {
- cargoicon_recyclables;
- }
- }
- }
- spriteset(cargoicon_rubber) {
- [10 + 20 * 2, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, rubber_STEELTOWN, 23) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_RUBBER;
- unit_name: TTD_STR_CARGO_SINGULAR_RUBBER;
- type_abbreviation: TTD_STR_ABBREV_RUBBER;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 6;
- cargo_payment_list_colour: 6;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: TTD_STR_QUANTITY_RUBBER;
- penalty_lowerbound: 10;
- single_penalty_length: 36;
- price_factor: 110;
- capacity_multiplier: 1;
- cargo_label: "RUBR";
- number: 23;
- }
- graphics {
- cargoicon_rubber;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, rubber_MISTAH_KURTZ, 25) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_RUBBER;
- unit_name: TTD_STR_CARGO_SINGULAR_RUBBER;
- type_abbreviation: TTD_STR_ABBREV_RUBBER;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 6;
- cargo_payment_list_colour: 6;
- is_freight: 1;
- cargo_classes: bitmask(CC_LIQUID);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: TTD_STR_QUANTITY_RUBBER;
- penalty_lowerbound: 10;
- single_penalty_length: 36;
- price_factor: 110;
- capacity_multiplier: 1;
- cargo_label: "RUBR";
- number: 25;
- }
- graphics {
- cargoicon_rubber;
- }
- }
- }
- spriteset(cargoicon_sand) {
- [10 + 20 * 0, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, sand_BASIC_TEMPERATE, 15) {
- property {
- type_name: string(STR_CARGO_NAME_SAND);
- unit_name: string(STR_CARGO_NAME_SAND);
- type_abbreviation: string(STR_CID_SAND);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 196;
- cargo_payment_list_colour: 196;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SAND);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 52;
- capacity_multiplier: 1;
- cargo_label: "SAND";
- number: 15;
- }
- graphics {
- cargoicon_sand;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, sand_STEELTOWN, 10) {
- property {
- type_name: string(STR_CARGO_NAME_SAND);
- unit_name: string(STR_CARGO_NAME_SAND);
- type_abbreviation: string(STR_CID_SAND);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 196;
- cargo_payment_list_colour: 196;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SAND);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 52;
- capacity_multiplier: 1;
- cargo_label: "SAND";
- number: 10;
- }
- graphics {
- cargoicon_sand;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, sand_MISTAH_KURTZ, 26) {
- property {
- type_name: string(STR_CARGO_NAME_SAND);
- unit_name: string(STR_CARGO_NAME_SAND);
- type_abbreviation: string(STR_CID_SAND);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 196;
- cargo_payment_list_colour: 196;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SAND);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 52;
- capacity_multiplier: 1;
- cargo_label: "SAND";
- number: 26;
- }
- graphics {
- cargoicon_sand;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, sand_EXTREME, 39) {
- property {
- type_name: string(STR_CARGO_NAME_SAND);
- unit_name: string(STR_CARGO_NAME_SAND);
- type_abbreviation: string(STR_CID_SAND);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 196;
- cargo_payment_list_colour: 196;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SAND);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 52;
- capacity_multiplier: 1;
- cargo_label: "SAND";
- number: 39;
- }
- graphics {
- cargoicon_sand;
- }
- }
- }
- spriteset(cargoicon_salt) {
- [10 + 20 * 3, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, salt_STEELTOWN, 25) {
- property {
- type_name: string(STR_CARGO_NAME_SALT);
- unit_name: string(STR_CARGO_NAME_SALT);
- type_abbreviation: string(STR_CID_SALT);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 121;
- cargo_payment_list_colour: 121;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SALT);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 108;
- capacity_multiplier: 1;
- cargo_label: "SALT";
- number: 25;
- }
- graphics {
- cargoicon_salt;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, salt_EXTREME, 38) {
- property {
- type_name: string(STR_CARGO_NAME_SALT);
- unit_name: string(STR_CARGO_NAME_SALT);
- type_abbreviation: string(STR_CID_SALT);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 121;
- cargo_payment_list_colour: 121;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SALT);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 108;
- capacity_multiplier: 1;
- cargo_label: "SALT";
- number: 38;
- }
- graphics {
- cargoicon_salt;
- }
- }
- }
- spriteset(cargoicon_scrap_metal) {
- [10 + 20 * 2, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, scrap_metal_BASIC_TEMPERATE, 16) {
- property {
- type_name: string(STR_CARGO_NAME_SCRAP_METAL);
- unit_name: string(STR_CARGO_NAME_SCRAP_METAL);
- type_abbreviation: string(STR_CID_SCRAP_METAL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 106;
- cargo_payment_list_colour: 106;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_NON_POURABLE);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SCRAP_METAL);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 119;
- capacity_multiplier: 1;
- cargo_label: "SCMT";
- number: 16;
- }
- graphics {
- cargoicon_scrap_metal;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, scrap_metal_STEELTOWN, 19) {
- property {
- type_name: string(STR_CARGO_NAME_SCRAP_METAL);
- unit_name: string(STR_CARGO_NAME_SCRAP_METAL);
- type_abbreviation: string(STR_CID_SCRAP_METAL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 106;
- cargo_payment_list_colour: 106;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_NON_POURABLE);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SCRAP_METAL);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 119;
- capacity_multiplier: 1;
- cargo_label: "SCMT";
- number: 19;
- }
- graphics {
- cargoicon_scrap_metal;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, scrap_metal_EXTREME, 40) {
- property {
- type_name: string(STR_CARGO_NAME_SCRAP_METAL);
- unit_name: string(STR_CARGO_NAME_SCRAP_METAL);
- type_abbreviation: string(STR_CID_SCRAP_METAL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 106;
- cargo_payment_list_colour: 106;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_NON_POURABLE);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SCRAP_METAL);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 119;
- capacity_multiplier: 1;
- cargo_label: "SCMT";
- number: 40;
- }
- graphics {
- cargoicon_scrap_metal;
- }
- }
- }
- spriteset(cargoicon_slag) {
- [10 + 20 * 11, 10 + 20 * 3, 10, 10, 0, 0, ANIM, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, slag_STEELTOWN, 8) {
- property {
- type_name: string(STR_CARGO_NAME_SLAG);
- unit_name: string(STR_CARGO_NAME_SLAG);
- type_abbreviation: string(STR_CID_SLAG);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 24;
- cargo_payment_list_colour: 24;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SLAG);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 50;
- capacity_multiplier: 1;
- cargo_label: "SLAG";
- number: 8;
- }
- graphics {
- cargoicon_slag;
- }
- }
- }
- spriteset(cargoicon_soda_ash) {
- [10 + 20 * 12, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, soda_ash_STEELTOWN, 20) {
- property {
- type_name: string(STR_CARGO_NAME_SODA_ASH);
- unit_name: string(STR_CARGO_NAME_SODA_ASH);
- type_abbreviation: string(STR_CID_SODA_ASH);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 187;
- cargo_payment_list_colour: 187;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_SODA_ASH);
- penalty_lowerbound: 12;
- single_penalty_length: 255;
- price_factor: 82;
- capacity_multiplier: 1;
- cargo_label: "SASH";
- number: 20;
- }
- graphics {
- cargoicon_soda_ash;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, soda_ash_EXTREME, 41) {
- property {
- type_name: string(STR_CARGO_NAME_SODA_ASH);
- unit_name: string(STR_CARGO_NAME_SODA_ASH);
- type_abbreviation: string(STR_CID_SODA_ASH);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 187;
- cargo_payment_list_colour: 187;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 82;
- items_of_cargo: string(STR_CARGO_UNIT_SODA_ASH);
- penalty_lowerbound: 12;
- single_penalty_length: 255;
- price_factor: 82;
- capacity_multiplier: 1;
- cargo_label: "SASH";
- number: 41;
- }
- graphics {
- cargoicon_soda_ash;
- }
- }
- }
- spriteset(cargoicon_steel) {
- [10 + 20 * 10, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==0) {
- item(FEAT_CARGOS, steel_BASIC_TEMPERATE, 17) {
- property {
- type_name: string(STR_CARGO_NAME_STEEL);
- unit_name: string(STR_CARGO_NAME_STEEL);
- type_abbreviation: string(STR_CID_STEEL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 10;
- cargo_payment_list_colour: 10;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_STEEL);
- penalty_lowerbound: 14;
- single_penalty_length: 255;
- price_factor: 126;
- capacity_multiplier: 1;
- cargo_label: "STEL";
- number: 17;
- }
- graphics {
- cargoicon_steel;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, steel_STEELTOWN, 7) {
- property {
- type_name: string(STR_CARGO_NAME_STEEL);
- unit_name: string(STR_CARGO_NAME_STEEL);
- type_abbreviation: string(STR_CID_STEEL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 10;
- cargo_payment_list_colour: 10;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_STEEL);
- penalty_lowerbound: 14;
- single_penalty_length: 255;
- price_factor: 126;
- capacity_multiplier: 1;
- cargo_label: "STEL";
- number: 7;
- }
- graphics {
- cargoicon_steel;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, steel_EXTREME, 42) {
- property {
- type_name: string(STR_CARGO_NAME_STEEL);
- unit_name: string(STR_CARGO_NAME_STEEL);
- type_abbreviation: string(STR_CID_STEEL);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 10;
- cargo_payment_list_colour: 10;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_STEEL);
- penalty_lowerbound: 14;
- single_penalty_length: 255;
- price_factor: 126;
- capacity_multiplier: 1;
- cargo_label: "STEL";
- number: 42;
- }
- graphics {
- cargoicon_steel;
- }
- }
- }
- spriteset(cargoicon_stone) {
- [10 + 20 * 5, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==3) {
- item(FEAT_CARGOS, stone_MISTAH_KURTZ, 27) {
- property {
- type_name: string(STR_CARGO_NAME_STONE);
- unit_name: string(STR_CARGO_NAME_STONE);
- type_abbreviation: string(STR_CID_STONE);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 36;
- cargo_payment_list_colour: 36;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_STONE);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 68;
- capacity_multiplier: 1;
- cargo_label: "GRVL";
- number: 27;
- }
- graphics {
- cargoicon_stone;
- }
- }
- }
- spriteset(cargoicon_sulphur) {
- [10 + 20 * 13, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==1) {
- item(FEAT_CARGOS, sulphur_BASIC_ARCTIC, 15) {
- property {
- type_name: string(STR_CARGO_NAME_SULPHUR);
- unit_name: string(STR_CARGO_NAME_SULPHUR);
- type_abbreviation: string(STR_CID_SULPHUR);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 68;
- cargo_payment_list_colour: 68;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_LIQUID, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SULPHUR);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 102;
- capacity_multiplier: 1;
- cargo_label: "SULP";
- number: 15;
- }
- graphics {
- cargoicon_sulphur;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, sulphur_STEELTOWN, 18) {
- property {
- type_name: string(STR_CARGO_NAME_SULPHUR);
- unit_name: string(STR_CARGO_NAME_SULPHUR);
- type_abbreviation: string(STR_CID_SULPHUR);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 68;
- cargo_payment_list_colour: 68;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_LIQUID, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SULPHUR);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 102;
- capacity_multiplier: 1;
- cargo_label: "SULP";
- number: 18;
- }
- graphics {
- cargoicon_sulphur;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, sulphur_EXTREME, 45) {
- property {
- type_name: string(STR_CARGO_NAME_SULPHUR);
- unit_name: string(STR_CARGO_NAME_SULPHUR);
- type_abbreviation: string(STR_CID_SULPHUR);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 68;
- cargo_payment_list_colour: 68;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK, CC_LIQUID, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SULPHUR);
- penalty_lowerbound: 30;
- single_penalty_length: 255;
- price_factor: 102;
- capacity_multiplier: 1;
- cargo_label: "SULP";
- number: 45;
- }
- graphics {
- cargoicon_sulphur;
- }
- }
- }
- spriteset(cargoicon_sugar) {
- [10 + 20 * 14, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, sugar_EXTREME, 43) {
- property {
- type_name: string(STR_CARGO_NAME_SUGAR);
- unit_name: string(STR_CARGO_NAME_SUGAR);
- type_abbreviation: string(STR_CID_SUGAR);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 30;
- cargo_payment_list_colour: 30;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SUGAR);
- penalty_lowerbound: 5;
- single_penalty_length: 30;
- price_factor: 99;
- capacity_multiplier: 1;
- cargo_label: "SUGR";
- number: 43;
- }
- graphics {
- cargoicon_sugar;
- }
- }
- }
- spriteset(cargoicon_sugar_beet) {
- [10 + 20 * 14, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, sugar_beet_EXTREME, 44) {
- property {
- type_name: string(STR_CARGO_NAME_SUGAR_BEET);
- unit_name: string(STR_CARGO_NAME_SUGAR_BEET);
- type_abbreviation: string(STR_CID_SUGAR_BEET);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 30;
- cargo_payment_list_colour: 30;
- is_freight: 1;
- cargo_classes: bitmask(CC_BULK);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_SUGAR_BEET);
- penalty_lowerbound: 5;
- single_penalty_length: 30;
- price_factor: 99;
- capacity_multiplier: 1;
- cargo_label: "SGBT";
- number: 44;
- }
- graphics {
- cargoicon_sugar_beet;
- }
- }
- }
- spriteset(cargoicon_textiles) {
- [10 + 20 * 5, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==2) {
- item(FEAT_CARGOS, textiles_EXTREME, 46) {
- property {
- type_name: string(STR_CARGO_NAME_TEXTILES);
- unit_name: string(STR_CARGO_NAME_TEXTILES);
- type_abbreviation: string(STR_CID_TEXTILES);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.5;
- station_list_colour: 194;
- cargo_payment_list_colour: 194;
- is_freight: 1;
- cargo_classes: bitmask(CC_EXPRESS);
- town_growth_effect: TOWNGROWTH_WATER;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_TEXTILES);
- penalty_lowerbound: 10;
- single_penalty_length: 64;
- price_factor: 166;
- capacity_multiplier: 2;
- cargo_label: "TEXT";
- number: 46;
- }
- graphics {
- cargoicon_textiles;
- }
- }
- }
- spriteset(cargoicon_vehicle_parts) {
- [10 + 20 * 14, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, vehicle_parts_STEELTOWN, 29) {
- property {
- type_name: string(STR_CARGO_NAME_VEHICLE_PARTS);
- unit_name: string(STR_CARGO_NAME_VEHICLE_PARTS);
- type_abbreviation: string(STR_CID_VEHICLE_PARTS);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 96;
- cargo_payment_list_colour: 96;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_VEHICLE_PARTS);
- penalty_lowerbound: 7;
- single_penalty_length: 255;
- price_factor: 151;
- capacity_multiplier: 1;
- cargo_label: "VPTS";
- number: 29;
- }
- graphics {
- cargoicon_vehicle_parts;
- }
- }
- }
- spriteset(cargoicon_vehicles) {
- [10 + 20 * 15, 10 + 20 * 2, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==5) {
- item(FEAT_CARGOS, vehicles_STEELTOWN, 5) {
- property {
- type_name: string(STR_CARGO_NAME_VEHICLES);
- unit_name: string(STR_CARGO_NAME_VEHICLES);
- type_abbreviation: string(STR_CID_VEHICLES);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 141;
- cargo_payment_list_colour: 141;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_WATER;
- town_growth_multiplier: 1.0;
- units_of_cargo: 84;
- items_of_cargo: string(STR_CARGO_UNIT_VEHICLES);
- penalty_lowerbound: 8;
- single_penalty_length: 60;
- price_factor: 162;
- capacity_multiplier: 1;
- cargo_label: "VEHI";
- number: 5;
- }
- graphics {
- cargoicon_vehicles;
- }
- }
- }
- spriteset(cargoicon_wood) {
- [10 + 20 * 8, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==1) {
- item(FEAT_CARGOS, wood_BASIC_ARCTIC, 17) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_WOOD;
- unit_name: TTD_STR_CARGO_SINGULAR_WOOD;
- type_abbreviation: TTD_STR_ABBREV_WOOD;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 55;
- cargo_payment_list_colour: 55;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_WOOD;
- penalty_lowerbound: 24;
- single_penalty_length: 255;
- price_factor: 97;
- capacity_multiplier: 1;
- cargo_label: "WOOD";
- number: 17;
- }
- graphics {
- cargoicon_wood;
- }
- }
- }
- if (economy==3) {
- item(FEAT_CARGOS, wood_MISTAH_KURTZ, 28) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_WOOD;
- unit_name: TTD_STR_CARGO_SINGULAR_WOOD;
- type_abbreviation: TTD_STR_ABBREV_WOOD;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 55;
- cargo_payment_list_colour: 55;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_WOOD;
- penalty_lowerbound: 24;
- single_penalty_length: 255;
- price_factor: 97;
- capacity_multiplier: 1;
- cargo_label: "WOOD";
- number: 28;
- }
- graphics {
- cargoicon_wood;
- }
- }
- }
- if (economy==2) {
- item(FEAT_CARGOS, wood_EXTREME, 47) {
- property {
- type_name: TTD_STR_CARGO_PLURAL_WOOD;
- unit_name: TTD_STR_CARGO_SINGULAR_WOOD;
- type_abbreviation: TTD_STR_ABBREV_WOOD;
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 55;
- cargo_payment_list_colour: 55;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: TTD_STR_TONS;
- items_of_cargo: TTD_STR_QUANTITY_WOOD;
- penalty_lowerbound: 24;
- single_penalty_length: 255;
- price_factor: 97;
- capacity_multiplier: 1;
- cargo_label: "WOOD";
- number: 47;
- }
- graphics {
- cargoicon_wood;
- }
- }
- }
- spriteset(cargoicon_wool) {
- [10 + 20 * 4, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==4) {
- item(FEAT_CARGOS, wool_BASIC_TROPIC, 18) {
- property {
- type_name: string(STR_CARGO_NAME_WOOL);
- unit_name: string(STR_CARGO_NAME_WOOL);
- type_abbreviation: string(STR_CID_WOOL);
- sprite: NEW_CARGO_SPRITE;
- weight: 0.2;
- station_list_colour: 135;
- cargo_payment_list_colour: 135;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS, CC_COVERED);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_WOOL);
- penalty_lowerbound: 8;
- single_penalty_length: 90;
- price_factor: 98;
- capacity_multiplier: 1;
- cargo_label: "WOOL";
- number: 18;
- }
- graphics {
- cargoicon_wool;
- }
- }
- }
- spriteset(cargoicon_zinc) {
- [10 + 20 * 15, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"]
- }
- if (economy==1) {
- item(FEAT_CARGOS, zinc_BASIC_ARCTIC, 13) {
- property {
- type_name: string(STR_CARGO_NAME_ZINC);
- unit_name: string(STR_CARGO_NAME_ZINC);
- type_abbreviation: string(STR_CID_ZINC);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 131;
- cargo_payment_list_colour: 131;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_ZINC);
- penalty_lowerbound: 15;
- single_penalty_length: 255;
- price_factor: 141;
- capacity_multiplier: 1;
- cargo_label: "ZINC";
- number: 13;
- }
- graphics {
- cargoicon_zinc;
- }
- }
- }
- if (economy==5) {
- item(FEAT_CARGOS, zinc_STEELTOWN, 21) {
- property {
- type_name: string(STR_CARGO_NAME_ZINC);
- unit_name: string(STR_CARGO_NAME_ZINC);
- type_abbreviation: string(STR_CID_ZINC);
- sprite: NEW_CARGO_SPRITE;
- weight: 1.0;
- station_list_colour: 131;
- cargo_payment_list_colour: 131;
- is_freight: 1;
- cargo_classes: bitmask(CC_PIECE_GOODS);
- town_growth_effect: TOWNGROWTH_NONE;
- town_growth_multiplier: 1.0;
- units_of_cargo: 80;
- items_of_cargo: string(STR_CARGO_UNIT_ZINC);
- penalty_lowerbound: 15;
- single_penalty_length: 255;
- price_factor: 141;
- capacity_multiplier: 1;
- cargo_label: "ZINC";
- number: 21;
- }
- graphics {
- cargoicon_zinc;
- }
- }
- }/* *******************************************************
- * Construction states shared by many (not all) industries
- * *******************************************************/
- spriteset(spriteset_default_construction_states) {
- tmpl_building_sprite_filename(10, 10, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(80, 10, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(150, 10, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(220, 10, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(290, 10, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(360, 10, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(430, 10, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(500, 10, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(10, 100, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(80, 100, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(150, 100, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(220, 100, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(290, 100, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(360, 100, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(430, 100, 64, -33, "src/graphics/other/default_construction_states.png")
- tmpl_building_sprite_filename(500, 100, 64, -33, "src/graphics/other/default_construction_states.png")
- }
- spritelayout spritelayout_default_construction_states {
- ground {
- sprite: spriteset_default_construction_states(random_bits % 16);
- recolour_mode: RECOLOUR_REMAP;
- palette: 0;
- }
- }switch(FEAT_INDUSTRIES, SELF, switch_colour, colour) {
- 0: return 0;
- 1: return 1;
- 2: return 2;
- 3: return 13;
- 4: return 2;
- 5: return 5;
- 6: return 1;
- 7: return 1;
- 8: return 0;
- 9: return 14;
- 10: return 10;
- 11: return 11;
- 12: return 13;
- 13: return 13;
- 14: return 14;
- 15: return 14;
- return 0;
- }random_switch(FEAT_INDUSTRIES, SELF, randomise_primary_production_on_build) {
- 1: return 8;
- 1: return 12;
- 4: return 16;
- 3: return 20;
- 2: return 24;
- 1: return 28;
- 1: return 32;
- 1: return 36;
- }/* ******************************************************************
- * Definition of the industry tile, its callbacks, and graphics chain
- * ******************************************************************/
- spriteset(port_spriteset_0_0, "src/graphics/industries/groundtiles.png") {
- tmpl_ground_tile(360, 10)
- }
- spriteset(port_spriteset_0_0_snow, "src/graphics/industries/groundtiles.png") {
- tmpl_ground_tile(220, 10)
- }
- spriteset(port_spriteset_1_0) {
- [10, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_1_0_snow) {
- [10, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_1_spriteset_default_construction_state_0) {
- [10, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_1_spriteset_default_construction_state_1) {
- [10, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_1_spriteset_default_construction_state_2) {
- [10, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_2_0) {
- [10, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_2_0_snow) {
- [10, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_2_spriteset_default_construction_state_0) {
- [10, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_2_spriteset_default_construction_state_1) {
- [10, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_2_spriteset_default_construction_state_2) {
- [10, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_3_0) {
- [80, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_3_0_snow) {
- [80, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_3_spriteset_default_construction_state_0) {
- [80, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_3_spriteset_default_construction_state_1) {
- [80, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_3_spriteset_default_construction_state_2) {
- [80, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_4_0) {
- [150, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_4_0_snow) {
- [150, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_4_spriteset_default_construction_state_0) {
- [150, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_4_spriteset_default_construction_state_1) {
- [150, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_4_spriteset_default_construction_state_2) {
- [150, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_5_0) {
- [220, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_5_0_snow) {
- [220, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_5_spriteset_default_construction_state_0) {
- [220, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_5_spriteset_default_construction_state_1) {
- [220, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_5_spriteset_default_construction_state_2) {
- [220, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_6_0) {
- [290, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_6_0_snow) {
- [290, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_6_spriteset_default_construction_state_0) {
- [290, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_6_spriteset_default_construction_state_1) {
- [290, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_6_spriteset_default_construction_state_2) {
- [290, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_7_0) {
- [360, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_7_0_snow) {
- [360, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_7_spriteset_default_construction_state_0) {
- [360, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_7_spriteset_default_construction_state_1) {
- [360, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_7_spriteset_default_construction_state_2) {
- [360, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_8_0) {
- [440, 10, 64, 74, -31, -34, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_8_0_snow) {
- [440, 10, 64, 74, -31, -34, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_8_spriteset_default_construction_state_0) {
- [440, 10, 64, 74, -31, -34, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_8_spriteset_default_construction_state_1) {
- [440, 10, 64, 74, -31, -34, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_8_spriteset_default_construction_state_2) {
- [440, 10, 64, 74, -31, -34, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_9_0) {
- [150, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_9_0_snow) {
- [150, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_9_spriteset_default_construction_state_0) {
- [150, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_9_spriteset_default_construction_state_1) {
- [150, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_9_spriteset_default_construction_state_2) {
- [150, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_10_0) {
- [150, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_10_0_snow) {
- [150, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_10_spriteset_default_construction_state_0) {
- [150, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_10_spriteset_default_construction_state_1) {
- [150, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_10_spriteset_default_construction_state_2) {
- [150, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_11_0) {
- [220, 10, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_11_0_snow) {
- [220, 10, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_11_spriteset_default_construction_state_0) {
- [220, 10, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_11_spriteset_default_construction_state_1) {
- [220, 10, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_11_spriteset_default_construction_state_2) {
- [220, 10, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_12_0) {
- [10, 110, 64, 39, -35, -15, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_12_0_snow) {
- [10, 110, 64, 39, -35, -15, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_12_spriteset_default_construction_state_0) {
- [10, 110, 64, 39, -35, -15, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_12_spriteset_default_construction_state_1) {
- [10, 110, 64, 39, -35, -15, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_12_spriteset_default_construction_state_2) {
- [10, 110, 64, 39, -35, -15, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_13_0) {
- [80, 110, 64, 39, -31, -14, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_13_0_snow) {
- [80, 110, 64, 39, -31, -14, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_13_spriteset_default_construction_state_0) {
- [80, 110, 64, 39, -31, -14, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_13_spriteset_default_construction_state_1) {
- [80, 110, 64, 39, -31, -14, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_13_spriteset_default_construction_state_2) {
- [80, 110, 64, 39, -31, -14, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_14_0) {
- [150, 110, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_14_0_snow) {
- [150, 110, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_14_spriteset_default_construction_state_0) {
- [150, 110, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_14_spriteset_default_construction_state_1) {
- [150, 110, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_14_spriteset_default_construction_state_2) {
- [150, 110, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_15_0) {
- [220, 110, 64, 39, -27, -12, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_15_0_snow) {
- [220, 110, 64, 39, -27, -12, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_15_spriteset_default_construction_state_0) {
- [220, 110, 64, 39, -27, -12, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_15_spriteset_default_construction_state_1) {
- [220, 110, 64, 39, -27, -12, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_15_spriteset_default_construction_state_2) {
- [220, 110, 64, 39, -27, -12, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_16_0) {
- [290, 110, 64, 39, -15, -11, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_16_0_snow) {
- [290, 110, 64, 39, -15, -11, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_16_spriteset_default_construction_state_0) {
- [290, 110, 64, 39, -15, -11, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_16_spriteset_default_construction_state_1) {
- [290, 110, 64, 39, -15, -11, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_16_spriteset_default_construction_state_2) {
- [290, 110, 64, 39, -15, -11, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_17_0) {
- [360, 110, 64, 39, -45, -15, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_17_0_snow) {
- [360, 110, 64, 39, -45, -15, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_17_spriteset_default_construction_state_0) {
- [360, 110, 64, 39, -45, -15, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_17_spriteset_default_construction_state_1) {
- [360, 110, 64, 39, -45, -15, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_17_spriteset_default_construction_state_2) {
- [360, 110, 64, 39, -45, -15, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spriteset(port_spriteset_18_0) {
- [360, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_1.png"]
- }
- spriteset(port_spriteset_18_0_snow) {
- [360, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_1_snow.png"]
- }
- spriteset(port_spriteset_18_spriteset_default_construction_state_0) {
- [360, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_construction_1.png"]
- }
- spriteset(port_spriteset_18_spriteset_default_construction_state_1) {
- [360, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_construction_2.png"]
- }
- spriteset(port_spriteset_18_spriteset_default_construction_state_2) {
- [360, 10, 64, 39, -31, 0, ANIM | NOCROP, "src/graphics/industries/port_construction_3.png"]
- }
- spritelayout port_spritelayout_2 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_2_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_2_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_3_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_3_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_18_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_18_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_11 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_2_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_2_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_8_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_8_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_12 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_3_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_3_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_8_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_8_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_13 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_2_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_2_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_3_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_3_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_8_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_8_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_21 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_12_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_12_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_12_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_12_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_12_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_22 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_13_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_13_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_13_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_13_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_13_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_23 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_14_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_14_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_14_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_14_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_14_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_24 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_15_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_15_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_15_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_15_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_15_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_25 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_15_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_15_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_15_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_15_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_15_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_26 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_16_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_16_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_16_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_16_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_16_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_27 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: GROUNDSPRITE_WATER;
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_17_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_17_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_17_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_17_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_17_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_28 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_9_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 4;
- zoffset: 27;
- xextent: 16;
- yextent: 12;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_9_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 4;
- zoffset: 27;
- xextent: 16;
- yextent: 12;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_9_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 4;
- zoffset: 27;
- xextent: 16;
- yextent: 12;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_2_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_2_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_3_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_3_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_9_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 4;
- zoffset: 27;
- xextent: 16;
- yextent: 12;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_9_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 4;
- zoffset: 27;
- xextent: 16;
- yextent: 12;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_29 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_11_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 4;
- zoffset: 27;
- xextent: 16;
- yextent: 12;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_11_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 4;
- zoffset: 27;
- xextent: 16;
- yextent: 12;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_11_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 4;
- zoffset: 27;
- xextent: 16;
- yextent: 12;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_2_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_2_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_3_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_3_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_11_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 4;
- zoffset: 27;
- xextent: 16;
- yextent: 12;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_11_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 4;
- zoffset: 27;
- xextent: 16;
- yextent: 12;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_30 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_10_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 5;
- yoffset: 0;
- zoffset: 40;
- xextent: 11;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_10_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 5;
- yoffset: 0;
- zoffset: 40;
- xextent: 11;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_10_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 5;
- yoffset: 0;
- zoffset: 40;
- xextent: 11;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_2_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_2_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_3_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_3_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_10_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 5;
- yoffset: 0;
- zoffset: 40;
- xextent: 11;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_10_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 5;
- yoffset: 0;
- zoffset: 40;
- xextent: 11;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_null {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- }
- spritelayout port_spritelayout_coast_warehouse1 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_8_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_8_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_warehouse4 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_3_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_3_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_4_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_4_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_8_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_8_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_warehouse3 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_2_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_2_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_3_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_3_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_8_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_8_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_warehouse2 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_7_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_7_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_8_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_8_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_warehouse8 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_6_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_6_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_7_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_7_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_8_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_8_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_warehouse7 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_6_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_6_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_8_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_8_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_warehouse6 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_5_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_5_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_2_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_2_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_8_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_8_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_warehouse5 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_8_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_5_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_5_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_4_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_4_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_8_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_8_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_truck1 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_18_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_18_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_truck4 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_3_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_3_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_4_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_4_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_18_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_18_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_truck3 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_3_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_2_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_2_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_3_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_3_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_18_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_18_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_truck2 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_7_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_7_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_18_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_18_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_truck8 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_7_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_6_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_6_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_7_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_7_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_18_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_18_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_truck7 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_6_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_6_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_6_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_18_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_18_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_truck6 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_2_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_5_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_5_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_2_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_2_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_18_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_18_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- spritelayout port_spritelayout_coast_truck5 {
- // Industry-specific ground (snow aware)
- // non-snow
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: port_spriteset_0_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_5_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_4_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_1_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (construction_state != 2);
- }
- // construction states - optional (no snow awareness)
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 0);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_1(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 1);
- }
- building {
- sprite: port_spriteset_18_spriteset_default_construction_state_2(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (construction_state != 2);
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_5_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_5_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_4_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_4_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_1_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_1_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 0;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 1;
- hide_sprite: (LOAD_TEMP(245));
- }
- // buildings (snow aware)
- building {
- sprite: port_spriteset_18_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(255));
- }
- building {
- sprite: port_spriteset_18_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- xoffset: 0;
- yoffset: 0;
- zoffset: 18;
- xextent: 16;
- yextent: 16;
- zextent: 32;
- always_draw: 0;
- hide_sprite: (LOAD_TEMP(245));
- }
- }
- switch(FEAT_INDUSTRYTILES, SELF, port_spritelayout_coast_warehouse, nearby_tile_slope(0,0)) {
- 0: port_spritelayout_coast_warehouse1;
- 1: port_spritelayout_coast_warehouse4;
- 2: port_spritelayout_coast_warehouse8;
- 3: port_spritelayout_coast_warehouse2;
- 4: port_spritelayout_coast_warehouse6;
- 5: port_spritelayout_coast_warehouse5;
- 6: port_spritelayout_coast_warehouse7;
- 7: port_spritelayout_coast_warehouse1;
- 8: port_spritelayout_coast_warehouse3;
- 9: port_spritelayout_coast_warehouse4;
- 10: port_spritelayout_coast_warehouse8;
- 11: port_spritelayout_coast_warehouse2;
- 12: port_spritelayout_coast_warehouse6;
- 13: port_spritelayout_coast_warehouse5;
- 14: port_spritelayout_coast_warehouse7;
- port_spritelayout_coast_warehouse1;
- }
- switch(FEAT_INDUSTRYTILES, SELF, port_spritelayout_coast_truck, nearby_tile_slope(0,0)) {
- 0: port_spritelayout_coast_truck1;
- 1: port_spritelayout_coast_truck4;
- 2: port_spritelayout_coast_truck8;
- 3: port_spritelayout_coast_truck2;
- 4: port_spritelayout_coast_truck6;
- 5: port_spritelayout_coast_truck5;
- 6: port_spritelayout_coast_truck7;
- 7: port_spritelayout_coast_truck1;
- 8: port_spritelayout_coast_truck3;
- 9: port_spritelayout_coast_truck4;
- 10: port_spritelayout_coast_truck8;
- 11: port_spritelayout_coast_truck2;
- 12: port_spritelayout_coast_truck6;
- 13: port_spritelayout_coast_truck5;
- 14: port_spritelayout_coast_truck7;
- port_spritelayout_coast_truck1;
- }
- switch(FEAT_INDUSTRYTILES, SELF, port_industry_layout_1_graphics_switch, relative_pos) {
- relative_coord(0, 3): port_spritelayout_27;
- relative_coord(0, 4): port_spritelayout_coast_truck;
- relative_coord(1, 0): port_spritelayout_null;
- relative_coord(1, 1): port_spritelayout_11;
- relative_coord(1, 2): port_spritelayout_29;
- relative_coord(1, 3): port_spritelayout_11;
- relative_coord(1, 4): port_spritelayout_coast_warehouse;
- relative_coord(2, 1): port_spritelayout_24;
- relative_coord(2, 2): port_spritelayout_24;
- port_spritelayout_27; // a default is needed, but should never be reached, layout definitions are explicit
- }
- switch(FEAT_INDUSTRYTILES, SELF, port_industry_layout_2_graphics_switch, relative_pos) {
- relative_coord(0, 0): port_spritelayout_null;
- relative_coord(0, 1): port_spritelayout_null;
- relative_coord(0, 2): port_spritelayout_null;
- relative_coord(1, 0): port_spritelayout_23;
- relative_coord(1, 1): port_spritelayout_23;
- relative_coord(1, 255): port_spritelayout_null;
- relative_coord(2, 0): port_spritelayout_30;
- relative_coord(2, 1): port_spritelayout_12;
- relative_coord(2, 2): port_spritelayout_21;
- relative_coord(2, 255): port_spritelayout_null;
- relative_coord(3, 1): port_spritelayout_coast_warehouse;
- relative_coord(3, 2): port_spritelayout_coast_truck;
- port_spritelayout_null; // a default is needed, but should never be reached, layout definitions are explicit
- }
- switch(FEAT_INDUSTRYTILES, SELF, port_industry_layout_3_graphics_switch, relative_pos) {
- relative_coord(0, 0): port_spritelayout_coast_warehouse;
- relative_coord(0, 1): port_spritelayout_coast_warehouse;
- relative_coord(0, 2): port_spritelayout_coast_warehouse;
- relative_coord(1, 0): port_spritelayout_24;
- relative_coord(1, 2): port_spritelayout_2;
- relative_coord(2, 1): port_spritelayout_26;
- relative_coord(2, 2): port_spritelayout_28;
- relative_coord(2, 3): port_spritelayout_22;
- relative_coord(2, 4): port_spritelayout_null;
- relative_coord(3, 2): port_spritelayout_null;
- relative_coord(3, 3): port_spritelayout_null;
- port_spritelayout_coast_warehouse; // a default is needed, but should never be reached, layout definitions are explicit
- }
- switch(FEAT_INDUSTRYTILES, SELF, port_industry_layout_4_graphics_switch, relative_pos) {
- relative_coord(0, 0): port_spritelayout_coast_warehouse;
- relative_coord(0, 1): port_spritelayout_2;
- relative_coord(0, 2): port_spritelayout_29;
- relative_coord(0, 3): port_spritelayout_11;
- relative_coord(0, 4): port_spritelayout_28;
- relative_coord(0, 5): port_spritelayout_null;
- relative_coord(1, 0): port_spritelayout_coast_warehouse;
- relative_coord(1, 1): port_spritelayout_28;
- relative_coord(1, 2): port_spritelayout_25;
- relative_coord(1, 4): port_spritelayout_25;
- relative_coord(1, 5): port_spritelayout_null;
- relative_coord(2, 3): port_spritelayout_null;
- relative_coord(2, 4): port_spritelayout_null;
- relative_coord(2, 5): port_spritelayout_null;
- port_spritelayout_coast_warehouse; // a default is needed, but should never be reached, layout definitions are explicit
- }
- switch(FEAT_INDUSTRYTILES, SELF, port_industry_layout_5_graphics_switch, relative_pos) {
- relative_coord(0, 0): port_spritelayout_coast_warehouse;
- relative_coord(1, 0): port_spritelayout_12;
- relative_coord(1, 2): port_spritelayout_null;
- relative_coord(2, 0): port_spritelayout_12;
- relative_coord(2, 1): port_spritelayout_29;
- relative_coord(2, 2): port_spritelayout_28;
- relative_coord(2, 3): port_spritelayout_null;
- relative_coord(3, 0): port_spritelayout_12;
- relative_coord(3, 1): port_spritelayout_2;
- relative_coord(3, 2): port_spritelayout_28;
- relative_coord(3, 3): port_spritelayout_null;
- relative_coord(4, 255): port_spritelayout_null;
- relative_coord(4, 0): port_spritelayout_13;
- relative_coord(4, 1): port_spritelayout_24;
- relative_coord(4, 2): port_spritelayout_24;
- relative_coord(4, 3): port_spritelayout_null;
- relative_coord(5, 255): port_spritelayout_null;
- relative_coord(5, 0): port_spritelayout_null;
- relative_coord(5, 1): port_spritelayout_null;
- relative_coord(5, 2): port_spritelayout_null;
- relative_coord(5, 3): port_spritelayout_null;
- port_spritelayout_coast_warehouse; // a default is needed, but should never be reached, layout definitions are explicit
- }
- switch(FEAT_INDUSTRYTILES, PARENT, port_industry_graphics_switch_layouts, layout_num) {
- 1: port_industry_layout_1_graphics_switch;
- 2: port_industry_layout_2_graphics_switch;
- 3: port_industry_layout_3_graphics_switch;
- 4: port_industry_layout_4_graphics_switch;
- 5: port_industry_layout_5_graphics_switch;
- port_industry_layout_1_graphics_switch; // default
- }
- switch(FEAT_INDUSTRYTILES, SELF, port_industry_construction_state_graphics_switch, construction_state) {
- 0..2: port_industry_graphics_switch_layouts;
- port_industry_graphics_switch_layouts; // default
- }
- switch(FEAT_INDUSTRYTILES, SELF, port_store_temp_vars,
- [STORE_TEMP(terrain_type == TILETYPE_SNOW, 13)
- , STORE_TEMP(0,
- 255)
- , STORE_TEMP(construction_state != 3 ? 1 : LOAD_TEMP(255),
- 255)
- , STORE_TEMP(LOAD_TEMP(13) == 0 ? 1 : LOAD_TEMP(255),
- 245)
- , STORE_TEMP(LOAD_TEMP(13) == 1 ? 1 : LOAD_TEMP(255),
- 255)
- ]) {
- port_industry_construction_state_graphics_switch; // default
- }
- switch(FEAT_INDUSTRYTILES, PARENT, port_industry_master_graphics_switch, STORE_TEMP(random_bits, 14)) {
- port_store_temp_vars; // default
- }
- switch (FEAT_INDUSTRYTILES, SELF, port_tile_fence_station, [
- STORE_TEMP(LOAD_TEMP(9) * (nearby_tile_class(-1, 0) != TILE_CLASS_STATION), 9),
- STORE_TEMP(LOAD_TEMP(10) * (nearby_tile_class( 0, -1) != TILE_CLASS_STATION), 10),
- STORE_TEMP(LOAD_TEMP(11) * (nearby_tile_class( 0, 1) != TILE_CLASS_STATION), 11),
- STORE_TEMP(LOAD_TEMP(12) * (nearby_tile_class( 1, 0) != TILE_CLASS_STATION), 12),
- ]) {
- port_industry_master_graphics_switch;
- }
- switch (FEAT_INDUSTRYTILES, SELF, port_tile_fence_industry, [
- STORE_TEMP(LOAD_TEMP(9) * !nearby_tile_is_same_industry(-1, 0), 9),
- STORE_TEMP(LOAD_TEMP(10) * !nearby_tile_is_same_industry( 0, -1), 10),
- STORE_TEMP(LOAD_TEMP(11) * !nearby_tile_is_same_industry( 0, 1), 11),
- STORE_TEMP(LOAD_TEMP(12) * !nearby_tile_is_same_industry( 1, 0), 12),
- ]) {
- port_tile_fence_station;
- }
- switch (FEAT_INDUSTRYTILES, SELF, port_tile_fences, [
- STORE_TEMP(0, 1),
- STORE_TEMP(0, 2),
- STORE_TEMP(0, 3),
- STORE_TEMP(0, 4),
- STORE_TEMP(1, 9),
- STORE_TEMP(1, 10),
- STORE_TEMP(1, 11),
- STORE_TEMP(1, 12),
- STORE_TEMP(0, 5),
- STORE_TEMP(0, 6),
- STORE_TEMP(0, 7),
- STORE_TEMP(0, 8),
- ]) {
- port_tile_fence_industry;
- }
- switch(FEAT_INDUSTRYTILES, SELF, port_tile_2_lc_1, nearby_tile_slope(0,0) == SLOPE_FLAT) {
- 1: return CB_RESULT_LOCATION_DISALLOW;
- return CB_RESULT_LOCATION_ALLOW;
- }
- switch(FEAT_INDUSTRYTILES, SELF, port_tile_2_lc_0, nearby_tile_water_class(0,0)) {
- WATER_CLASS_SEA: port_tile_2_lc_1;
- WATER_CLASS_NONE: port_tile_2_lc_1;
- return CB_RESULT_LOCATION_DISALLOW;
- }
- item(FEAT_INDUSTRYTILES, port_tile_1, 169) {
- property {
- substitute: 0;
- land_shape_flags: bitmask(LSF_ONLY_ON_FLAT_LAND);
- animation_triggers: bitmask();
- }
- graphics {
- port_tile_fences;
- }
- }
- if (economy==0) {
- item(FEAT_INDUSTRYTILES, port_tile_1, 169) {
- property {
- accepted_cargos: [[cargotype("BEER"), 8],[cargotype("GOOD"), 8]];
- }
- }
- }
- if (economy==1) {
- item(FEAT_INDUSTRYTILES, port_tile_1, 169) {
- property {
- accepted_cargos: [[cargotype("PAPR"), 8],[cargotype("ZINC"), 8]];
- }
- }
- }
- if (economy==4) {
- item(FEAT_INDUSTRYTILES, port_tile_1, 169) {
- property {
- accepted_cargos: [[cargotype("COPR"), 8],[cargotype("JAVA"), 8],[cargotype("WOOL"), 8]];
- }
- }
- }
- if (economy==5) {
- item(FEAT_INDUSTRYTILES, port_tile_1, 169) {
- property {
- accepted_cargos: [[cargotype("FOOD"), 8],[cargotype("PIPE"), 8]];
- }
- }
- }
- if (economy==3) {
- item(FEAT_INDUSTRYTILES, port_tile_1, 169) {
- property {
- accepted_cargos: [[cargotype("WDPR"), 8],[cargotype("COPR"), 8],[cargotype("FRUT"), 8]];
- }
- }
- }
- if (economy==2) {
- item(FEAT_INDUSTRYTILES, port_tile_1, 169) {
- property {
- accepted_cargos: [[cargotype("FOOD"), 8],[cargotype("BDMT"), 8],[cargotype("MAIL"), 8]];
- }
- }
- }
- item(FEAT_INDUSTRYTILES, port_tile_2, 170) {
- property {
- substitute: 0;
- land_shape_flags: 0;
- animation_triggers: bitmask();
- }
- graphics {
- tile_check: port_tile_2_lc_0;
- foundations: return CB_RESULT_NO_FOUNDATIONS;
- port_tile_fences;
- }
- }
- if (economy==0) {
- item(FEAT_INDUSTRYTILES, port_tile_2, 170) {
- property {
- accepted_cargos: [[cargotype("BEER"), 8],[cargotype("GOOD"), 8]];
- }
- }
- }
- if (economy==1) {
- item(FEAT_INDUSTRYTILES, port_tile_2, 170) {
- property {
- accepted_cargos: [[cargotype("PAPR"), 8],[cargotype("ZINC"), 8]];
- }
- }
- }
- if (economy==4) {
- item(FEAT_INDUSTRYTILES, port_tile_2, 170) {
- property {
- accepted_cargos: [[cargotype("COPR"), 8],[cargotype("JAVA"), 8],[cargotype("WOOL"), 8]];
- }
- }
- }
- if (economy==5) {
- item(FEAT_INDUSTRYTILES, port_tile_2, 170) {
- property {
- accepted_cargos: [[cargotype("FOOD"), 8],[cargotype("PIPE"), 8]];
- }
- }
- }
- if (economy==3) {
- item(FEAT_INDUSTRYTILES, port_tile_2, 170) {
- property {
- accepted_cargos: [[cargotype("WDPR"), 8],[cargotype("COPR"), 8],[cargotype("FRUT"), 8]];
- }
- }
- }
- if (economy==2) {
- item(FEAT_INDUSTRYTILES, port_tile_2, 170) {
- property {
- accepted_cargos: [[cargotype("FOOD"), 8],[cargotype("BDMT"), 8],[cargotype("MAIL"), 8]];
- }
- }
- }
- /* *************************************************
- * Definition of the industry
- * *************************************************/
- tilelayout port_industry_layout_1_tilelayout {
- 0, 3: port_tile_1;
- 0, 4: port_tile_2;
- 1, 0: 255;
- 1, 1: port_tile_1;
- 1, 2: port_tile_1;
- 1, 3: port_tile_1;
- 1, 4: port_tile_2;
- 2, 1: port_tile_1;
- 2, 2: port_tile_1;
- }
- tilelayout port_industry_layout_2_tilelayout {
- 0, 0: 255;
- 0, 1: 255;
- 0, 2: 255;
- 1, 0: port_tile_1;
- 1, 1: port_tile_1;
- 1, 255: 255;
- 2, 0: port_tile_1;
- 2, 1: port_tile_1;
- 2, 2: port_tile_1;
- 2, 255: 255;
- 3, 1: port_tile_2;
- 3, 2: port_tile_2;
- }
- tilelayout port_industry_layout_3_tilelayout {
- 0, 0: port_tile_2;
- 0, 1: port_tile_2;
- 0, 2: port_tile_2;
- 1, 0: port_tile_1;
- 1, 2: port_tile_1;
- 2, 1: port_tile_1;
- 2, 2: port_tile_1;
- 2, 3: port_tile_1;
- 2, 4: 255;
- 3, 2: 255;
- 3, 3: 255;
- }
- tilelayout port_industry_layout_4_tilelayout {
- 0, 0: port_tile_2;
- 0, 1: port_tile_1;
- 0, 2: port_tile_1;
- 0, 3: port_tile_1;
- 0, 4: port_tile_1;
- 0, 5: 255;
- 1, 0: port_tile_2;
- 1, 1: port_tile_1;
- 1, 2: port_tile_1;
- 1, 4: port_tile_1;
- 1, 5: 255;
- 2, 3: 255;
- 2, 4: 255;
- 2, 5: 255;
- }
- tilelayout port_industry_layout_5_tilelayout {
- 0, 0: port_tile_2;
- 1, 0: port_tile_1;
- 1, 2: 255;
- 2, 0: port_tile_1;
- 2, 1: port_tile_1;
- 2, 2: port_tile_1;
- 2, 3: 255;
- 3, 0: port_tile_1;
- 3, 1: port_tile_1;
- 3, 2: port_tile_1;
- 3, 3: 255;
- 4, 255: 255;
- 4, 0: port_tile_1;
- 4, 1: port_tile_1;
- 4, 2: port_tile_1;
- 4, 3: 255;
- 5, 255: 255;
- 5, 0: 255;
- 5, 1: 255;
- 5, 2: 255;
- 5, 3: 255;
- }
- switch(FEAT_INDUSTRIES, SELF, port_extra_text, [
- STORE_TEMP((primary_level1_requirement * 8) |
- (primary_level2_requirement * 8) << 16, 0x100),
- LOAD_PERM(3)
- ]) {
- primary_level2_bonus: return string(STR_PORT_PRODUCTION_4X);
- primary_level1_bonus: return string(STR_PORT_PRODUCTION_2X);
- return string(STR_PORT_PRODUCTION_1X);
- }
- switch (FEAT_INDUSTRIES, SELF, port_cargo_subtype_display, 1) {
- return 0x3800 + string(STR_EMPTY);
- }
- /* Primary production which is boosted by supplies */
- produce(port_production, 9999, 9999, 9999, 0, 0, 0);
- switch(FEAT_INDUSTRIES, SELF, port_produce, STORE_PERM(waiting_cargo_1 + waiting_cargo_2 + waiting_cargo_3 + LOAD_PERM(0), 0)) {
- port_production;
- }
- produce(port_production_256, 0, 0, 0, LOAD_TEMP(9) * production_rate_1 / 100, LOAD_TEMP(9) * production_rate_2 / 100, 0);
- switch(FEAT_INDUSTRIES, SELF, port_produce_256_ticks,
- [STORE_TEMP(
- LOAD_PERM(0) +
- LOAD_PERM(1) +
- LOAD_PERM(2),
- 8),
- STORE_TEMP((LOAD_TEMP(8) >= (8 * primary_level2_requirement)) ? primary_level2_bonus :
- (LOAD_TEMP(8) >= (8 * primary_level1_requirement)) ? primary_level1_bonus : 0, 9),
- STORE_PERM(LOAD_TEMP(9), 3)
- ]) {
- port_production_256;
- }
- /* =================================== */
- /* Production change evaluated monthly */
- /* =================================== */
- switch(FEAT_INDUSTRIES, SELF, port_monthly_update, [
- STORE_PERM(LOAD_PERM(1), 2),
- STORE_PERM(LOAD_PERM(0), 1),
- STORE_PERM(0, 0)
- ]) {
- return CB_RESULT_IND_PROD_NO_CHANGE;
- }
- switch(FEAT_INDUSTRIES, SELF, port_check_availability_param, restrict_open_during_gameplay) {
- 1..255: return CB_RESULT_IND_NO_CONSTRUCTION; // disallow when restrictions in place
- return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; // we may build
- }
- switch (FEAT_INDUSTRIES, SELF, port_check_map_gen, extra_callback_info2 == IND_CREATION_GENERATION) {
- 1: return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY;
- port_check_availability_param;
- }
- switch (FEAT_INDUSTRIES, SELF, port_available_game_mode, game_mode == GAMEMODE_GAME) {
- 1: port_check_map_gen;
- return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY;
- }
- /* 0 */
- switch (FEAT_INDUSTRIES, SELF, port_check_availability_0, current_date) {
- date(0,1,1) .. date(5000000,12,31): port_available_game_mode;
- return CB_RESULT_IND_NO_CONSTRUCTION;
- }
- /* 0 */
- switch (FEAT_INDUSTRIES, SELF, port_check_availability_1, current_date) {
- date(0,1,1) .. date(5000000,12,31): port_available_game_mode;
- return CB_RESULT_IND_NO_CONSTRUCTION;
- }
- /* 0 */
- switch (FEAT_INDUSTRIES, SELF, port_check_availability_4, current_date) {
- date(0,1,1) .. date(5000000,12,31): port_available_game_mode;
- return CB_RESULT_IND_NO_CONSTRUCTION;
- }
- /* 0 */
- switch (FEAT_INDUSTRIES, SELF, port_check_availability_5, current_date) {
- date(0,1,1) .. date(5000000,12,31): port_available_game_mode;
- return CB_RESULT_IND_NO_CONSTRUCTION;
- }
- /* 0 */
- switch (FEAT_INDUSTRIES, SELF, port_check_availability_3, current_date) {
- date(0,1,1) .. date(5000000,12,31): port_available_game_mode;
- return CB_RESULT_IND_NO_CONSTRUCTION;
- }
- /* 0 */
- switch (FEAT_INDUSTRIES, SELF, port_check_availability_2, current_date) {
- date(0,1,1) .. date(5000000,12,31): port_available_game_mode;
- return CB_RESULT_IND_NO_CONSTRUCTION;
- }
- switch (FEAT_INDUSTRIES, SELF, port_check_availability, economy) {
- 0: port_check_availability_0;
- 1: port_check_availability_1;
- 4: port_check_availability_4;
- 5: port_check_availability_5;
- 3: port_check_availability_3;
- 2: port_check_availability_2;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_45, industry_distance(45)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- return CB_RESULT_LOCATION_ALLOW;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_35, industry_distance(35)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_45;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_67, industry_distance(67)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_35;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_51, industry_distance(51)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_67;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_50, industry_distance(50)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_51;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_57, industry_distance(57)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_50;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_69, industry_distance(69)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_57;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_59, industry_distance(59)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_69;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_70, industry_distance(70)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_59;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_52, industry_distance(52)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_70;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_30, industry_distance(30)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_52;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_82, industry_distance(82)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_30;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_31, industry_distance(31)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_82;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_12, industry_distance(12)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_31;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_34, industry_distance(34)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_12;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_87, industry_distance(87)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_34;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_56, industry_distance(56)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_87;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_68, industry_distance(68)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_56;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_60, industry_distance(60)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_68;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_89, industry_distance(89)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_60;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_13, industry_distance(13)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_89;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_58, industry_distance(58)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_13;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_84, industry_distance(84)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_58;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_90, industry_distance(90)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_84;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_43, industry_distance(43)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_90;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_47, industry_distance(47)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_43;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_9, industry_distance(9)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_47;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_41, industry_distance(41)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_9;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_61, industry_distance(61)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_41;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_2, industry_distance(2)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_61;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_29, industry_distance(29)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_2;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_36, industry_distance(36)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_29;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_72, industry_distance(72)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_36;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_48, industry_distance(48)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_72;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_85, industry_distance(85)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_48;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_27, industry_distance(27)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_85;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_94, industry_distance(94)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_27;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_37, industry_distance(37)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_94;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_22, industry_distance(22)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_37;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_14, industry_distance(14)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_22;
- }
- switch (FEAT_INDUSTRIES, SELF, port_min_distance_39, industry_distance(39)) {
- 0 .. 16: return CB_RESULT_LOCATION_DISALLOW;
- port_min_distance_14;
- }
- switch (FEAT_INDUSTRIES, SELF, port_check_location, (
- (extra_callback_info2 == IND_CREATION_FUND) ||
- (extra_callback_info2 == IND_CREATION_PROSPECT)
- )
- ) {
- 1: return CB_RESULT_LOCATION_ALLOW;
- port_min_distance_39;
- }
- if (economy==0) {
- item(FEAT_INDUSTRIES, port, 39) {
- property {
- substitute: 0;
- override: 0;
- map_colour: 186;
- life_type: IND_LIFE_TYPE_BLACK_HOLE;
- min_cargo_distr: 5;
- spec_flags: bitmask(IND_FLAG_BUILT_ON_WATER, IND_FLAG_LONG_CARGO_TYPE_LISTS);
- layouts: [port_industry_layout_1_tilelayout,port_industry_layout_2_tilelayout,port_industry_layout_3_tilelayout,port_industry_layout_4_tilelayout,port_industry_layout_5_tilelayout];
- conflicting_ind_types: []; // set this prop empty, FIRS has it's own better checks for this
- random_sound_effects: []; // set this empty to avoid spurious default industry sounds (as of May 2017 FIRS does not yet use sound effects)
- name: string(STR_IND_PORT);
- prod_multiplier: [19];
- input_multiplier_1: [0, 0];
- input_multiplier_2: [0, 0];
- input_multiplier_3: [0, 0];
- prob_random: 6;
- prob_in_game: 2;
- prospect_chance: 0.75;
- fund_cost_multiplier: 152;
- remove_cost_multiplier: 0;
- remove_cost_multiplier: 0;
- accept_cargo_types: [cargotype("BEER"),cargotype("GOOD")];
- prod_cargo_types: [cargotype("ENSP")];
- nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_INDUSTRY_HARBOUR_2));
- }
- }
- }
- if (economy==1) {
- item(FEAT_INDUSTRIES, port, 39) {
- property {
- substitute: 0;
- override: 0;
- map_colour: 186;
- life_type: IND_LIFE_TYPE_BLACK_HOLE;
- min_cargo_distr: 5;
- spec_flags: bitmask(IND_FLAG_BUILT_ON_WATER, IND_FLAG_LONG_CARGO_TYPE_LISTS);
- layouts: [port_industry_layout_1_tilelayout,port_industry_layout_2_tilelayout,port_industry_layout_3_tilelayout,port_industry_layout_4_tilelayout,port_industry_layout_5_tilelayout];
- conflicting_ind_types: []; // set this prop empty, FIRS has it's own better checks for this
- random_sound_effects: []; // set this empty to avoid spurious default industry sounds (as of May 2017 FIRS does not yet use sound effects)
- name: string(STR_IND_PORT);
- prod_multiplier: [9];
- input_multiplier_1: [0, 0];
- input_multiplier_2: [0, 0];
- input_multiplier_3: [0, 0];
- prob_random: 6;
- prob_in_game: 2;
- prospect_chance: 0.75;
- fund_cost_multiplier: 152;
- remove_cost_multiplier: 0;
- remove_cost_multiplier: 0;
- accept_cargo_types: [cargotype("PAPR"),cargotype("ZINC")];
- prod_cargo_types: [cargotype("ENSP")];
- nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_INDUSTRY_HARBOUR_2));
- }
- }
- }
- if (economy==4) {
- item(FEAT_INDUSTRIES, port, 39) {
- property {
- substitute: 0;
- override: 0;
- map_colour: 186;
- life_type: IND_LIFE_TYPE_BLACK_HOLE;
- min_cargo_distr: 5;
- spec_flags: bitmask(IND_FLAG_BUILT_ON_WATER, IND_FLAG_LONG_CARGO_TYPE_LISTS);
- layouts: [port_industry_layout_1_tilelayout,port_industry_layout_2_tilelayout,port_industry_layout_3_tilelayout,port_industry_layout_4_tilelayout,port_industry_layout_5_tilelayout];
- conflicting_ind_types: []; // set this prop empty, FIRS has it's own better checks for this
- random_sound_effects: []; // set this empty to avoid spurious default industry sounds (as of May 2017 FIRS does not yet use sound effects)
- name: string(STR_IND_PORT);
- prod_multiplier: [8, 17];
- input_multiplier_1: [0, 0];
- input_multiplier_2: [0, 0];
- input_multiplier_3: [0, 0];
- prob_random: 6;
- prob_in_game: 2;
- prospect_chance: 0.75;
- fund_cost_multiplier: 152;
- remove_cost_multiplier: 0;
- remove_cost_multiplier: 0;
- accept_cargo_types: [cargotype("COPR"),cargotype("JAVA"),cargotype("WOOL")];
- prod_cargo_types: [cargotype("ENSP"),cargotype("GOOD")];
- nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_INDUSTRY_HARBOUR_2));
- }
- }
- }
- if (economy==5) {
- item(FEAT_INDUSTRIES, port, 39) {
- property {
- substitute: 0;
- override: 0;
- map_colour: 186;
- life_type: IND_LIFE_TYPE_BLACK_HOLE;
- min_cargo_distr: 5;
- spec_flags: bitmask(IND_FLAG_BUILT_ON_WATER, IND_FLAG_LONG_CARGO_TYPE_LISTS);
- layouts: [port_industry_layout_1_tilelayout,port_industry_layout_2_tilelayout,port_industry_layout_3_tilelayout,port_industry_layout_4_tilelayout,port_industry_layout_5_tilelayout];
- conflicting_ind_types: []; // set this prop empty, FIRS has it's own better checks for this
- random_sound_effects: []; // set this empty to avoid spurious default industry sounds (as of May 2017 FIRS does not yet use sound effects)
- name: string(STR_IND_PORT);
- prod_multiplier: [16, 16];
- input_multiplier_1: [0, 0];
- input_multiplier_2: [0, 0];
- input_multiplier_3: [0, 0];
- prob_random: 6;
- prob_in_game: 2;
- prospect_chance: 0.75;
- fund_cost_multiplier: 152;
- remove_cost_multiplier: 0;
- remove_cost_multiplier: 0;
- accept_cargo_types: [cargotype("FOOD"),cargotype("PIPE")];
- prod_cargo_types: [cargotype("ZINC"),cargotype("RUBR")];
- nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_INDUSTRY_HARBOUR_2));
- }
- }
- }
- if (economy==3) {
- item(FEAT_INDUSTRIES, port, 39) {
- property {
- substitute: 0;
- override: 0;
- map_colour: 186;
- life_type: IND_LIFE_TYPE_BLACK_HOLE;
- min_cargo_distr: 5;
- spec_flags: bitmask(IND_FLAG_BUILT_ON_WATER, IND_FLAG_LONG_CARGO_TYPE_LISTS);
- layouts: [port_industry_layout_1_tilelayout,port_industry_layout_2_tilelayout,port_industry_layout_3_tilelayout,port_industry_layout_4_tilelayout,port_industry_layout_5_tilelayout];
- conflicting_ind_types: []; // set this prop empty, FIRS has it's own better checks for this
- random_sound_effects: []; // set this empty to avoid spurious default industry sounds (as of May 2017 FIRS does not yet use sound effects)
- name: string(STR_IND_PORT);
- prod_multiplier: [17, 14];
- input_multiplier_1: [0, 0];
- input_multiplier_2: [0, 0];
- input_multiplier_3: [0, 0];
- prob_random: 6;
- prob_in_game: 2;
- prospect_chance: 0.75;
- fund_cost_multiplier: 152;
- remove_cost_multiplier: 0;
- remove_cost_multiplier: 0;
- accept_cargo_types: [cargotype("WDPR"),cargotype("COPR"),cargotype("FRUT")];
- prod_cargo_types: [cargotype("ENSP"),cargotype("GOOD")];
- nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_INDUSTRY_HARBOUR_2));
- }
- }
- }
- if (economy==2) {
- item(FEAT_INDUSTRIES, port, 39) {
- property {
- substitute: 0;
- override: 0;
- map_colour: 186;
- life_type: IND_LIFE_TYPE_BLACK_HOLE;
- min_cargo_distr: 5;
- spec_flags: bitmask(IND_FLAG_BUILT_ON_WATER, IND_FLAG_LONG_CARGO_TYPE_LISTS);
- layouts: [port_industry_layout_1_tilelayout,port_industry_layout_2_tilelayout,port_industry_layout_3_tilelayout,port_industry_layout_4_tilelayout,port_industry_layout_5_tilelayout];
- conflicting_ind_types: []; // set this prop empty, FIRS has it's own better checks for this
- random_sound_effects: []; // set this empty to avoid spurious default industry sounds (as of May 2017 FIRS does not yet use sound effects)
- name: string(STR_IND_PORT);
- prod_multiplier: [9, 7, 20, 14];
- input_multiplier_1: [0, 0];
- input_multiplier_2: [0, 0];
- input_multiplier_3: [0, 0];
- prob_random: 6;
- prob_in_game: 2;
- prospect_chance: 0.75;
- fund_cost_multiplier: 152;
- remove_cost_multiplier: 0;
- remove_cost_multiplier: 0;
- accept_cargo_types: [cargotype("FOOD"),cargotype("BDMT"),cargotype("MAIL"),cargotype("FRUT"),cargotype("GOOD")];
- prod_cargo_types: [cargotype("ENUM"),cargotype("GLUE"),cargotype("PASS"),cargotype("BEER")];
- nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_INDUSTRY_HARBOUR_2));
- }
- }
- }
- if (economy==0) {
- item(FEAT_INDUSTRIES, port, 39) {
- graphics {
- construction_probability: port_check_availability;
- build_prod_change: randomise_primary_production_on_build;
- produce_cargo_arrival: port_produce;
- produce_256_ticks: port_produce_256_ticks;
- monthly_prod_change: port_monthly_update;
- random_prod_change: return CB_RESULT_IND_PROD_NO_CHANGE;
- location_check: port_check_location;
- extra_text_fund: return CB_RESULT_NO_TEXT;
- extra_text_industry: port_extra_text;
- cargo_subtype_display: port_cargo_subtype_display;
- colour: switch_colour;
- }
- }
- }
- if (economy==1) {
- item(FEAT_INDUSTRIES, port, 39) {
- graphics {
- construction_probability: port_check_availability;
- build_prod_change: randomise_primary_production_on_build;
- produce_cargo_arrival: port_produce;
- produce_256_ticks: port_produce_256_ticks;
- monthly_prod_change: port_monthly_update;
- random_prod_change: return CB_RESULT_IND_PROD_NO_CHANGE;
- location_check: port_check_location;
- extra_text_fund: return CB_RESULT_NO_TEXT;
- extra_text_industry: port_extra_text;
- cargo_subtype_display: port_cargo_subtype_display;
- colour: switch_colour;
- }
- }
- }
- if (economy==4) {
- item(FEAT_INDUSTRIES, port, 39) {
- graphics {
- construction_probability: port_check_availability;
- build_prod_change: randomise_primary_production_on_build;
- produce_cargo_arrival: port_produce;
- produce_256_ticks: port_produce_256_ticks;
- monthly_prod_change: port_monthly_update;
- random_prod_change: return CB_RESULT_IND_PROD_NO_CHANGE;
- location_check: port_check_location;
- extra_text_fund: return CB_RESULT_NO_TEXT;
- extra_text_industry: port_extra_text;
- cargo_subtype_display: port_cargo_subtype_display;
- colour: switch_colour;
- }
- }
- }
- if (economy==5) {
- item(FEAT_INDUSTRIES, port, 39) {
- graphics {
- construction_probability: port_check_availability;
- build_prod_change: randomise_primary_production_on_build;
- produce_cargo_arrival: port_produce;
- produce_256_ticks: port_produce_256_ticks;
- monthly_prod_change: port_monthly_update;
- random_prod_change: return CB_RESULT_IND_PROD_NO_CHANGE;
- location_check: port_check_location;
- extra_text_fund: return CB_RESULT_NO_TEXT;
- extra_text_industry: port_extra_text;
- cargo_subtype_display: port_cargo_subtype_display;
- colour: switch_colour;
- }
- }
- }
- if (economy==3) {
- item(FEAT_INDUSTRIES, port, 39) {
- graphics {
- construction_probability: port_check_availability;
- build_prod_change: randomise_primary_production_on_build;
- produce_cargo_arrival: port_produce;
- produce_256_ticks: port_produce_256_ticks;
- monthly_prod_change: port_monthly_update;
- random_prod_change: return CB_RESULT_IND_PROD_NO_CHANGE;
- location_check: port_check_location;
- extra_text_fund: return CB_RESULT_NO_TEXT;
- extra_text_industry: port_extra_text;
- cargo_subtype_display: port_cargo_subtype_display;
- colour: switch_colour;
- }
- }
- }
- if (economy==2) {
- item(FEAT_INDUSTRIES, port, 39) {
- graphics {
- construction_probability: port_check_availability;
- build_prod_change: randomise_primary_production_on_build;
- produce_cargo_arrival: port_produce;
- produce_256_ticks: port_produce_256_ticks;
- monthly_prod_change: port_monthly_update;
- random_prod_change: return CB_RESULT_IND_PROD_NO_CHANGE;
- location_check: port_check_location;
- extra_text_fund: return CB_RESULT_NO_TEXT;
- extra_text_industry: port_extra_text;
- cargo_subtype_display: port_cargo_subtype_display;
- colour: switch_colour;
- }
- }
- }