Created
July 10, 2021 19:30
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grf { | |
grfid: "\F1%\00\08"; | |
name: string(STR_GRF_NAME); | |
desc: string(STR_GRF_DESC); | |
url: string(STR_GRF_DOCS_URL); | |
version: 6517; | |
min_compatible_version: 6513; | |
param 0 { | |
economy_selection { | |
name: string(STR_PARAM_NAME_ECONOMIES); | |
desc: string(STR_PARAM_DESC_ECONOMIES); | |
min_value: 0; | |
max_value: 4; | |
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_IN_A_HOT_COUNTRY); | |
}; | |
} | |
} | |
param 2 { | |
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("\F1\25\00\07")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "FIRS v3")); | |
} | |
if (grf_future_status("mb\07\00")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Alpine Climate")); | |
} | |
if (grf_future_status("\45\4E\15\01")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Apollo Rocket Industry Set")); | |
} | |
if (grf_future_status("\47\47\01\04")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Australian Industries")); | |
} | |
if (grf_future_status("\47\47\20\30")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Australian Industries Set AuzIn")); | |
} | |
if (grf_future_status("\47\47\20\31")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Australian Industry AuzInd2")); | |
} | |
if (grf_future_status("\47\47\60\01")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Australian Industry AuzInd6")); | |
} | |
if (grf_future_status("\42\58\00\02")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "BSPI")); | |
} | |
if (grf_future_status("\4D\49\02\09")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "CZTR Engines-Diesel")); | |
} | |
if (grf_future_status("\4D\49\02\08")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "CZTR Engines-Electric")); | |
} | |
if (grf_future_status("\4D\49\02\10")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "CZTR Engines-EMU")); | |
} | |
if (grf_future_status("\4D\49\02\07")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "CZTR Engines-Steam")); | |
} | |
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("\4a\44\88\07")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Extreme Industry Set")); | |
} | |
if (grf_future_status("\52\53\01\01")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Improved Oil Rig Layout")); | |
} | |
if (grf_future_status("\54\54\04\01")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Improved Town 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("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("\4E\4D\11\13")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "North American Industry Set")); | |
} | |
if (grf_future_status("EN\31\01")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "North Korean Industry Set v1")); | |
} | |
if (grf_future_status("EN\31\03")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "North Korean Industry Set v1 Fix")); | |
} | |
if (grf_future_status("EN\31\02")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "North Korean Industry Set v2")); | |
} | |
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("\31\ff\05\03")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Stock Piled industries 1.1")); | |
} | |
if (grf_future_status("\31\ff\05\04")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Stock Piled industries 1.2")); | |
} | |
if (grf_future_status("\31\ff\05\05")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Stock Piled industries 1.3")); | |
} | |
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")); | |
} | |
if (grf_future_status("DD\06\01")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "UKRS Industries")); | |
} | |
if (grf_future_status("\42\58\00\02")) { | |
error(FATAL, string(STR_ERR_INCOMPATIBLE_SET, "Vanilla Industries in Stockpiling mode")); | |
} | |
/* 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; | |
}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, | |
BEER, | |
STAL, | |
ALUM, | |
NH3_, | |
BEAN, | |
BDMT, | |
CBLK, | |
STCB, | |
CASS, | |
CSTI, | |
CMNT, | |
RFPR, | |
CHLO, | |
CLAY, | |
SOAP, | |
COAL, | |
CTAR, | |
JAVA, | |
COKE, | |
COPR, | |
CORE, | |
DIAM, | |
EOIL, | |
POWR, | |
ENSP, | |
BOOM, | |
FMSP, | |
FECR, | |
FERT, | |
FISH, | |
FOOD, | |
FRUT, | |
GLAS, | |
GOOD, | |
GRAI, | |
IORE, | |
KAOL, | |
LVST, | |
WDPR, | |
LIME, | |
WOOD, | |
LYE_, | |
MAIL, | |
MAIZ, | |
MNO2, | |
MILK, | |
NITR, | |
NUTS, | |
OIL_, | |
O2__, | |
COAT, | |
PAPR, | |
PASS, | |
PEAT, | |
PETR, | |
PHOS, | |
IRON, | |
PIPE, | |
PLAS, | |
POTA, | |
PORE, | |
QLME, | |
RUBR, | |
SAND, | |
SALT, | |
SCMT, | |
SLAG, | |
SASH, | |
STST, | |
STEL, | |
STSE, | |
STSH, | |
STWR, | |
GRVL, | |
SULP, | |
TYRE, | |
VBOD, | |
VENG, | |
VPTS, | |
VEHI, | |
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, 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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_LIQUID, CC_HAZARDOUS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_ACID); | |
penalty_lowerbound: 24; | |
single_penalty_length: 48; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 183; | |
station_list_colour: 183; | |
price_factor: 109; | |
cargo_label: "ACID"; | |
number: 1; | |
} | |
graphics { | |
cargoicon_acid; | |
} | |
} | |
} | |
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; | |
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: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_ALCOHOL); | |
penalty_lowerbound: 9; | |
single_penalty_length: 36; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 183; | |
station_list_colour: 183; | |
price_factor: 166; | |
cargo_label: "BEER"; | |
number: 1; | |
} | |
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; | |
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: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_ALCOHOL); | |
penalty_lowerbound: 9; | |
single_penalty_length: 36; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 183; | |
station_list_colour: 183; | |
price_factor: 166; | |
cargo_label: "BEER"; | |
number: 1; | |
} | |
graphics { | |
cargoicon_alcohol; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, alcohol_IN_A_HOT_COUNTRY, 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; | |
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: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_ALCOHOL); | |
penalty_lowerbound: 9; | |
single_penalty_length: 36; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 183; | |
station_list_colour: 183; | |
price_factor: 166; | |
cargo_label: "BEER"; | |
number: 1; | |
} | |
graphics { | |
cargoicon_alcohol; | |
} | |
} | |
} | |
spriteset(cargoicon_alloy_steel) { | |
[10 + 20 * 11, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, alloy_steel_STEELTOWN, 3) { | |
property { | |
type_name: string(STR_CARGO_NAME_ALLOY_STEEL); | |
unit_name: string(STR_CARGO_NAME_ALLOY_STEEL); | |
type_abbreviation: string(STR_CID_ALLOY_STEEL); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_ALLOY_STEEL); | |
penalty_lowerbound: 14; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 61; | |
station_list_colour: 61; | |
price_factor: 128; | |
cargo_label: "STAL"; | |
number: 3; | |
} | |
graphics { | |
cargoicon_alloy_steel; | |
} | |
} | |
} | |
spriteset(cargoicon_aluminium) { | |
[10 + 20 * 1, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, aluminium_STEELTOWN, 4) { | |
property { | |
type_name: string(STR_CARGO_NAME_ALUMINIUM); | |
unit_name: string(STR_CARGO_NAME_ALUMINIUM); | |
type_abbreviation: string(STR_CID_ALUMINIUM); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_ALUMINIUM); | |
penalty_lowerbound: 7; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 166; | |
station_list_colour: 166; | |
price_factor: 140; | |
cargo_label: "ALUM"; | |
number: 4; | |
} | |
graphics { | |
cargoicon_aluminium; | |
} | |
} | |
} | |
spriteset(cargoicon_ammonia) { | |
[10 + 20 * 15, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==1) { | |
item(FEAT_CARGOS, ammonia_BASIC_ARCTIC, 1) { | |
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: 0.60; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_LIQUID, CC_HAZARDOUS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_AMMONIA); | |
penalty_lowerbound: 32; | |
single_penalty_length: 64; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 183; | |
station_list_colour: 183; | |
price_factor: 109; | |
cargo_label: "NH3_"; | |
number: 1; | |
} | |
graphics { | |
cargoicon_ammonia; | |
} | |
} | |
} | |
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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 61; | |
station_list_colour: 61; | |
price_factor: 119; | |
cargo_label: "BEAN"; | |
number: 3; | |
} | |
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_IN_A_HOT_COUNTRY, 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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_PIECE_GOODS, 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_BUILDING_MATERIALS); | |
penalty_lowerbound: 12; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 61; | |
station_list_colour: 61; | |
price_factor: 133; | |
cargo_label: "BDMT"; | |
number: 3; | |
} | |
graphics { | |
cargoicon_building_materials; | |
} | |
} | |
} | |
spriteset(cargoicon_carbon_black) { | |
[10 + 20 * 13, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, carbon_black_STEELTOWN, 6) { | |
property { | |
type_name: string(STR_CARGO_NAME_CARBON_BLACK); | |
unit_name: string(STR_CARGO_NAME_CARBON_BLACK); | |
type_abbreviation: string(STR_CID_CARBON_BLACK); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_PIECE_GOODS, CC_BULK, CC_COVERED, CC_POWDERIZED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_CARBON_BLACK); | |
penalty_lowerbound: 40; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 157; | |
station_list_colour: 157; | |
price_factor: 153; | |
cargo_label: "CBLK"; | |
number: 6; | |
} | |
graphics { | |
cargoicon_carbon_black; | |
} | |
} | |
} | |
spriteset(cargoicon_carbon_steel) { | |
[10 + 20 * 12, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, carbon_steel_STEELTOWN, 7) { | |
property { | |
type_name: string(STR_CARGO_NAME_CARBON_STEEL); | |
unit_name: string(STR_CARGO_NAME_CARBON_STEEL); | |
type_abbreviation: string(STR_CID_CARBON_STEEL); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_CARBON_STEEL); | |
penalty_lowerbound: 14; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 51; | |
station_list_colour: 51; | |
price_factor: 127; | |
cargo_label: "STCB"; | |
number: 7; | |
} | |
graphics { | |
cargoicon_carbon_steel; | |
} | |
} | |
} | |
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_IN_A_HOT_COUNTRY, 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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 166; | |
station_list_colour: 166; | |
price_factor: 105; | |
cargo_label: "CASS"; | |
number: 4; | |
} | |
graphics { | |
cargoicon_cassava; | |
} | |
} | |
} | |
spriteset(cargoicon_cast_iron) { | |
[10 + 20 * 0, 10 + 20 * 5, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, cast_iron_STEELTOWN, 8) { | |
property { | |
type_name: string(STR_CARGO_NAME_CAST_IRON); | |
unit_name: string(STR_CARGO_NAME_CAST_IRON); | |
type_abbreviation: string(STR_CID_CAST_IRON); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_CAST_IRON); | |
penalty_lowerbound: 15; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 141; | |
station_list_colour: 141; | |
price_factor: 120; | |
cargo_label: "CSTI"; | |
number: 8; | |
} | |
graphics { | |
cargoicon_cast_iron; | |
} | |
} | |
} | |
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, 9) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_BULK, CC_COVERED, CC_POWDERIZED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_CEMENT); | |
penalty_lowerbound: 18; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 189; | |
station_list_colour: 189; | |
price_factor: 118; | |
cargo_label: "CMNT"; | |
number: 9; | |
} | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_LIQUID, CC_PIECE_GOODS, CC_HAZARDOUS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_CHEMICALS); | |
penalty_lowerbound: 20; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 61; | |
station_list_colour: 61; | |
price_factor: 115; | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_LIQUID, CC_PIECE_GOODS, CC_HAZARDOUS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_CHEMICALS); | |
penalty_lowerbound: 20; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 166; | |
station_list_colour: 166; | |
price_factor: 115; | |
cargo_label: "RFPR"; | |
number: 4; | |
} | |
graphics { | |
cargoicon_chemicals; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, chemicals_IN_A_HOT_COUNTRY, 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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_LIQUID, CC_PIECE_GOODS, CC_HAZARDOUS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_CHEMICALS); | |
penalty_lowerbound: 20; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 157; | |
station_list_colour: 157; | |
price_factor: 115; | |
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, 10) { | |
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: 2.0; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_LIQUID, CC_HAZARDOUS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_CHLORINE); | |
penalty_lowerbound: 20; | |
single_penalty_length: 40; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 55; | |
station_list_colour: 55; | |
price_factor: 115; | |
cargo_label: "CHLO"; | |
number: 10; | |
} | |
graphics { | |
cargoicon_chlorine; | |
} | |
} | |
} | |
spriteset(cargoicon_clay) { | |
[10 + 20 * 9, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, clay_IN_A_HOT_COUNTRY, 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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_BULK, CC_COVERED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_CLAY); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 51; | |
station_list_colour: 51; | |
price_factor: 100; | |
cargo_label: "CLAY"; | |
number: 7; | |
} | |
graphics { | |
cargoicon_clay; | |
} | |
} | |
} | |
spriteset(cargoicon_cleaning_agents) { | |
[10 + 20 * 9, 10 + 20 * 5, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, cleaning_agents_STEELTOWN, 12) { | |
property { | |
type_name: string(STR_CARGO_NAME_CLEANING_AGENTS); | |
unit_name: string(STR_CARGO_NAME_CLEANING_AGENTS); | |
type_abbreviation: string(STR_CID_CLEANING_AGENTS); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_LIQUID, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_CLEANING_AGENTS); | |
penalty_lowerbound: 20; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 43; | |
station_list_colour: 43; | |
price_factor: 121; | |
cargo_label: "SOAP"; | |
number: 12; | |
} | |
graphics { | |
cargoicon_cleaning_agents; | |
} | |
} | |
} | |
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, 4) { | |
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; | |
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: 40; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 166; | |
station_list_colour: 166; | |
price_factor: 86; | |
cargo_label: "COAL"; | |
number: 4; | |
} | |
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; | |
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: 40; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 148; | |
station_list_colour: 148; | |
price_factor: 86; | |
cargo_label: "COAL"; | |
number: 13; | |
} | |
graphics { | |
cargoicon_coal; | |
} | |
} | |
} | |
spriteset(cargoicon_coal_tar) { | |
[10 + 20 * 14, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, coal_tar_STEELTOWN, 14) { | |
property { | |
type_name: string(STR_CARGO_NAME_COAL_TAR); | |
unit_name: string(STR_CARGO_NAME_COAL_TAR); | |
type_abbreviation: string(STR_CID_COAL_TAR); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_LIQUID, CC_HAZARDOUS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_COAL_TAR); | |
penalty_lowerbound: 64; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 5; | |
station_list_colour: 5; | |
price_factor: 98; | |
cargo_label: "CTAR"; | |
number: 14; | |
} | |
graphics { | |
cargoicon_coal_tar; | |
} | |
} | |
} | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_PIECE_GOODS, CC_EXPRESS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_BAGS; | |
items_of_cargo: string(STR_CARGO_UNIT_COFFEE); | |
penalty_lowerbound: 0; | |
single_penalty_length: 26; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 157; | |
station_list_colour: 157; | |
price_factor: 173; | |
cargo_label: "JAVA"; | |
number: 6; | |
} | |
graphics { | |
cargoicon_coffee; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, coffee_IN_A_HOT_COUNTRY, 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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_PIECE_GOODS, CC_EXPRESS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_BAGS; | |
items_of_cargo: string(STR_CARGO_UNIT_COFFEE); | |
penalty_lowerbound: 0; | |
single_penalty_length: 26; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 141; | |
station_list_colour: 141; | |
price_factor: 173; | |
cargo_label: "JAVA"; | |
number: 8; | |
} | |
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, 15) { | |
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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 160; | |
station_list_colour: 160; | |
price_factor: 97; | |
cargo_label: "COKE"; | |
number: 15; | |
} | |
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; | |
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_COPPER); | |
penalty_lowerbound: 7; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 51; | |
station_list_colour: 51; | |
price_factor: 146; | |
cargo_label: "COPR"; | |
number: 7; | |
} | |
graphics { | |
cargoicon_copper; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, copper_IN_A_HOT_COUNTRY, 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; | |
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_COPPER); | |
penalty_lowerbound: 7; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 189; | |
station_list_colour: 189; | |
price_factor: 146; | |
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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 141; | |
station_list_colour: 141; | |
price_factor: 89; | |
cargo_label: "CORE"; | |
number: 8; | |
} | |
graphics { | |
cargoicon_copper_ore; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, copper_ore_IN_A_HOT_COUNTRY, 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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 55; | |
station_list_colour: 55; | |
price_factor: 89; | |
cargo_label: "CORE"; | |
number: 10; | |
} | |
graphics { | |
cargoicon_copper_ore; | |
} | |
} | |
} | |
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_IN_A_HOT_COUNTRY, 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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_ARMOURED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_BAGS; | |
items_of_cargo: TTD_STR_QUANTITY_DIAMONDS; | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 43; | |
station_list_colour: 43; | |
price_factor: 162; | |
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_IN_A_HOT_COUNTRY, 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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_PIECE_GOODS, CC_LIQUID); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_EDIBLE_OIL); | |
penalty_lowerbound: 20; | |
single_penalty_length: 128; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 148; | |
station_list_colour: 148; | |
price_factor: 116; | |
cargo_label: "EOIL"; | |
number: 13; | |
} | |
graphics { | |
cargoicon_edible_oil; | |
} | |
} | |
} | |
spriteset(cargoicon_electrical_parts) { | |
[10 + 20 * 5, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, electrical_parts_STEELTOWN, 16) { | |
property { | |
type_name: string(STR_CARGO_NAME_ELECTRICAL_PARTS); | |
unit_name: string(STR_CARGO_NAME_ELECTRICAL_PARTS); | |
type_abbreviation: string(STR_CID_ELECTRICAL_PARTS); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_ELECTRICAL_PARTS); | |
penalty_lowerbound: 7; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 127; | |
station_list_colour: 127; | |
price_factor: 148; | |
cargo_label: "POWR"; | |
number: 16; | |
} | |
graphics { | |
cargoicon_electrical_parts; | |
} | |
} | |
} | |
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, 6) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_CRATES; | |
items_of_cargo: string(STR_CARGO_UNIT_ENGINEERING_SUPPLIES); | |
penalty_lowerbound: 2; | |
single_penalty_length: 32; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 157; | |
station_list_colour: 157; | |
price_factor: 172; | |
cargo_label: "ENSP"; | |
number: 6; | |
} | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_CRATES; | |
items_of_cargo: string(STR_CARGO_UNIT_ENGINEERING_SUPPLIES); | |
penalty_lowerbound: 2; | |
single_penalty_length: 32; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 61; | |
station_list_colour: 61; | |
price_factor: 172; | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_CRATES; | |
items_of_cargo: string(STR_CARGO_UNIT_ENGINEERING_SUPPLIES); | |
penalty_lowerbound: 2; | |
single_penalty_length: 32; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 189; | |
station_list_colour: 189; | |
price_factor: 172; | |
cargo_label: "ENSP"; | |
number: 9; | |
} | |
graphics { | |
cargoicon_engineering_supplies; | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, engineering_supplies_STEELTOWN, 17) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_CRATES; | |
items_of_cargo: string(STR_CARGO_UNIT_ENGINEERING_SUPPLIES); | |
penalty_lowerbound: 2; | |
single_penalty_length: 32; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 143; | |
station_list_colour: 143; | |
price_factor: 172; | |
cargo_label: "ENSP"; | |
number: 17; | |
} | |
graphics { | |
cargoicon_engineering_supplies; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, engineering_supplies_IN_A_HOT_COUNTRY, 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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_CRATES; | |
items_of_cargo: string(STR_CARGO_UNIT_ENGINEERING_SUPPLIES); | |
penalty_lowerbound: 2; | |
single_penalty_length: 32; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 5; | |
station_list_colour: 5; | |
price_factor: 172; | |
cargo_label: "ENSP"; | |
number: 14; | |
} | |
graphics { | |
cargoicon_engineering_supplies; | |
} | |
} | |
} | |
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, 4) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS, CC_HAZARDOUS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_CRATES; | |
items_of_cargo: string(STR_CARGO_UNIT_EXPLOSIVES); | |
penalty_lowerbound: 6; | |
single_penalty_length: 42; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 166; | |
station_list_colour: 166; | |
price_factor: 158; | |
cargo_label: "BOOM"; | |
number: 4; | |
} | |
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, 7) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_CRATES; | |
items_of_cargo: string(STR_CARGO_UNIT_FMSP); | |
penalty_lowerbound: 2; | |
single_penalty_length: 32; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 51; | |
station_list_colour: 51; | |
price_factor: 170; | |
cargo_label: "FMSP"; | |
number: 7; | |
} | |
graphics { | |
cargoicon_farm_supplies; | |
} | |
} | |
} | |
if (economy==1) { | |
item(FEAT_CARGOS, farm_supplies_BASIC_ARCTIC, 5) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_CRATES; | |
items_of_cargo: string(STR_CARGO_UNIT_FMSP); | |
penalty_lowerbound: 2; | |
single_penalty_length: 32; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 45; | |
station_list_colour: 45; | |
price_factor: 170; | |
cargo_label: "FMSP"; | |
number: 5; | |
} | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_CRATES; | |
items_of_cargo: string(STR_CARGO_UNIT_FMSP); | |
penalty_lowerbound: 2; | |
single_penalty_length: 32; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 55; | |
station_list_colour: 55; | |
price_factor: 170; | |
cargo_label: "FMSP"; | |
number: 10; | |
} | |
graphics { | |
cargoicon_farm_supplies; | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, farm_supplies_STEELTOWN, 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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_CRATES; | |
items_of_cargo: string(STR_CARGO_UNIT_FMSP); | |
penalty_lowerbound: 2; | |
single_penalty_length: 32; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 37; | |
station_list_colour: 37; | |
price_factor: 170; | |
cargo_label: "FMSP"; | |
number: 18; | |
} | |
graphics { | |
cargoicon_farm_supplies; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, farm_supplies_IN_A_HOT_COUNTRY, 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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_CRATES; | |
items_of_cargo: string(STR_CARGO_UNIT_FMSP); | |
penalty_lowerbound: 2; | |
single_penalty_length: 32; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 160; | |
station_list_colour: 160; | |
price_factor: 170; | |
cargo_label: "FMSP"; | |
number: 15; | |
} | |
graphics { | |
cargoicon_farm_supplies; | |
} | |
} | |
} | |
spriteset(cargoicon_ferrochrome) { | |
[10 + 20 * 8, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, ferrochrome_STEELTOWN, 19) { | |
property { | |
type_name: string(STR_CARGO_NAME_FERROCHROME); | |
unit_name: string(STR_CARGO_NAME_FERROCHROME); | |
type_abbreviation: string(STR_CID_FERROCHROME); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_FERROCHROME); | |
penalty_lowerbound: 40; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 146; | |
station_list_colour: 146; | |
price_factor: 106; | |
cargo_label: "FECR"; | |
number: 19; | |
} | |
graphics { | |
cargoicon_ferrochrome; | |
} | |
} | |
} | |
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, 6) { | |
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; | |
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: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_FERTILISER); | |
penalty_lowerbound: 22; | |
single_penalty_length: 44; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 157; | |
station_list_colour: 157; | |
price_factor: 123; | |
cargo_label: "FERT"; | |
number: 6; | |
} | |
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, 8) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_REFRIGERATED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_FISH); | |
penalty_lowerbound: 0; | |
single_penalty_length: 18; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 141; | |
station_list_colour: 141; | |
price_factor: 134; | |
cargo_label: "FISH"; | |
number: 8; | |
} | |
graphics { | |
cargoicon_fish; | |
} | |
} | |
} | |
if (economy==1) { | |
item(FEAT_CARGOS, fish_BASIC_ARCTIC, 7) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_REFRIGERATED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_FISH); | |
penalty_lowerbound: 0; | |
single_penalty_length: 18; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 51; | |
station_list_colour: 51; | |
price_factor: 134; | |
cargo_label: "FISH"; | |
number: 7; | |
} | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_EXPRESS, CC_REFRIGERATED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_FISH); | |
penalty_lowerbound: 0; | |
single_penalty_length: 18; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 43; | |
station_list_colour: 43; | |
price_factor: 134; | |
cargo_label: "FISH"; | |
number: 12; | |
} | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_REFRIGERATED, CC_EXPRESS); | |
town_growth_effect: TOWNGROWTH_FOOD; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: TTD_STR_QUANTITY_FOOD; | |
penalty_lowerbound: 0; | |
single_penalty_length: 20; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 186; | |
station_list_colour: 186; | |
price_factor: 168; | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_REFRIGERATED, CC_EXPRESS); | |
town_growth_effect: TOWNGROWTH_FOOD; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: TTD_STR_QUANTITY_FOOD; | |
penalty_lowerbound: 0; | |
single_penalty_length: 20; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 186; | |
station_list_colour: 186; | |
price_factor: 168; | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_REFRIGERATED, CC_EXPRESS); | |
town_growth_effect: TOWNGROWTH_FOOD; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: TTD_STR_QUANTITY_FOOD; | |
penalty_lowerbound: 0; | |
single_penalty_length: 20; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 186; | |
station_list_colour: 186; | |
price_factor: 168; | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_REFRIGERATED, CC_EXPRESS); | |
town_growth_effect: TOWNGROWTH_FOOD; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: TTD_STR_QUANTITY_FOOD; | |
penalty_lowerbound: 0; | |
single_penalty_length: 20; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 186; | |
station_list_colour: 186; | |
price_factor: 168; | |
cargo_label: "FOOD"; | |
number: 11; | |
} | |
graphics { | |
cargoicon_food; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, food_IN_A_HOT_COUNTRY, 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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_REFRIGERATED, CC_EXPRESS); | |
town_growth_effect: TOWNGROWTH_FOOD; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: TTD_STR_QUANTITY_FOOD; | |
penalty_lowerbound: 0; | |
single_penalty_length: 20; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 186; | |
station_list_colour: 186; | |
price_factor: 168; | |
cargo_label: "FOOD"; | |
number: 11; | |
} | |
graphics { | |
cargoicon_food; | |
} | |
} | |
} | |
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, 9) { | |
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; | |
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: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_FRUITS); | |
penalty_lowerbound: 0; | |
single_penalty_length: 26; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 189; | |
station_list_colour: 189; | |
price_factor: 124; | |
cargo_label: "FRUT"; | |
number: 9; | |
} | |
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; | |
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: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_FRUITS); | |
penalty_lowerbound: 0; | |
single_penalty_length: 26; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 148; | |
station_list_colour: 148; | |
price_factor: 124; | |
cargo_label: "FRUT"; | |
number: 13; | |
} | |
graphics { | |
cargoicon_fruits; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, fruits_IN_A_HOT_COUNTRY, 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; | |
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: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_FRUITS); | |
penalty_lowerbound: 0; | |
single_penalty_length: 26; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 127; | |
station_list_colour: 127; | |
price_factor: 124; | |
cargo_label: "FRUT"; | |
number: 16; | |
} | |
graphics { | |
cargoicon_fruits; | |
} | |
} | |
} | |
spriteset(cargoicon_glass) { | |
[10 + 20 * 7, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, glass_STEELTOWN, 20) { | |
property { | |
type_name: string(STR_CARGO_NAME_GLASS); | |
unit_name: string(STR_CARGO_NAME_GLASS); | |
type_abbreviation: string(STR_CID_GLASS); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 0.65; | |
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_GLASS); | |
penalty_lowerbound: 12; | |
single_penalty_length: 180; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 214; | |
station_list_colour: 214; | |
price_factor: 132; | |
cargo_label: "GLAS"; | |
number: 20; | |
} | |
graphics { | |
cargoicon_glass; | |
} | |
} | |
} | |
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; | |
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: 56; | |
capacity_multiplier: 2; | |
cargo_payment_list_colour: 45; | |
station_list_colour: 45; | |
price_factor: 163; | |
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; | |
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: 56; | |
capacity_multiplier: 2; | |
cargo_payment_list_colour: 45; | |
station_list_colour: 45; | |
price_factor: 163; | |
cargo_label: "GOOD"; | |
number: 5; | |
} | |
graphics { | |
cargoicon_goods; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, goods_IN_A_HOT_COUNTRY, 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; | |
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: 56; | |
capacity_multiplier: 2; | |
cargo_payment_list_colour: 45; | |
station_list_colour: 45; | |
price_factor: 163; | |
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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 5; | |
station_list_colour: 5; | |
price_factor: 114; | |
cargo_label: "GRAI"; | |
number: 14; | |
} | |
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, 10) { | |
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; | |
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: 40; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 55; | |
station_list_colour: 55; | |
price_factor: 90; | |
cargo_label: "IORE"; | |
number: 10; | |
} | |
graphics { | |
cargoicon_iron_ore; | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, iron_ore_STEELTOWN, 21) { | |
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; | |
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: 40; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 8; | |
station_list_colour: 8; | |
price_factor: 90; | |
cargo_label: "IORE"; | |
number: 21; | |
} | |
graphics { | |
cargoicon_iron_ore; | |
} | |
} | |
} | |
spriteset(cargoicon_kaolin) { | |
[10 + 20 * 5, 10 + 20 * 3, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==0) { | |
item(FEAT_CARGOS, kaolin_BASIC_TEMPERATE, 12) { | |
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; | |
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: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_KAOLIN); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 43; | |
station_list_colour: 43; | |
price_factor: 100; | |
cargo_label: "KAOL"; | |
number: 12; | |
} | |
graphics { | |
cargoicon_kaolin; | |
} | |
} | |
} | |
if (economy==1) { | |
item(FEAT_CARGOS, kaolin_BASIC_ARCTIC, 8) { | |
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; | |
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: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_KAOLIN); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 141; | |
station_list_colour: 141; | |
price_factor: 100; | |
cargo_label: "KAOL"; | |
number: 8; | |
} | |
graphics { | |
cargoicon_kaolin; | |
} | |
} | |
} | |
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; | |
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: 15; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 148; | |
station_list_colour: 148; | |
price_factor: 122; | |
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; | |
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: 15; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 160; | |
station_list_colour: 160; | |
price_factor: 122; | |
cargo_label: "LVST"; | |
number: 15; | |
} | |
graphics { | |
cargoicon_livestock; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, livestock_IN_A_HOT_COUNTRY, 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; | |
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: 15; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 143; | |
station_list_colour: 143; | |
price_factor: 122; | |
cargo_label: "LVST"; | |
number: 17; | |
} | |
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, 10) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_BULK, 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_LUMBER); | |
penalty_lowerbound: 18; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 55; | |
station_list_colour: 55; | |
price_factor: 117; | |
cargo_label: "WDPR"; | |
number: 10; | |
} | |
graphics { | |
cargoicon_lumber; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, lumber_IN_A_HOT_COUNTRY, 19) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_BULK, 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_LUMBER); | |
penalty_lowerbound: 18; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 146; | |
station_list_colour: 146; | |
price_factor: 117; | |
cargo_label: "WDPR"; | |
number: 19; | |
} | |
graphics { | |
cargoicon_lumber; | |
} | |
} | |
} | |
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, 22) { | |
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; | |
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_LIMESTONE); | |
penalty_lowerbound: 38; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 172; | |
station_list_colour: 172; | |
price_factor: 92; | |
cargo_label: "LIME"; | |
number: 22; | |
} | |
graphics { | |
cargoicon_limestone; | |
} | |
} | |
} | |
spriteset(cargoicon_logs) { | |
[10 + 20 * 8, 10 + 20 * 0, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==1) { | |
item(FEAT_CARGOS, logs_BASIC_ARCTIC, 9) { | |
property { | |
type_name: string(STR_CARGO_NAME_LOGS); | |
unit_name: string(STR_CARGO_NAME_LOGS); | |
type_abbreviation: string(STR_CID_LOGS); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_LOGS); | |
penalty_lowerbound: 24; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 189; | |
station_list_colour: 189; | |
price_factor: 104; | |
cargo_label: "WOOD"; | |
number: 9; | |
} | |
graphics { | |
cargoicon_logs; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, logs_IN_A_HOT_COUNTRY, 18) { | |
property { | |
type_name: string(STR_CARGO_NAME_LOGS); | |
unit_name: string(STR_CARGO_NAME_LOGS); | |
type_abbreviation: string(STR_CID_LOGS); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_LOGS); | |
penalty_lowerbound: 24; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 37; | |
station_list_colour: 37; | |
price_factor: 104; | |
cargo_label: "WOOD"; | |
number: 18; | |
} | |
graphics { | |
cargoicon_logs; | |
} | |
} | |
} | |
spriteset(cargoicon_lye) { | |
[10 + 20 * 4, 10 + 20 * 5, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, lye_STEELTOWN, 23) { | |
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.5; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_LIQUID, CC_HAZARDOUS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_LYE); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 177; | |
station_list_colour: 177; | |
price_factor: 108; | |
cargo_label: "LYE_"; | |
number: 23; | |
} | |
graphics { | |
cargoicon_lye; | |
} | |
} | |
} | |
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; | |
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; | |
capacity_multiplier: 2; | |
cargo_payment_list_colour: 15; | |
station_list_colour: 15; | |
price_factor: 167; | |
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; | |
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; | |
capacity_multiplier: 2; | |
cargo_payment_list_colour: 15; | |
station_list_colour: 15; | |
price_factor: 167; | |
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; | |
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; | |
capacity_multiplier: 2; | |
cargo_payment_list_colour: 15; | |
station_list_colour: 15; | |
price_factor: 167; | |
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; | |
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; | |
capacity_multiplier: 2; | |
cargo_payment_list_colour: 15; | |
station_list_colour: 15; | |
price_factor: 167; | |
cargo_label: "MAIL"; | |
number: 2; | |
} | |
graphics { | |
cargoicon_mail; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, mail_IN_A_HOT_COUNTRY, 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; | |
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; | |
capacity_multiplier: 2; | |
cargo_payment_list_colour: 15; | |
station_list_colour: 15; | |
price_factor: 167; | |
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_IN_A_HOT_COUNTRY, 20) { | |
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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 214; | |
station_list_colour: 214; | |
price_factor: 111; | |
cargo_label: "MAIZ"; | |
number: 20; | |
} | |
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, 24) { | |
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; | |
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_MANGANESE); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 181; | |
station_list_colour: 181; | |
price_factor: 95; | |
cargo_label: "MNO2"; | |
number: 24; | |
} | |
graphics { | |
cargoicon_manganese; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, manganese_IN_A_HOT_COUNTRY, 21) { | |
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; | |
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_MANGANESE); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 8; | |
station_list_colour: 8; | |
price_factor: 95; | |
cargo_label: "MNO2"; | |
number: 21; | |
} | |
graphics { | |
cargoicon_manganese; | |
} | |
} | |
} | |
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; | |
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: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_MILK); | |
penalty_lowerbound: 0; | |
single_penalty_length: 16; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 5; | |
station_list_colour: 5; | |
price_factor: 131; | |
cargo_label: "MILK"; | |
number: 14; | |
} | |
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; | |
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_NITRATES); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 127; | |
station_list_colour: 127; | |
price_factor: 103; | |
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_IN_A_HOT_COUNTRY, 22) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_BAGS; | |
items_of_cargo: string(STR_CARGO_UNIT_NUTS); | |
penalty_lowerbound: 4; | |
single_penalty_length: 40; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 172; | |
station_list_colour: 172; | |
price_factor: 113; | |
cargo_label: "NUTS"; | |
number: 22; | |
} | |
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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 143; | |
station_list_colour: 143; | |
price_factor: 101; | |
cargo_label: "OIL_"; | |
number: 17; | |
} | |
graphics { | |
cargoicon_oil; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, oil_IN_A_HOT_COUNTRY, 23) { | |
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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 177; | |
station_list_colour: 177; | |
price_factor: 101; | |
cargo_label: "OIL_"; | |
number: 23; | |
} | |
graphics { | |
cargoicon_oil; | |
} | |
} | |
} | |
spriteset(cargoicon_oxygen) { | |
[10 + 20 * 1, 10 + 20 * 5, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, oxygen_STEELTOWN, 25) { | |
property { | |
type_name: string(STR_CARGO_NAME_OXYGEN); | |
unit_name: string(STR_CARGO_NAME_OXYGEN); | |
type_abbreviation: string(STR_CID_OXYGEN); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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: string(STR_CARGO_UNIT_OXYGEN); | |
penalty_lowerbound: 22; | |
single_penalty_length: 44; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 194; | |
station_list_colour: 194; | |
price_factor: 136; | |
cargo_label: "O2__"; | |
number: 25; | |
} | |
graphics { | |
cargoicon_oxygen; | |
} | |
} | |
} | |
spriteset(cargoicon_paints_and_coatings) { | |
[10 + 20 * 5, 10 + 20 * 5, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, paints_and_coatings_STEELTOWN, 26) { | |
property { | |
type_name: string(STR_CARGO_NAME_PAINTS_AND_COATINGS); | |
unit_name: string(STR_CARGO_NAME_PAINTS_AND_COATINGS); | |
type_abbreviation: string(STR_CID_PAINTS_AND_COATINGS); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_LIQUID, CC_PIECE_GOODS); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_PAINTS_AND_COATINGS); | |
penalty_lowerbound: 20; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 168; | |
station_list_colour: 168; | |
price_factor: 135; | |
cargo_label: "COAT"; | |
number: 26; | |
} | |
graphics { | |
cargoicon_paints_and_coatings; | |
} | |
} | |
} | |
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, 12) { | |
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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 43; | |
station_list_colour: 43; | |
price_factor: 143; | |
cargo_label: "PAPR"; | |
number: 12; | |
} | |
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; | |
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; | |
capacity_multiplier: 4; | |
cargo_payment_list_colour: 152; | |
station_list_colour: 152; | |
price_factor: 137; | |
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; | |
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; | |
capacity_multiplier: 4; | |
cargo_payment_list_colour: 152; | |
station_list_colour: 152; | |
price_factor: 137; | |
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; | |
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; | |
capacity_multiplier: 4; | |
cargo_payment_list_colour: 152; | |
station_list_colour: 152; | |
price_factor: 137; | |
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; | |
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; | |
capacity_multiplier: 4; | |
cargo_payment_list_colour: 152; | |
station_list_colour: 152; | |
price_factor: 137; | |
cargo_label: "PASS"; | |
number: 0; | |
} | |
graphics { | |
cargoicon_passengers; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, passengers_IN_A_HOT_COUNTRY, 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; | |
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; | |
capacity_multiplier: 4; | |
cargo_payment_list_colour: 152; | |
station_list_colour: 152; | |
price_factor: 137; | |
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, 13) { | |
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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 148; | |
station_list_colour: 148; | |
price_factor: 89; | |
cargo_label: "PEAT"; | |
number: 13; | |
} | |
graphics { | |
cargoicon_peat; | |
} | |
} | |
} | |
spriteset(cargoicon_petrol) { | |
[10 + 20 * 12, 10 + 20 * 1, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, petrol_IN_A_HOT_COUNTRY, 24) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_LIQUID); | |
town_growth_effect: TOWNGROWTH_GOODS; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_PETROL); | |
penalty_lowerbound: 18; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 181; | |
station_list_colour: 181; | |
price_factor: 145; | |
cargo_label: "PETR"; | |
number: 24; | |
} | |
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, 14) { | |
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; | |
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_PHOSPHATE); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 5; | |
station_list_colour: 5; | |
price_factor: 99; | |
cargo_label: "PHOS"; | |
number: 14; | |
} | |
graphics { | |
cargoicon_phosphate; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, phosphate_IN_A_HOT_COUNTRY, 25) { | |
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; | |
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_PHOSPHATE); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 194; | |
station_list_colour: 194; | |
price_factor: 99; | |
cargo_label: "PHOS"; | |
number: 25; | |
} | |
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, 27) { | |
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; | |
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_PIG_IRON); | |
penalty_lowerbound: 8; | |
single_penalty_length: 64; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 155; | |
station_list_colour: 155; | |
price_factor: 119; | |
cargo_label: "IRON"; | |
number: 27; | |
} | |
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, 28) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_PIECE_GOODS, CC_OVERSIZED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_PIPE); | |
penalty_lowerbound: 30; | |
single_penalty_length: 42; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 210; | |
station_list_colour: 210; | |
price_factor: 144; | |
cargo_label: "PIPE"; | |
number: 28; | |
} | |
graphics { | |
cargoicon_pipe; | |
} | |
} | |
} | |
spriteset(cargoicon_plastics) { | |
[10 + 20 * 6, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, plastics_STEELTOWN, 29) { | |
property { | |
type_name: string(STR_CARGO_NAME_PLASTICS); | |
unit_name: string(STR_CARGO_NAME_PLASTICS); | |
type_abbreviation: string(STR_CID_PLASTICS); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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: TTD_STR_LITERS; | |
items_of_cargo: string(STR_CARGO_UNIT_PLASTICS); | |
penalty_lowerbound: 12; | |
single_penalty_length: 36; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 169; | |
station_list_colour: 169; | |
price_factor: 141; | |
cargo_label: "PLAS"; | |
number: 29; | |
} | |
graphics { | |
cargoicon_plastics; | |
} | |
} | |
} | |
spriteset(cargoicon_potash) { | |
[10 + 20 * 2, 10 + 20 * 5, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==1) { | |
item(FEAT_CARGOS, potash_BASIC_ARCTIC, 15) { | |
property { | |
type_name: string(STR_CARGO_NAME_POTASH); | |
unit_name: string(STR_CARGO_NAME_POTASH); | |
type_abbreviation: string(STR_CID_POTASH); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_POTASH); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 160; | |
station_list_colour: 160; | |
price_factor: 102; | |
cargo_label: "POTA"; | |
number: 15; | |
} | |
graphics { | |
cargoicon_potash; | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, potash_STEELTOWN, 47) { | |
property { | |
type_name: string(STR_CARGO_NAME_POTASH); | |
unit_name: string(STR_CARGO_NAME_POTASH); | |
type_abbreviation: string(STR_CID_POTASH); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_POTASH); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 83; | |
station_list_colour: 83; | |
price_factor: 102; | |
cargo_label: "POTA"; | |
number: 47; | |
} | |
graphics { | |
cargoicon_potash; | |
} | |
} | |
} | |
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, 16) { | |
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; | |
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; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 127; | |
station_list_colour: 127; | |
price_factor: 87; | |
cargo_label: "PORE"; | |
number: 16; | |
} | |
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, 30) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_BULK, CC_COVERED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_QUICKLIME); | |
penalty_lowerbound: 8; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 119; | |
station_list_colour: 119; | |
price_factor: 112; | |
cargo_label: "QLME"; | |
number: 30; | |
} | |
graphics { | |
cargoicon_quicklime; | |
} | |
} | |
} | |
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, 31) { | |
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; | |
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_RUBBER; | |
penalty_lowerbound: 10; | |
single_penalty_length: 36; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 26; | |
station_list_colour: 26; | |
price_factor: 110; | |
cargo_label: "RUBR"; | |
number: 31; | |
} | |
graphics { | |
cargoicon_rubber; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, rubber_IN_A_HOT_COUNTRY, 26) { | |
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; | |
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_RUBBER; | |
penalty_lowerbound: 10; | |
single_penalty_length: 36; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 168; | |
station_list_colour: 168; | |
price_factor: 110; | |
cargo_label: "RUBR"; | |
number: 26; | |
} | |
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; | |
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_SAND); | |
penalty_lowerbound: 64; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 160; | |
station_list_colour: 160; | |
price_factor: 93; | |
cargo_label: "SAND"; | |
number: 15; | |
} | |
graphics { | |
cargoicon_sand; | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, sand_STEELTOWN, 33) { | |
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; | |
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_SAND); | |
penalty_lowerbound: 64; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 85; | |
station_list_colour: 85; | |
price_factor: 93; | |
cargo_label: "SAND"; | |
number: 33; | |
} | |
graphics { | |
cargoicon_sand; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_CARGOS, sand_IN_A_HOT_COUNTRY, 27) { | |
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; | |
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_SAND); | |
penalty_lowerbound: 64; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 155; | |
station_list_colour: 155; | |
price_factor: 93; | |
cargo_label: "SAND"; | |
number: 27; | |
} | |
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, 32) { | |
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; | |
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_SALT); | |
penalty_lowerbound: 36; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 69; | |
station_list_colour: 69; | |
price_factor: 94; | |
cargo_label: "SALT"; | |
number: 32; | |
} | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_BULK, CC_NON_POURABLE); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_SCRAP_METAL); | |
penalty_lowerbound: 36; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 127; | |
station_list_colour: 127; | |
price_factor: 107; | |
cargo_label: "SCMT"; | |
number: 16; | |
} | |
graphics { | |
cargoicon_scrap_metal; | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, scrap_metal_STEELTOWN, 34) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_BULK, CC_NON_POURABLE); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_SCRAP_METAL); | |
penalty_lowerbound: 36; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 56; | |
station_list_colour: 56; | |
price_factor: 107; | |
cargo_label: "SCMT"; | |
number: 34; | |
} | |
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, 35) { | |
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; | |
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_SLAG); | |
penalty_lowerbound: 64; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 19; | |
station_list_colour: 19; | |
price_factor: 85; | |
cargo_label: "SLAG"; | |
number: 35; | |
} | |
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, 36) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_BULK, CC_COVERED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_SODA_ASH); | |
penalty_lowerbound: 14; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 121; | |
station_list_colour: 121; | |
price_factor: 96; | |
cargo_label: "SASH"; | |
number: 36; | |
} | |
graphics { | |
cargoicon_soda_ash; | |
} | |
} | |
} | |
spriteset(cargoicon_stainless_steel) { | |
[10 + 20 * 10, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, stainless_steel_STEELTOWN, 37) { | |
property { | |
type_name: string(STR_CARGO_NAME_STAINLESS_STEEL); | |
unit_name: string(STR_CARGO_NAME_STAINLESS_STEEL); | |
type_abbreviation: string(STR_CID_STAINLESS_STEEL); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_STAINLESS_STEEL); | |
penalty_lowerbound: 16; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 125; | |
station_list_colour: 125; | |
price_factor: 130; | |
cargo_label: "STST"; | |
number: 37; | |
} | |
graphics { | |
cargoicon_stainless_steel; | |
} | |
} | |
} | |
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; | |
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_STEEL); | |
penalty_lowerbound: 14; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 143; | |
station_list_colour: 143; | |
price_factor: 127; | |
cargo_label: "STEL"; | |
number: 17; | |
} | |
graphics { | |
cargoicon_steel; | |
} | |
} | |
} | |
spriteset(cargoicon_steel_sections) { | |
[10 + 20 * 7, 10 + 20 * 5, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, steel_sections_STEELTOWN, 38) { | |
property { | |
type_name: string(STR_CARGO_NAME_STEEL_SECTIONS); | |
unit_name: string(STR_CARGO_NAME_STEEL_SECTIONS); | |
type_abbreviation: string(STR_CID_STEEL_SECTIONS); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_STEEL_SECTIONS); | |
penalty_lowerbound: 14; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 209; | |
station_list_colour: 209; | |
price_factor: 142; | |
cargo_label: "STSE"; | |
number: 38; | |
} | |
graphics { | |
cargoicon_steel_sections; | |
} | |
} | |
} | |
spriteset(cargoicon_steel_sheet) { | |
[10 + 20 * 6, 10 + 20 * 5, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, steel_sheet_STEELTOWN, 39) { | |
property { | |
type_name: string(STR_CARGO_NAME_STEEL_SHEET); | |
unit_name: string(STR_CARGO_NAME_STEEL_SHEET); | |
type_abbreviation: string(STR_CID_STEEL_SHEET); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_STEEL_SHEET); | |
penalty_lowerbound: 14; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 63; | |
station_list_colour: 63; | |
price_factor: 139; | |
cargo_label: "STSH"; | |
number: 39; | |
} | |
graphics { | |
cargoicon_steel_sheet; | |
} | |
} | |
} | |
spriteset(cargoicon_steel_wire_rod) { | |
[10 + 20 * 8, 10 + 20 * 5, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, steel_wire_rod_STEELTOWN, 40) { | |
property { | |
type_name: string(STR_CARGO_NAME_STEEL_WIRE_ROD); | |
unit_name: string(STR_CARGO_NAME_STEEL_WIRE_ROD); | |
type_abbreviation: string(STR_CID_STEEL_WIRE_ROD); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_STEEL_WIRE_ROD); | |
penalty_lowerbound: 30; | |
single_penalty_length: 42; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 111; | |
station_list_colour: 111; | |
price_factor: 138; | |
cargo_label: "STWR"; | |
number: 40; | |
} | |
graphics { | |
cargoicon_steel_wire_rod; | |
} | |
} | |
} | |
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_IN_A_HOT_COUNTRY, 28) { | |
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; | |
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_STONE); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 210; | |
station_list_colour: 210; | |
price_factor: 92; | |
cargo_label: "GRVL"; | |
number: 28; | |
} | |
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, 17) { | |
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; | |
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: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_SULPHUR); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 143; | |
station_list_colour: 143; | |
price_factor: 105; | |
cargo_label: "SULP"; | |
number: 17; | |
} | |
graphics { | |
cargoicon_sulphur; | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, sulphur_STEELTOWN, 41) { | |
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; | |
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: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_SULPHUR); | |
penalty_lowerbound: 30; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 65; | |
station_list_colour: 65; | |
price_factor: 105; | |
cargo_label: "SULP"; | |
number: 41; | |
} | |
graphics { | |
cargoicon_sulphur; | |
} | |
} | |
} | |
spriteset(cargoicon_tyres) { | |
[10 + 20 * 7, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, tyres_STEELTOWN, 42) { | |
property { | |
type_name: string(STR_CARGO_NAME_TYRES); | |
unit_name: string(STR_CARGO_NAME_TYRES); | |
type_abbreviation: string(STR_CID_TYRES); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_TYRES); | |
penalty_lowerbound: 8; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 10; | |
station_list_colour: 10; | |
price_factor: 149; | |
cargo_label: "TYRE"; | |
number: 42; | |
} | |
graphics { | |
cargoicon_tyres; | |
} | |
} | |
} | |
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, 43) { | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_PIECE_GOODS, CC_OVERSIZED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_VEHICLE_BODIES); | |
penalty_lowerbound: 5; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 126; | |
station_list_colour: 126; | |
price_factor: 147; | |
cargo_label: "VBOD"; | |
number: 43; | |
} | |
graphics { | |
cargoicon_vehicle_bodies; | |
} | |
} | |
} | |
spriteset(cargoicon_vehicle_engines) { | |
[10 + 20 * 9, 10 + 20 * 4, 10, 10, 0, 0, "src/graphics/other/cargoicons.png"] | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, vehicle_engines_STEELTOWN, 44) { | |
property { | |
type_name: string(STR_CARGO_NAME_VEHICLE_ENGINES); | |
unit_name: string(STR_CARGO_NAME_VEHICLE_ENGINES); | |
type_abbreviation: string(STR_CID_VEHICLE_ENGINES); | |
sprite: NEW_CARGO_SPRITE; | |
weight: 1.0; | |
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_VEHICLE_ENGINES); | |
penalty_lowerbound: 6; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 62; | |
station_list_colour: 62; | |
price_factor: 151; | |
cargo_label: "VENG"; | |
number: 44; | |
} | |
graphics { | |
cargoicon_vehicle_engines; | |
} | |
} | |
} | |
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, 45) { | |
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; | |
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_VEHICLE_PARTS); | |
penalty_lowerbound: 7; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 207; | |
station_list_colour: 207; | |
price_factor: 150; | |
cargo_label: "VPTS"; | |
number: 45; | |
} | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_PIECE_GOODS, CC_OVERSIZED); | |
town_growth_effect: TOWNGROWTH_WATER; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_TONS; | |
items_of_cargo: string(STR_CARGO_UNIT_VEHICLES); | |
penalty_lowerbound: 15; | |
single_penalty_length: 128; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 45; | |
station_list_colour: 45; | |
price_factor: 164; | |
cargo_label: "VEHI"; | |
number: 5; | |
} | |
graphics { | |
cargoicon_vehicles; | |
} | |
} | |
} | |
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; | |
is_freight: 1; | |
cargo_classes: bitmask(CC_PIECE_GOODS, CC_COVERED); | |
town_growth_effect: TOWNGROWTH_NONE; | |
town_growth_multiplier: 1.0; | |
units_of_cargo: TTD_STR_ITEMS; | |
items_of_cargo: string(STR_CARGO_UNIT_WOOL); | |
penalty_lowerbound: 8; | |
single_penalty_length: 48; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 37; | |
station_list_colour: 37; | |
price_factor: 111; | |
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, 18) { | |
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; | |
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_ZINC); | |
penalty_lowerbound: 12; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 37; | |
station_list_colour: 37; | |
price_factor: 126; | |
cargo_label: "ZINC"; | |
number: 18; | |
} | |
graphics { | |
cargoicon_zinc; | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_CARGOS, zinc_STEELTOWN, 46) { | |
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; | |
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_ZINC); | |
penalty_lowerbound: 12; | |
single_penalty_length: 255; | |
capacity_multiplier: 1; | |
cargo_payment_list_colour: 190; | |
station_list_colour: 190; | |
price_factor: 126; | |
cargo_label: "ZINC"; | |
number: 46; | |
} | |
graphics { | |
cargoicon_zinc; | |
} | |
} | |
}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; | |
}/* ******************************************************* | |
* 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_INDUSTRYTILES, SELF, switch_tile_fences_neighbouring_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), | |
]) { | |
return 1; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_tile_fences_neighbouring_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), | |
]) { | |
switch_tile_fences_neighbouring_station; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_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), | |
]) { | |
switch_tile_fences_neighbouring_industry; | |
}template tmpl_ground_tile(x, y) { | |
[x, y, 64, 31, -31, 0, ANIM] | |
} | |
spriteset(spriteset_ground_tile_mud_1, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(0, 10) | |
} | |
spriteset(spriteset_ground_tile_mud_6, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
} | |
spriteset(spriteset_ground_tile_mud_7, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
} | |
spriteset(spriteset_ground_tile_mud_12, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
tmpl_ground_tile(0, 10) | |
} | |
spriteset(spriteset_ground_tile_concrete_1, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(80, 10) | |
} | |
spriteset(spriteset_ground_tile_concrete_6, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
} | |
spriteset(spriteset_ground_tile_concrete_7, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
} | |
spriteset(spriteset_ground_tile_concrete_12, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
tmpl_ground_tile(80, 10) | |
} | |
spriteset(spriteset_ground_tile_cobble_1, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(150, 10) | |
} | |
spriteset(spriteset_ground_tile_cobble_6, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
} | |
spriteset(spriteset_ground_tile_cobble_7, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
} | |
spriteset(spriteset_ground_tile_cobble_12, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
tmpl_ground_tile(150, 10) | |
} | |
spriteset(spriteset_ground_tile_snow_1, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(220, 10) | |
} | |
spriteset(spriteset_ground_tile_snow_6, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
} | |
spriteset(spriteset_ground_tile_snow_7, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
} | |
spriteset(spriteset_ground_tile_snow_12, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
tmpl_ground_tile(220, 10) | |
} | |
spriteset(spriteset_ground_tile_slab_1, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(290, 10) | |
} | |
spriteset(spriteset_ground_tile_slab_6, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
} | |
spriteset(spriteset_ground_tile_slab_7, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
} | |
spriteset(spriteset_ground_tile_slab_12, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
tmpl_ground_tile(290, 10) | |
} | |
spriteset(spriteset_ground_tile_dirty_concrete_1, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(360, 10) | |
} | |
spriteset(spriteset_ground_tile_dirty_concrete_6, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
} | |
spriteset(spriteset_ground_tile_dirty_concrete_7, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
} | |
spriteset(spriteset_ground_tile_dirty_concrete_12, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
tmpl_ground_tile(360, 10) | |
} | |
spriteset(spriteset_ground_tile_hard_standing_dirt_1, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(430, 10) | |
} | |
spriteset(spriteset_ground_tile_hard_standing_dirt_6, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
} | |
spriteset(spriteset_ground_tile_hard_standing_dirt_7, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
} | |
spriteset(spriteset_ground_tile_hard_standing_dirt_12, "src/graphics/other/ground_tiles.png") { | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
tmpl_ground_tile(430, 10) | |
}switch (FEAT_INDUSTRIES, SELF, location_check_industry_disallow_too_far_from_coast, water_distance) { | |
0 .. param_max_coastal_distance: return 1; | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, location_check_industry_require_min_distance_to_another_industry_type, industry_type_numeric_id, min_distance, | |
[ | |
industry_distance(industry_type_numeric_id) > min_distance | |
]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, location_check_industry_require_max_distance_to_another_industry_type_2, industry_type_numeric_id, max_distance, | |
[ | |
industry_distance(industry_type_numeric_id) <= max_distance | |
]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, location_check_industry_require_max_distance_to_another_industry_type, industry_type_numeric_id, max_distance, permissive_flag, | |
[industry_count(industry_type_numeric_id) == 0 ? permissive_flag : location_check_industry_require_max_distance_to_another_industry_type_2(industry_type_numeric_id, max_distance)]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, location_check_industry_require_cluster, industry_type_numeric_id, cluster_factor, max_distance, | |
[ | |
(industry_count(industry_type_numeric_id) < (cluster_factor * industry_clusters)) ? 1 : (industry_distance(industry_type_numeric_id) > max_distance) | |
]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, location_check_industry_require_town_industry_count, industry_type_numeric_id, min_count, max_count, | |
[ | |
min_count <= industry_town_count(industry_type_numeric_id) < max_count | |
]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, PARENT, location_check_industry_require_town_min_population, min_population, | |
[ | |
population >= min_population | |
]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, location_check_industry_flour_mill_layouts_by_date_brick_layouts_only_check_layout, layout_num) { | |
3..5: return 0; | |
return 1; | |
} | |
switch (FEAT_INDUSTRIES, SELF, location_check_industry_flour_mill_layouts_by_date_brick_layouts_only, extra_callback_info2) { | |
IND_CREATION_GENERATION: return 1; | |
location_check_industry_flour_mill_layouts_by_date_brick_layouts_only_check_layout; | |
} | |
switch (FEAT_INDUSTRIES, SELF, location_check_industry_flour_mill_layouts_by_date_windmill_layout_only, layout_num) { | |
3..5: return 1; | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, location_check_industry_flour_mill_layouts_by_date, current_year) { | |
0..1869: location_check_industry_flour_mill_layouts_by_date_windmill_layout_only; | |
1870..1900: return 1; | |
location_check_industry_flour_mill_layouts_by_date_brick_layouts_only; | |
}switch (FEAT_INDUSTRYTILES, SELF, switch_magic_trees_default, [ | |
climate == CLIMATE_TROPIC | |
|| | |
nearby_tile_height(0, 0) >= snowline_height | |
|| | |
construction_state == 0 | |
]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_magic_trees_snow, [ | |
climate != CLIMATE_ARCTIC | |
|| | |
nearby_tile_height(0, 0) < snowline_height | |
|| | |
construction_state == 0 | |
]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_magic_trees_tropic, [ | |
climate != CLIMATE_TROPIC | |
|| | |
construction_state == 0 | |
]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_magic_trees, [ | |
STORE_TEMP(switch_magic_trees_default(), 15), | |
STORE_TEMP(switch_magic_trees_snow(), 16), | |
STORE_TEMP(switch_magic_trees_tropic(), 17), | |
]) { | |
return; | |
}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; | |
}switch (FEAT_INDUSTRYTILES, SELF, switch_terrain_sprite_normal, [STORE_TEMP(GROUNDSPRITE_NORMAL, 0)]) { | |
return 1; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_terrain_sprite_arctic_full_snow, [STORE_TEMP(GROUNDSPRITE_SNOW_4_4, 0)]) { | |
return 1; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_terrain_sprite_arctic_three_quarter_snow, [STORE_TEMP(GROUNDSPRITE_SNOW_3_4, 0)]) { | |
return 1; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_terrain_sprite_arctic_half_snow, [STORE_TEMP(GROUNDSPRITE_SNOW_2_4, 0)]) { | |
return 1; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_terrain_sprite_arctic_quarter_snow, [STORE_TEMP(GROUNDSPRITE_SNOW_1_4, 0)]) { | |
return 1; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_terrain_sprite_arctic, [nearby_tile_height(0, 0) - snowline_height]) { | |
2..255: switch_terrain_sprite_arctic_full_snow; | |
1: switch_terrain_sprite_arctic_three_quarter_snow; | |
0: switch_terrain_sprite_arctic_half_snow; | |
-1: switch_terrain_sprite_arctic_quarter_snow; | |
switch_terrain_sprite_normal; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_terrain_sprite_tropic_full_desert, [STORE_TEMP(GROUNDSPRITE_DESERT, 0)]) { | |
return 1; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_terrain_sprite_tropic_half_desert, [STORE_TEMP(GROUNDSPRITE_DESERT_1_2, 0)]) { | |
return 1; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_terrain_sprite_tropic_desert, | |
[(nearby_tile_terrain_type(1, 0) != TILETYPE_DESERT) | |
|| (nearby_tile_terrain_type(-1, 0) != TILETYPE_DESERT) | |
|| (nearby_tile_terrain_type(0, 1) != TILETYPE_DESERT) | |
|| (nearby_tile_terrain_type(0, -1) != TILETYPE_DESERT)]) { | |
1: switch_terrain_sprite_tropic_half_desert; | |
switch_terrain_sprite_tropic_full_desert; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_terrain_sprite_tropic, nearby_tile_terrain_type(0, 0)) { | |
TILETYPE_DESERT: switch_terrain_sprite_tropic_desert; | |
switch_terrain_sprite_normal; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, switch_terrain_sprite, climate) { | |
CLIMATE_ARCTIC: switch_terrain_sprite_arctic; | |
CLIMATE_TROPIC: switch_terrain_sprite_tropic; | |
switch_terrain_sprite_normal; | |
}/* ****************************************************************** | |
* Definition of the industry tile, its callbacks, and graphics chain | |
* ******************************************************************/ | |
spriteset(arable_farm_spriteset_2_0) { | |
[10, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_1.png"] | |
} | |
spriteset(arable_farm_spriteset_2_0_snow) { | |
[10, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_1_snow.png"] | |
} | |
spriteset(arable_farm_spriteset_2_1) { | |
[10, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_2.png"] | |
} | |
spriteset(arable_farm_spriteset_2_1_snow) { | |
[10, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_2_snow.png"] | |
} | |
spriteset(arable_farm_spriteset_3_0) { | |
[80, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_1.png"] | |
} | |
spriteset(arable_farm_spriteset_3_0_snow) { | |
[80, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_1_snow.png"] | |
} | |
spriteset(arable_farm_spriteset_3_1) { | |
[80, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_2.png"] | |
} | |
spriteset(arable_farm_spriteset_3_1_snow) { | |
[80, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_2_snow.png"] | |
} | |
spriteset(arable_farm_spriteset_4_0) { | |
[150, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_1.png"] | |
} | |
spriteset(arable_farm_spriteset_4_0_snow) { | |
[150, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_1_snow.png"] | |
} | |
spriteset(arable_farm_spriteset_4_1) { | |
[150, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_2.png"] | |
} | |
spriteset(arable_farm_spriteset_4_1_snow) { | |
[150, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_2_snow.png"] | |
} | |
spriteset(arable_farm_spriteset_5_0) { | |
[220, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_1.png"] | |
} | |
spriteset(arable_farm_spriteset_5_0_snow) { | |
[220, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_1_snow.png"] | |
} | |
spriteset(arable_farm_spriteset_5_1) { | |
[220, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_2.png"] | |
} | |
spriteset(arable_farm_spriteset_5_1_snow) { | |
[220, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_2_snow.png"] | |
} | |
spriteset(arable_farm_spriteset_6_0) { | |
[290, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_1.png"] | |
} | |
spriteset(arable_farm_spriteset_6_0_snow) { | |
[290, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_1_snow.png"] | |
} | |
spriteset(arable_farm_spriteset_6_1) { | |
[290, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_2.png"] | |
} | |
spriteset(arable_farm_spriteset_6_1_snow) { | |
[290, 10, 64, 59, -31, -28, ANIM | NOCROP, "src/graphics/industries/arable_farm_2_snow.png"] | |
} | |
spritelayout arable_farm_spritelayout_1 { | |
childsprite { | |
sprite: 2022; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: 2022; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: arable_farm_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: arable_farm_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: arable_farm_spriteset_2_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: (LOAD_TEMP(126)); | |
} | |
building { | |
sprite: arable_farm_spriteset_2_1_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(116)); | |
} | |
} | |
spritelayout arable_farm_spritelayout_2 { | |
ground { | |
sprite: (LOAD_TEMP(0)); | |
} | |
building { | |
sprite: arable_farm_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: arable_farm_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: arable_farm_spriteset_3_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: (LOAD_TEMP(126)); | |
} | |
building { | |
sprite: arable_farm_spriteset_3_1_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(116)); | |
} | |
} | |
spritelayout arable_farm_spritelayout_3 { | |
ground { | |
sprite: (LOAD_TEMP(0)); | |
} | |
building { | |
sprite: arable_farm_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(127)); | |
} | |
building { | |
sprite: arable_farm_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(117)); | |
} | |
building { | |
sprite: arable_farm_spriteset_4_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: (LOAD_TEMP(126)); | |
} | |
building { | |
sprite: arable_farm_spriteset_4_1_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(116)); | |
} | |
} | |
spritelayout arable_farm_spritelayout_4 { | |
childsprite { | |
sprite: 2022; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: 2022; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: arable_farm_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(127)); | |
} | |
building { | |
sprite: arable_farm_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(117)); | |
} | |
building { | |
sprite: arable_farm_spriteset_5_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: (LOAD_TEMP(126)); | |
} | |
building { | |
sprite: arable_farm_spriteset_5_1_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(116)); | |
} | |
} | |
spritelayout arable_farm_spritelayout_5 { | |
childsprite { | |
sprite: 2022; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: 2022; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: arable_farm_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(127)); | |
} | |
building { | |
sprite: arable_farm_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(117)); | |
} | |
building { | |
sprite: arable_farm_spriteset_6_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: (LOAD_TEMP(126)); | |
} | |
building { | |
sprite: arable_farm_spriteset_6_1_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(116)); | |
} | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, arable_farm_industry_layout_1_graphics_switch, relative_pos) { | |
relative_coord(0, 1): arable_farm_spritelayout_5; | |
relative_coord(0, 2): arable_farm_spritelayout_3; | |
relative_coord(1, 0): arable_farm_spritelayout_1; | |
relative_coord(1, 1): arable_farm_spritelayout_2; | |
relative_coord(2, 1): arable_farm_spritelayout_4; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, arable_farm_industry_layout_2_graphics_switch, relative_pos) { | |
relative_coord(0, 0): arable_farm_spritelayout_5; | |
relative_coord(0, 1): arable_farm_spritelayout_4; | |
relative_coord(1, 0): arable_farm_spritelayout_1; | |
relative_coord(1, 1): arable_farm_spritelayout_2; | |
relative_coord(2, 0): arable_farm_spritelayout_3; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, arable_farm_industry_layout_3_graphics_switch, relative_pos) { | |
relative_coord(0, 0): arable_farm_spritelayout_1; | |
relative_coord(0, 1): arable_farm_spritelayout_2; | |
relative_coord(1, 0): arable_farm_spritelayout_5; | |
relative_coord(2, 0): arable_farm_spritelayout_4; | |
relative_coord(2, 1): arable_farm_spritelayout_3; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, PARENT, arable_farm_industry_graphics_switch_layouts, layout_num) { | |
1: arable_farm_industry_layout_1_graphics_switch; | |
2: arable_farm_industry_layout_2_graphics_switch; | |
3: arable_farm_industry_layout_3_graphics_switch; | |
arable_farm_industry_layout_1_graphics_switch; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, arable_farm_industry_construction_state_graphics_switch, construction_state) { | |
0..2: spritelayout_default_construction_states; | |
arable_farm_industry_graphics_switch_layouts; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, arable_farm_store_temp_vars, | |
[STORE_TEMP(random_bits, 14), | |
STORE_TEMP(terrain_type == TILETYPE_SNOW, 13) | |
, STORE_TEMP((current_year + 5 * LOAD_TEMP(14) / 0x10000) >= 1928, | |
127) | |
, STORE_TEMP(construction_state != 3 ? 1 : LOAD_TEMP(127), | |
127) | |
, STORE_TEMP(LOAD_TEMP(13) == 0 ? 1 : LOAD_TEMP(127), | |
117) | |
, STORE_TEMP(LOAD_TEMP(13) == 1 ? 1 : LOAD_TEMP(127), | |
127) | |
, STORE_TEMP((current_year + 5 * LOAD_TEMP(14) / 0x10000) < 1928, | |
126) | |
, STORE_TEMP(construction_state != 3 ? 1 : LOAD_TEMP(126), | |
126) | |
, STORE_TEMP(LOAD_TEMP(13) == 0 ? 1 : LOAD_TEMP(126), | |
116) | |
, STORE_TEMP(LOAD_TEMP(13) == 1 ? 1 : LOAD_TEMP(126), | |
126) | |
]) { | |
arable_farm_industry_construction_state_graphics_switch; // default | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, arable_farm_switch_graphics, [ | |
switch_tile_fences(), | |
switch_terrain_sprite(), | |
]) { | |
arable_farm_store_temp_vars; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, arable_farm_tile_1_lc_4, | |
(nearby_tile_class( 2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -2) == TILE_CLASS_INDUSTRY) | |
) { | |
1: return CB_RESULT_LOCATION_DISALLOW; | |
return CB_RESULT_LOCATION_ALLOW; | |
} | |
switch (FEAT_INDUSTRYTILES, PARENT, arable_farm_tile_1_lc_3, ( | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_FUND) || | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
arable_farm_tile_1_lc_4; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, arable_farm_tile_1_lc_2, nearby_tile_slope(0,0) == SLOPE_FLAT) { | |
1: arable_farm_tile_1_lc_3; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, arable_farm_tile_1_lc_1, UCMP(nearby_tile_height(0, 0) - 0, snowline_height - 0)) { | |
0..1: arable_farm_tile_1_lc_2; | |
return string(STR_ERR_LOCATION_NOT_ABOVE_SNOWLINE); | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, arable_farm_tile_1_lc_0, | |
(nearby_tile_terrain_type( 1, -1) == TILETYPE_DESERT) && | |
(nearby_tile_terrain_type( 1, 0) == TILETYPE_DESERT) && | |
(nearby_tile_terrain_type( 1, 1) == TILETYPE_DESERT) && | |
(nearby_tile_terrain_type( 0, -1) == TILETYPE_DESERT) && | |
(nearby_tile_terrain_type( 0, 0) == TILETYPE_DESERT) && | |
(nearby_tile_terrain_type( 0, 1) == TILETYPE_DESERT) && | |
(nearby_tile_terrain_type(-1, -1) == TILETYPE_DESERT) && | |
(nearby_tile_terrain_type(-1, 0) == TILETYPE_DESERT) && | |
(nearby_tile_terrain_type(-1, 1) == TILETYPE_DESERT) | |
) { | |
1: return CB_RESULT_LOCATION_DISALLOW; | |
arable_farm_tile_1_lc_1; | |
} | |
item(FEAT_INDUSTRYTILES, arable_farm_tile_1, 160) { | |
property { | |
substitute: 0; | |
land_shape_flags: 0; | |
special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); | |
animation_triggers: bitmask(); | |
} | |
graphics { | |
tile_check: arable_farm_tile_1_lc_0; | |
arable_farm_switch_graphics; | |
} | |
} | |
/* ************************************************* | |
* Definition of the industry | |
* *************************************************/ | |
tilelayout arable_farm_industry_layout_1_tilelayout { | |
0, 1: arable_farm_tile_1; | |
0, 2: arable_farm_tile_1; | |
1, 0: arable_farm_tile_1; | |
1, 1: arable_farm_tile_1; | |
2, 1: arable_farm_tile_1; | |
} | |
tilelayout arable_farm_industry_layout_2_tilelayout { | |
0, 0: arable_farm_tile_1; | |
0, 1: arable_farm_tile_1; | |
1, 0: arable_farm_tile_1; | |
1, 1: arable_farm_tile_1; | |
2, 0: arable_farm_tile_1; | |
} | |
tilelayout arable_farm_industry_layout_3_tilelayout { | |
0, 0: arable_farm_tile_1; | |
0, 1: arable_farm_tile_1; | |
1, 0: arable_farm_tile_1; | |
2, 0: arable_farm_tile_1; | |
2, 1: arable_farm_tile_1; | |
} | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_extra_text, [ | |
STORE_TEMP((primary_level1_requirement * 1) | | |
(primary_level2_requirement * 1) << 16, 0x100), | |
LOAD_PERM(3) | |
]) { | |
primary_level2_produced_percent: return string(STR_PRIMARY_PRODUCTION_4X); | |
primary_level1_produced_percent: return string(STR_PRIMARY_PRODUCTION_2X); | |
return string(STR_PRIMARY_PRODUCTION_1X); | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_cargo_subtype_display_cargo_FMSP_economy_4, [ | |
LOAD_PERM( | |
4 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_cargo_subtype_display_switch_cargo_economy_4, getbits(extra_callback_info2, 16, 23)) { | |
FMSP: arable_farm_cargo_subtype_display_cargo_FMSP_economy_4; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_cargo_subtype_display_cargo_FMSP_economy_3, [ | |
LOAD_PERM( | |
4 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_cargo_subtype_display_switch_cargo_economy_3, getbits(extra_callback_info2, 16, 23)) { | |
FMSP: arable_farm_cargo_subtype_display_cargo_FMSP_economy_3; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_cargo_subtype_display_switch_economy, economy) { | |
4: arable_farm_cargo_subtype_display_switch_cargo_economy_4; | |
3: arable_farm_cargo_subtype_display_switch_cargo_economy_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_cargo_subtype_display, getbits(extra_callback_info2, 8, 8)) { | |
1: arable_farm_cargo_subtype_display_switch_economy; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_produce_total_supplies_delivered, | |
[ | |
LOAD_PERM( | |
12 | |
) | |
+ | |
LOAD_PERM( | |
13 | |
) | |
+ | |
LOAD_PERM( | |
14 | |
) | |
+ | |
LOAD_PERM( | |
15 | |
) | |
+ | |
LOAD_PERM( | |
16 | |
) | |
+ | |
LOAD_PERM( | |
17 | |
) | |
+ | |
LOAD_PERM( | |
18 | |
) | |
+ | |
LOAD_PERM( | |
19 | |
) | |
+ | |
LOAD_PERM( | |
20 | |
) | |
+ | |
LOAD_PERM( | |
21 | |
) | |
+ | |
LOAD_PERM( | |
22 | |
) | |
+ | |
LOAD_PERM( | |
23 | |
) | |
+ | |
LOAD_PERM( | |
24 | |
) | |
+ | |
LOAD_PERM( | |
25 | |
) | |
+ | |
LOAD_PERM( | |
26 | |
) | |
+ | |
LOAD_PERM( | |
27 | |
) | |
+ | |
LOAD_PERM( | |
28 | |
) | |
+ | |
LOAD_PERM( | |
29 | |
) | |
+ | |
LOAD_PERM( | |
30 | |
) | |
+ | |
LOAD_PERM( | |
31 | |
) | |
+ | |
LOAD_PERM( | |
32 | |
) | |
+ | |
LOAD_PERM( | |
33 | |
) | |
+ | |
LOAD_PERM( | |
34 | |
) | |
+ | |
LOAD_PERM( | |
35 | |
) | |
+ | |
LOAD_PERM( | |
36 | |
) | |
+ | |
LOAD_PERM( | |
37 | |
) | |
+ | |
LOAD_PERM( | |
38 | |
) | |
]) { | |
return; | |
} | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_produce_calculate_current_production_level, | |
[ | |
STORE_TEMP(arable_farm_produce_total_supplies_delivered(), 8), | |
STORE_TEMP((LOAD_TEMP(8) >= (1 * primary_level2_requirement)) ? primary_level2_produced_percent : | |
(LOAD_TEMP(8) >= (1 * primary_level1_requirement)) ? primary_level1_produced_percent : 100, 9), | |
STORE_PERM(LOAD_TEMP(9), 3), | |
]) { | |
return 0; | |
} | |
produce (arable_farm_clear_incoming_cargo_waiting_0, | |
[ | |
FMSP: incoming_cargo_waiting("FMSP"); | |
], | |
[], | |
0) | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_store_incoming_cargo_waiting_0, | |
[ | |
STORE_PERM( | |
incoming_cargo_waiting("FMSP") + | |
LOAD_PERM(38), 38 | |
), | |
STORE_PERM( | |
(incoming_cargo_waiting("FMSP") > 0) | |
? | |
28 | |
: | |
LOAD_PERM( | |
4 | |
), | |
4 | |
), | |
arable_farm_produce_calculate_current_production_level(), | |
]) { | |
arable_farm_clear_incoming_cargo_waiting_0; | |
} | |
produce (arable_farm_clear_incoming_cargo_waiting_1, | |
[ | |
FMSP: incoming_cargo_waiting("FMSP"); | |
], | |
[], | |
0) | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_store_incoming_cargo_waiting_1, | |
[ | |
STORE_PERM( | |
incoming_cargo_waiting("FMSP") + | |
LOAD_PERM(38), 38 | |
), | |
STORE_PERM( | |
(incoming_cargo_waiting("FMSP") > 0) | |
? | |
28 | |
: | |
LOAD_PERM( | |
4 | |
), | |
4 | |
), | |
arable_farm_produce_calculate_current_production_level(), | |
]) { | |
arable_farm_clear_incoming_cargo_waiting_1; | |
} | |
produce (arable_farm_clear_incoming_cargo_waiting_4, | |
[ | |
FMSP: incoming_cargo_waiting("FMSP"); | |
], | |
[], | |
0) | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_store_incoming_cargo_waiting_4, | |
[ | |
STORE_PERM( | |
incoming_cargo_waiting("FMSP") + | |
LOAD_PERM(38), 38 | |
), | |
STORE_PERM( | |
(incoming_cargo_waiting("FMSP") > 0) | |
? | |
28 | |
: | |
LOAD_PERM( | |
4 | |
), | |
4 | |
), | |
arable_farm_produce_calculate_current_production_level(), | |
]) { | |
arable_farm_clear_incoming_cargo_waiting_4; | |
} | |
produce (arable_farm_clear_incoming_cargo_waiting_5, | |
[ | |
FMSP: incoming_cargo_waiting("FMSP"); | |
], | |
[], | |
0) | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_store_incoming_cargo_waiting_5, | |
[ | |
STORE_PERM( | |
incoming_cargo_waiting("FMSP") + | |
LOAD_PERM(38), 38 | |
), | |
STORE_PERM( | |
(incoming_cargo_waiting("FMSP") > 0) | |
? | |
28 | |
: | |
LOAD_PERM( | |
4 | |
), | |
4 | |
), | |
arable_farm_produce_calculate_current_production_level(), | |
]) { | |
arable_farm_clear_incoming_cargo_waiting_5; | |
} | |
produce (arable_farm_clear_incoming_cargo_waiting_3, | |
[ | |
FMSP: incoming_cargo_waiting("FMSP"); | |
], | |
[], | |
0) | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_store_incoming_cargo_waiting_3, | |
[ | |
STORE_PERM( | |
incoming_cargo_waiting("FMSP") + | |
LOAD_PERM(38), 38 | |
), | |
STORE_PERM( | |
(incoming_cargo_waiting("FMSP") > 0) | |
? | |
28 | |
: | |
LOAD_PERM( | |
4 | |
), | |
4 | |
), | |
arable_farm_produce_calculate_current_production_level(), | |
]) { | |
arable_farm_clear_incoming_cargo_waiting_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_produce_cargo_arrival, economy) { | |
0: arable_farm_store_incoming_cargo_waiting_0; | |
1: arable_farm_store_incoming_cargo_waiting_1; | |
4: arable_farm_store_incoming_cargo_waiting_4; | |
5: arable_farm_store_incoming_cargo_waiting_5; | |
3: arable_farm_store_incoming_cargo_waiting_3; | |
} | |
produce(arable_farm_produce_256_ticks_economy_0, | |
[], | |
[ | |
GRAI: (14 * production_level * LOAD_TEMP(9)) / (16 * 100); | |
BEAN: (14 * production_level * LOAD_TEMP(9)) / (16 * 100); | |
], | |
0) | |
produce(arable_farm_produce_256_ticks_economy_1, | |
[], | |
[ | |
GRAI: (14 * production_level * LOAD_TEMP(9)) / (16 * 100); | |
BEAN: (14 * production_level * LOAD_TEMP(9)) / (16 * 100); | |
], | |
0) | |
produce(arable_farm_produce_256_ticks_economy_4, | |
[], | |
[ | |
GRAI: (14 * production_level * LOAD_TEMP(9)) / (16 * 100); | |
BEAN: (14 * production_level * LOAD_TEMP(9)) / (16 * 100); | |
], | |
0) | |
produce(arable_farm_produce_256_ticks_economy_5, | |
[], | |
[ | |
GRAI: (14 * production_level * LOAD_TEMP(9)) / (16 * 100); | |
BEAN: (14 * production_level * LOAD_TEMP(9)) / (16 * 100); | |
], | |
0) | |
produce(arable_farm_produce_256_ticks_economy_3, | |
[], | |
[ | |
CASS: (14 * production_level * LOAD_TEMP(9)) / (16 * 100); | |
NUTS: (14 * production_level * LOAD_TEMP(9)) / (16 * 100); | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_produce_256_ticks_switch_economy, economy) { | |
0: arable_farm_produce_256_ticks_economy_0; | |
1: arable_farm_produce_256_ticks_economy_1; | |
4: arable_farm_produce_256_ticks_economy_4; | |
5: arable_farm_produce_256_ticks_economy_5; | |
3: arable_farm_produce_256_ticks_economy_3; | |
} | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_update_supplied_cycles_remaining_per_cargo, | |
[ | |
STORE_PERM( | |
max( | |
0, | |
LOAD_PERM( | |
4 | |
) | |
- 1 | |
), | |
4 | |
), | |
STORE_PERM( | |
max( | |
0, | |
LOAD_PERM( | |
5 | |
) | |
- 1 | |
), | |
5 | |
), | |
STORE_PERM( | |
max( | |
0, | |
LOAD_PERM( | |
6 | |
) | |
- 1 | |
), | |
6 | |
), | |
STORE_PERM( | |
max( | |
0, | |
LOAD_PERM( | |
7 | |
) | |
- 1 | |
), | |
7 | |
), | |
STORE_PERM( | |
max( | |
0, | |
LOAD_PERM( | |
8 | |
) | |
- 1 | |
), | |
8 | |
), | |
STORE_PERM( | |
max( | |
0, | |
LOAD_PERM( | |
9 | |
) | |
- 1 | |
), | |
9 | |
), | |
STORE_PERM( | |
max( | |
0, | |
LOAD_PERM( | |
10 | |
) | |
- 1 | |
), | |
10 | |
), | |
STORE_PERM( | |
max( | |
0, | |
LOAD_PERM( | |
11 | |
) | |
- 1 | |
), | |
11 | |
), | |
]) { | |
return 0; | |
} | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_produce_256_ticks_shift_supplies_delivered, | |
[ | |
STORE_PERM( | |
LOAD_PERM(13), | |
12 | |
), | |
STORE_PERM( | |
LOAD_PERM(14), | |
13 | |
), | |
STORE_PERM( | |
LOAD_PERM(15), | |
14 | |
), | |
STORE_PERM( | |
LOAD_PERM(16), | |
15 | |
), | |
STORE_PERM( | |
LOAD_PERM(17), | |
16 | |
), | |
STORE_PERM( | |
LOAD_PERM(18), | |
17 | |
), | |
STORE_PERM( | |
LOAD_PERM(19), | |
18 | |
), | |
STORE_PERM( | |
LOAD_PERM(20), | |
19 | |
), | |
STORE_PERM( | |
LOAD_PERM(21), | |
20 | |
), | |
STORE_PERM( | |
LOAD_PERM(22), | |
21 | |
), | |
STORE_PERM( | |
LOAD_PERM(23), | |
22 | |
), | |
STORE_PERM( | |
LOAD_PERM(24), | |
23 | |
), | |
STORE_PERM( | |
LOAD_PERM(25), | |
24 | |
), | |
STORE_PERM( | |
LOAD_PERM(26), | |
25 | |
), | |
STORE_PERM( | |
LOAD_PERM(27), | |
26 | |
), | |
STORE_PERM( | |
LOAD_PERM(28), | |
27 | |
), | |
STORE_PERM( | |
LOAD_PERM(29), | |
28 | |
), | |
STORE_PERM( | |
LOAD_PERM(30), | |
29 | |
), | |
STORE_PERM( | |
LOAD_PERM(31), | |
30 | |
), | |
STORE_PERM( | |
LOAD_PERM(32), | |
31 | |
), | |
STORE_PERM( | |
LOAD_PERM(33), | |
32 | |
), | |
STORE_PERM( | |
LOAD_PERM(34), | |
33 | |
), | |
STORE_PERM( | |
LOAD_PERM(35), | |
34 | |
), | |
STORE_PERM( | |
LOAD_PERM(36), | |
35 | |
), | |
STORE_PERM( | |
LOAD_PERM(37), | |
36 | |
), | |
STORE_PERM( | |
LOAD_PERM(38), | |
37 | |
), | |
STORE_PERM(0, 38) | |
]) { | |
return 0; | |
} | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_produce_256_ticks, | |
[ | |
arable_farm_produce_calculate_current_production_level(), | |
arable_farm_update_supplied_cycles_remaining_per_cargo(), | |
arable_farm_produce_256_ticks_shift_supplies_delivered(), | |
]) { | |
arable_farm_produce_256_ticks_switch_economy; | |
} | |
switch(FEAT_INDUSTRIES, SELF, arable_farm_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, arable_farm_check_map_gen, extra_callback_info2 == IND_CREATION_GENERATION) { | |
1: return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
arable_farm_check_availability_param; | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_available_game_mode, game_mode == GAMEMODE_GAME) { | |
1: arable_farm_check_map_gen; | |
return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_check_availability_0, current_date) { | |
date(0,1,1) .. date(5000000,12,31): arable_farm_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_check_availability_1, current_date) { | |
date(0,1,1) .. date(5000000,12,31): arable_farm_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_check_availability_4, current_date) { | |
date(0,1,1) .. date(5000000,12,31): arable_farm_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_check_availability_5, current_date) { | |
date(0,1,1) .. date(5000000,12,31): arable_farm_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_check_availability_3, current_date) { | |
date(0,1,1) .. date(5000000,12,31): arable_farm_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_check_availability, economy) { | |
0: arable_farm_check_availability_0; | |
1: arable_farm_check_availability_1; | |
4: arable_farm_check_availability_4; | |
5: arable_farm_check_availability_5; | |
3: arable_farm_check_availability_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_check_location_post_player_founding_checks_AND, | |
[ | |
location_check_industry_require_cluster(arable_farm,4,72) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(26,20) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(34,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(56,16) | |
]) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_check_location_post_player_founding_checks_OR, | |
[ | |
1 | |
]) { | |
1: arable_farm_check_location_post_player_founding_checks_AND; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF,arable_farm_check_location_allow_player_founding, ( | |
(extra_callback_info2 == IND_CREATION_FUND) || | |
(extra_callback_info2 == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
arable_farm_check_location_post_player_founding_checks_OR; | |
} | |
switch (FEAT_INDUSTRIES, SELF, arable_farm_check_location, | |
[ | |
1 | |
]) { | |
1: return arable_farm_check_location_allow_player_founding; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
if (economy==4) { | |
item(FEAT_INDUSTRIES, arable_farm, 26) { | |
property { | |
substitute: 0; | |
override: 0; | |
map_colour: 209; | |
life_type: IND_LIFE_TYPE_ORGANIC; | |
min_cargo_distr: 1; | |
layouts: [arable_farm_industry_layout_1_tilelayout,arable_farm_industry_layout_2_tilelayout,arable_farm_industry_layout_3_tilelayout]; | |
spec_flags: bitmask(IND_FLAG_LONG_CARGO_TYPE_LISTS,IND_FLAG_PLANT_FIELDS_PERIODICALLY,IND_FLAG_PLANT_FIELDS_WHEN_BUILT); | |
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_ARABLE_FARM); | |
prob_map_gen: 11; | |
prob_in_game: 4; | |
prospect_chance: 0.75; | |
fund_cost_multiplier: 55; | |
remove_cost_multiplier: 0; | |
remove_cost_multiplier: 0; | |
cargo_types: [accept_cargo("FMSP"),produce_cargo("GRAI",0),produce_cargo("BEAN",0)]; | |
nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_FARM_1)); | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_INDUSTRIES, arable_farm, 26) { | |
property { | |
substitute: 0; | |
override: 0; | |
map_colour: 209; | |
life_type: IND_LIFE_TYPE_ORGANIC; | |
min_cargo_distr: 1; | |
layouts: [arable_farm_industry_layout_1_tilelayout,arable_farm_industry_layout_2_tilelayout,arable_farm_industry_layout_3_tilelayout]; | |
spec_flags: bitmask(IND_FLAG_LONG_CARGO_TYPE_LISTS,IND_FLAG_PLANT_FIELDS_PERIODICALLY,IND_FLAG_PLANT_FIELDS_WHEN_BUILT); | |
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_ARABLE_FARM); | |
prob_map_gen: 11; | |
prob_in_game: 4; | |
prospect_chance: 0.75; | |
fund_cost_multiplier: 55; | |
remove_cost_multiplier: 0; | |
remove_cost_multiplier: 0; | |
cargo_types: [accept_cargo("FMSP"),produce_cargo("CASS",0),produce_cargo("NUTS",0)]; | |
nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_FARM_1)); | |
} | |
} | |
} | |
if (economy==4) { | |
item(FEAT_INDUSTRIES, arable_farm, 26) { | |
graphics { | |
construction_probability: arable_farm_check_availability; | |
build_prod_change: randomise_primary_production_on_build; | |
produce_cargo_arrival: arable_farm_produce_cargo_arrival; | |
produce_256_ticks: arable_farm_produce_256_ticks; | |
monthly_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
random_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
location_check: arable_farm_check_location; | |
extra_text_fund: return string(STR_FUND_ARABLE_FARM); | |
extra_text_industry: arable_farm_extra_text; | |
cargo_subtype_display: arable_farm_cargo_subtype_display; | |
colour: switch_colour; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_INDUSTRIES, arable_farm, 26) { | |
graphics { | |
construction_probability: arable_farm_check_availability; | |
build_prod_change: randomise_primary_production_on_build; | |
produce_cargo_arrival: arable_farm_produce_cargo_arrival; | |
produce_256_ticks: arable_farm_produce_256_ticks; | |
monthly_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
random_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
location_check: arable_farm_check_location; | |
extra_text_fund: return string(STR_FUND_ARABLE_FARM); | |
extra_text_industry: arable_farm_extra_text; | |
cargo_subtype_display: arable_farm_cargo_subtype_display; | |
colour: switch_colour; | |
} | |
} | |
}/* ****************************************************************** | |
* Definition of the industry tile, its callbacks, and graphics chain | |
* ******************************************************************/ | |
spriteset(assembly_plant_spriteset_2_0) { | |
[10, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1.png"] | |
} | |
spriteset(assembly_plant_spriteset_2_0_snow) { | |
[10, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1_snow.png"] | |
} | |
spriteset(assembly_plant_spriteset_3_0) { | |
[150, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1.png"] | |
} | |
spriteset(assembly_plant_spriteset_3_0_snow) { | |
[150, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1_snow.png"] | |
} | |
spriteset(assembly_plant_spriteset_4_0) { | |
[220, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1.png"] | |
} | |
spriteset(assembly_plant_spriteset_4_0_snow) { | |
[220, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1_snow.png"] | |
} | |
spriteset(assembly_plant_spriteset_5_0) { | |
[290, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1.png"] | |
} | |
spriteset(assembly_plant_spriteset_5_0_snow) { | |
[290, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1_snow.png"] | |
} | |
spriteset(assembly_plant_spriteset_6_0) { | |
[360, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1.png"] | |
} | |
spriteset(assembly_plant_spriteset_6_0_snow) { | |
[360, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1_snow.png"] | |
} | |
spriteset(assembly_plant_spriteset_7_0) { | |
[430, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1.png"] | |
} | |
spriteset(assembly_plant_spriteset_7_0_snow) { | |
[430, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1_snow.png"] | |
} | |
spriteset(assembly_plant_spriteset_8_0) { | |
[500, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1.png"] | |
} | |
spriteset(assembly_plant_spriteset_8_0_snow) { | |
[500, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1_snow.png"] | |
} | |
spriteset(assembly_plant_spriteset_9_0) { | |
[570, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1.png"] | |
} | |
spriteset(assembly_plant_spriteset_9_0_snow) { | |
[570, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1_snow.png"] | |
} | |
spriteset(assembly_plant_spriteset_10_0) { | |
[640, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1.png"] | |
} | |
spriteset(assembly_plant_spriteset_10_0_snow) { | |
[640, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1_snow.png"] | |
} | |
spriteset(assembly_plant_spriteset_11_0) { | |
[710, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1.png"] | |
} | |
spriteset(assembly_plant_spriteset_11_0_snow) { | |
[710, 10, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1_snow.png"] | |
} | |
spriteset(assembly_plant_spriteset_12_0) { | |
[640, 100, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1.png"] | |
} | |
spriteset(assembly_plant_spriteset_12_0_snow) { | |
[640, 100, 64, 80, -31, -49, ANIM | NOCROP, "src/graphics/industries/assembly_plant_1_snow.png"] | |
} | |
spritelayout assembly_plant_spritelayout_rear_assembly_hall_windows { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: assembly_plant_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: assembly_plant_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout assembly_plant_spritelayout_central_assembly_hall { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: assembly_plant_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: assembly_plant_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout assembly_plant_spritelayout_front_assembly_hall_windows { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: assembly_plant_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(127)); | |
} | |
building { | |
sprite: assembly_plant_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout assembly_plant_spritelayout_front_assembly_hall_doors { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: assembly_plant_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(127)); | |
} | |
building { | |
sprite: assembly_plant_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout assembly_plant_spritelayout_goods_in_1 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: assembly_plant_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(127)); | |
} | |
building { | |
sprite: assembly_plant_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout assembly_plant_spritelayout_offices { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: assembly_plant_spriteset_8_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(127)); | |
} | |
building { | |
sprite: assembly_plant_spriteset_8_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout assembly_plant_spritelayout_tyres { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: assembly_plant_spriteset_9_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(127)); | |
} | |
building { | |
sprite: assembly_plant_spriteset_9_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout assembly_plant_spritelayout_vehicles_1 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: assembly_plant_spriteset_10_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(127)); | |
} | |
building { | |
sprite: assembly_plant_spriteset_10_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout assembly_plant_spritelayout_vehicles_2 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: assembly_plant_spriteset_11_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(127)); | |
} | |
building { | |
sprite: assembly_plant_spriteset_11_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout assembly_plant_spritelayout_vehicles_3 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: assembly_plant_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(127)); | |
} | |
building { | |
sprite: assembly_plant_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, assembly_plant_industry_layout_1_graphics_switch, relative_pos) { | |
relative_coord(0, 0): assembly_plant_spritelayout_rear_assembly_hall_windows; | |
relative_coord(0, 1): assembly_plant_spritelayout_central_assembly_hall; | |
relative_coord(0, 2): assembly_plant_spritelayout_central_assembly_hall; | |
relative_coord(0, 3): assembly_plant_spritelayout_front_assembly_hall_doors; | |
relative_coord(0, 4): assembly_plant_spritelayout_vehicles_1; | |
relative_coord(1, 0): assembly_plant_spritelayout_rear_assembly_hall_windows; | |
relative_coord(1, 1): assembly_plant_spritelayout_central_assembly_hall; | |
relative_coord(1, 2): assembly_plant_spritelayout_central_assembly_hall; | |
relative_coord(1, 3): assembly_plant_spritelayout_front_assembly_hall_windows; | |
relative_coord(1, 4): assembly_plant_spritelayout_vehicles_2; | |
relative_coord(2, 0): assembly_plant_spritelayout_rear_assembly_hall_windows; | |
relative_coord(2, 1): assembly_plant_spritelayout_central_assembly_hall; | |
relative_coord(2, 2): assembly_plant_spritelayout_central_assembly_hall; | |
relative_coord(2, 3): assembly_plant_spritelayout_front_assembly_hall_doors; | |
relative_coord(2, 4): assembly_plant_spritelayout_vehicles_1; | |
relative_coord(3, 0): assembly_plant_spritelayout_offices; | |
relative_coord(3, 1): assembly_plant_spritelayout_offices; | |
relative_coord(3, 2): assembly_plant_spritelayout_offices; | |
relative_coord(3, 3): assembly_plant_spritelayout_tyres; | |
relative_coord(3, 4): assembly_plant_spritelayout_vehicles_2; | |
relative_coord(4, 0): assembly_plant_spritelayout_goods_in_1; | |
relative_coord(4, 1): assembly_plant_spritelayout_tyres; | |
relative_coord(4, 2): assembly_plant_spritelayout_tyres; | |
relative_coord(4, 3): assembly_plant_spritelayout_vehicles_3; | |
relative_coord(4, 4): assembly_plant_spritelayout_vehicles_3; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, assembly_plant_industry_construction_state_graphics_switch, construction_state) { | |
0..2: spritelayout_default_construction_states; | |
assembly_plant_industry_layout_1_graphics_switch; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, assembly_plant_store_temp_vars, | |
[STORE_TEMP(random_bits, 14), | |
STORE_TEMP(terrain_type == TILETYPE_SNOW, 13) | |
, STORE_TEMP(0, | |
127) | |
, STORE_TEMP(construction_state != 3 ? 1 : LOAD_TEMP(127), | |
127) | |
, STORE_TEMP(LOAD_TEMP(13) == 0 ? 1 : LOAD_TEMP(127), | |
117) | |
, STORE_TEMP(LOAD_TEMP(13) == 1 ? 1 : LOAD_TEMP(127), | |
127) | |
]) { | |
assembly_plant_industry_construction_state_graphics_switch; // default | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, assembly_plant_switch_graphics, [ | |
switch_tile_fences(), | |
switch_terrain_sprite(), | |
]) { | |
assembly_plant_store_temp_vars; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, assembly_plant_tile_1_lc_2, | |
(nearby_tile_class( 2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -2) == TILE_CLASS_INDUSTRY) | |
) { | |
1: return CB_RESULT_LOCATION_DISALLOW; | |
return CB_RESULT_LOCATION_ALLOW; | |
} | |
switch (FEAT_INDUSTRYTILES, PARENT, assembly_plant_tile_1_lc_1, ( | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_FUND) || | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
assembly_plant_tile_1_lc_2; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, assembly_plant_tile_1_lc_0, | |
( | |
nearby_tile_height(-relative_x, -relative_y) | |
+ (nearby_tile_slope(-relative_x, -relative_y) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(-relative_x, -relative_y) == bitmask(IS_STEEP_SLOPE) ? 2 : 1 | |
)) == (nearby_tile_height(0, 0) | |
+ (nearby_tile_slope(0, 0) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(0, 0) == bitmask(IS_STEEP_SLOPE) ? 2 : 1)) | |
) { | |
1: assembly_plant_tile_1_lc_1; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
item(FEAT_INDUSTRYTILES, assembly_plant_tile_1, 232) { | |
property { | |
substitute: 0; | |
land_shape_flags: 0; | |
special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); | |
animation_info: [ANIMATION_LOOPING, 71]; | |
animation_speed: 2; | |
animation_triggers: bitmask(); | |
} | |
graphics { | |
tile_check: assembly_plant_tile_1_lc_0; | |
assembly_plant_switch_graphics; | |
} | |
} | |
/* ************************************************* | |
* Definition of the industry | |
* *************************************************/ | |
tilelayout assembly_plant_industry_layout_1_tilelayout { | |
0, 0: assembly_plant_tile_1; | |
0, 1: assembly_plant_tile_1; | |
0, 2: assembly_plant_tile_1; | |
0, 3: assembly_plant_tile_1; | |
0, 4: assembly_plant_tile_1; | |
1, 0: assembly_plant_tile_1; | |
1, 1: assembly_plant_tile_1; | |
1, 2: assembly_plant_tile_1; | |
1, 3: assembly_plant_tile_1; | |
1, 4: assembly_plant_tile_1; | |
2, 0: assembly_plant_tile_1; | |
2, 1: assembly_plant_tile_1; | |
2, 2: assembly_plant_tile_1; | |
2, 3: assembly_plant_tile_1; | |
2, 4: assembly_plant_tile_1; | |
3, 0: assembly_plant_tile_1; | |
3, 1: assembly_plant_tile_1; | |
3, 2: assembly_plant_tile_1; | |
3, 3: assembly_plant_tile_1; | |
3, 4: assembly_plant_tile_1; | |
4, 0: assembly_plant_tile_1; | |
4, 1: assembly_plant_tile_1; | |
4, 2: assembly_plant_tile_1; | |
4, 3: assembly_plant_tile_1; | |
4, 4: assembly_plant_tile_1; | |
} | |
produce (assembly_plant_produce_0, | |
[ | |
VPTS: incoming_cargo_waiting("VPTS"); | |
VBOD: incoming_cargo_waiting("VBOD"); | |
VENG: incoming_cargo_waiting("VENG"); | |
TYRE: incoming_cargo_waiting("TYRE"); | |
], | |
[ | |
VEHI: (LOAD_PERM(11) * 6) / 8; | |
ENSP: (LOAD_PERM(11) * 1) / 8; | |
FMSP: (LOAD_PERM(11) * 1) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_update_supplied_cycles_remaining_per_cargo_0, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("VPTS") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("VBOD") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("VENG") > 0) * current_date | |
), | |
5 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
6 | |
), | |
(incoming_cargo_waiting("TYRE") > 0) * current_date | |
), | |
6 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_produce_calculation_0, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
assembly_plant_update_supplied_cycles_remaining_per_cargo_0(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
6 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VPTS") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VBOD") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VENG") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("TYRE") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
assembly_plant_produce_0; | |
} | |
produce (assembly_plant_produce_1, | |
[ | |
VPTS: incoming_cargo_waiting("VPTS"); | |
VBOD: incoming_cargo_waiting("VBOD"); | |
VENG: incoming_cargo_waiting("VENG"); | |
TYRE: incoming_cargo_waiting("TYRE"); | |
], | |
[ | |
VEHI: (LOAD_PERM(11) * 6) / 8; | |
ENSP: (LOAD_PERM(11) * 1) / 8; | |
FMSP: (LOAD_PERM(11) * 1) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_update_supplied_cycles_remaining_per_cargo_1, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("VPTS") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("VBOD") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("VENG") > 0) * current_date | |
), | |
5 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
6 | |
), | |
(incoming_cargo_waiting("TYRE") > 0) * current_date | |
), | |
6 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_produce_calculation_1, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
assembly_plant_update_supplied_cycles_remaining_per_cargo_1(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
6 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VPTS") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VBOD") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VENG") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("TYRE") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
assembly_plant_produce_1; | |
} | |
produce (assembly_plant_produce_4, | |
[ | |
VPTS: incoming_cargo_waiting("VPTS"); | |
VBOD: incoming_cargo_waiting("VBOD"); | |
VENG: incoming_cargo_waiting("VENG"); | |
TYRE: incoming_cargo_waiting("TYRE"); | |
], | |
[ | |
VEHI: (LOAD_PERM(11) * 6) / 8; | |
ENSP: (LOAD_PERM(11) * 1) / 8; | |
FMSP: (LOAD_PERM(11) * 1) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_update_supplied_cycles_remaining_per_cargo_4, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("VPTS") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("VBOD") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("VENG") > 0) * current_date | |
), | |
5 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
6 | |
), | |
(incoming_cargo_waiting("TYRE") > 0) * current_date | |
), | |
6 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_produce_calculation_4, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
assembly_plant_update_supplied_cycles_remaining_per_cargo_4(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
6 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VPTS") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VBOD") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VENG") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("TYRE") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
assembly_plant_produce_4; | |
} | |
produce (assembly_plant_produce_5, | |
[ | |
VPTS: incoming_cargo_waiting("VPTS"); | |
VBOD: incoming_cargo_waiting("VBOD"); | |
VENG: incoming_cargo_waiting("VENG"); | |
TYRE: incoming_cargo_waiting("TYRE"); | |
], | |
[ | |
VEHI: (LOAD_PERM(11) * 6) / 8; | |
ENSP: (LOAD_PERM(11) * 1) / 8; | |
FMSP: (LOAD_PERM(11) * 1) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_update_supplied_cycles_remaining_per_cargo_5, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("VPTS") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("VBOD") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("VENG") > 0) * current_date | |
), | |
5 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
6 | |
), | |
(incoming_cargo_waiting("TYRE") > 0) * current_date | |
), | |
6 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_produce_calculation_5, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
assembly_plant_update_supplied_cycles_remaining_per_cargo_5(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
6 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VPTS") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VBOD") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VENG") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("TYRE") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
assembly_plant_produce_5; | |
} | |
produce (assembly_plant_produce_3, | |
[ | |
VPTS: incoming_cargo_waiting("VPTS"); | |
VBOD: incoming_cargo_waiting("VBOD"); | |
VENG: incoming_cargo_waiting("VENG"); | |
TYRE: incoming_cargo_waiting("TYRE"); | |
], | |
[ | |
VEHI: (LOAD_PERM(11) * 6) / 8; | |
ENSP: (LOAD_PERM(11) * 1) / 8; | |
FMSP: (LOAD_PERM(11) * 1) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_update_supplied_cycles_remaining_per_cargo_3, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("VPTS") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("VBOD") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("VENG") > 0) * current_date | |
), | |
5 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
6 | |
), | |
(incoming_cargo_waiting("TYRE") > 0) * current_date | |
), | |
6 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_produce_calculation_3, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
assembly_plant_update_supplied_cycles_remaining_per_cargo_3(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
6 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VPTS") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VBOD") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("VENG") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("TYRE") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
assembly_plant_produce_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_produce_cargo_arrival, economy) { | |
0: assembly_plant_produce_calculation_0; | |
1: assembly_plant_produce_calculation_1; | |
4: assembly_plant_produce_calculation_4; | |
5: assembly_plant_produce_calculation_5; | |
3: assembly_plant_produce_calculation_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_extra_text, economy) { | |
5: return string(STR_EXTRA_TEXT_SECONDARY_COMBINATORY); | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_cargo_subtype_display_cargo_VPTS_economy_5, [ | |
LOAD_PERM( | |
5 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_cargo_subtype_display_cargo_VBOD_economy_5, [ | |
LOAD_PERM( | |
5 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_cargo_subtype_display_cargo_VENG_economy_5, [ | |
LOAD_PERM( | |
5 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_cargo_subtype_display_cargo_TYRE_economy_5, [ | |
LOAD_PERM( | |
5 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_cargo_subtype_display_switch_cargo_economy_5, getbits(extra_callback_info2, 16, 23)) { | |
VPTS: assembly_plant_cargo_subtype_display_cargo_VPTS_economy_5; | |
VBOD: assembly_plant_cargo_subtype_display_cargo_VBOD_economy_5; | |
VENG: assembly_plant_cargo_subtype_display_cargo_VENG_economy_5; | |
TYRE: assembly_plant_cargo_subtype_display_cargo_TYRE_economy_5; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_cargo_subtype_display_switch_economy, economy) { | |
5: assembly_plant_cargo_subtype_display_switch_cargo_economy_5; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_cargo_subtype_display, getbits(extra_callback_info2, 8, 8)) { | |
1: assembly_plant_cargo_subtype_display_switch_economy; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch(FEAT_INDUSTRIES, SELF, assembly_plant_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, assembly_plant_check_map_gen, extra_callback_info2 == IND_CREATION_GENERATION) { | |
1: return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
assembly_plant_check_availability_param; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_available_game_mode, game_mode == GAMEMODE_GAME) { | |
1: assembly_plant_check_map_gen; | |
return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_check_availability_0, current_date) { | |
date(0,1,1) .. date(5000000,12,31): assembly_plant_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_check_availability_1, current_date) { | |
date(0,1,1) .. date(5000000,12,31): assembly_plant_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_check_availability_4, current_date) { | |
date(0,1,1) .. date(5000000,12,31): assembly_plant_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_check_availability_5, current_date) { | |
date(0,1,1) .. date(5000000,12,31): assembly_plant_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_check_availability_3, current_date) { | |
date(0,1,1) .. date(5000000,12,31): assembly_plant_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_check_availability, economy) { | |
0: assembly_plant_check_availability_0; | |
1: assembly_plant_check_availability_1; | |
4: assembly_plant_check_availability_4; | |
5: assembly_plant_check_availability_5; | |
3: assembly_plant_check_availability_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_check_location_post_player_founding_checks_AND, | |
[ | |
location_check_industry_require_min_distance_to_another_industry_type(62,56) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(33,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(70,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(81,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(96,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(88,16) | |
]) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_check_location_post_player_founding_checks_OR, | |
[ | |
1 | |
]) { | |
1: assembly_plant_check_location_post_player_founding_checks_AND; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF,assembly_plant_check_location_allow_player_founding, ( | |
(extra_callback_info2 == IND_CREATION_FUND) || | |
(extra_callback_info2 == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
assembly_plant_check_location_post_player_founding_checks_OR; | |
} | |
switch (FEAT_INDUSTRIES, SELF, assembly_plant_check_location, | |
[ | |
1 | |
]) { | |
1: return assembly_plant_check_location_allow_player_founding; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
if (economy==5) { | |
item(FEAT_INDUSTRIES, assembly_plant, 62) { | |
property { | |
substitute: 0; | |
override: 0; | |
map_colour: 141; | |
life_type: IND_LIFE_TYPE_PROCESSING; | |
min_cargo_distr: 1; | |
layouts: [assembly_plant_industry_layout_1_tilelayout]; | |
spec_flags: bitmask(IND_FLAG_LONG_CARGO_TYPE_LISTS); | |
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_ASSEMBLY_PLANT); | |
prob_map_gen: 5; | |
prob_in_game: 1; | |
fund_cost_multiplier: 145; | |
remove_cost_multiplier: 0; | |
remove_cost_multiplier: 0; | |
cargo_types: [accept_cargo("VPTS"),accept_cargo("VBOD"),accept_cargo("VENG"),accept_cargo("TYRE"),produce_cargo("VEHI",0),produce_cargo("ENSP",0),produce_cargo("FMSP",0)]; | |
nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_AUTOMOTIVE)); | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_INDUSTRIES, assembly_plant, 62) { | |
graphics { | |
construction_probability: assembly_plant_check_availability; | |
produce_cargo_arrival: assembly_plant_produce_cargo_arrival; | |
monthly_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
random_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
location_check: assembly_plant_check_location; | |
extra_text_fund: return CB_RESULT_NO_TEXT; | |
extra_text_industry: assembly_plant_extra_text; | |
cargo_subtype_display: assembly_plant_cargo_subtype_display; | |
colour: switch_colour; | |
} | |
} | |
}/* ****************************************************************** | |
* Definition of the industry tile, its callbacks, and graphics chain | |
* ******************************************************************/ | |
spriteset(basic_oxygen_furnace_spriteset_2_0) { | |
[10, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_2_0_snow) { | |
[10, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1_snow.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_3_0) { | |
[150, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_3_0_snow) { | |
[150, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1_snow.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_4_0) { | |
[220, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_4_0_snow) { | |
[220, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1_snow.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_5_0) { | |
[290, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_5_0_snow) { | |
[290, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1_snow.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_6_0) { | |
[360, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_6_0_snow) { | |
[360, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1_snow.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_7_0) { | |
[430, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_7_0_snow) { | |
[430, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1_snow.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_8_0) { | |
[500, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_8_0_snow) { | |
[500, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1_snow.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_9_0) { | |
[570, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_9_0_snow) { | |
[570, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1_snow.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_10_0) { | |
[640, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_10_0_snow) { | |
[640, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1_snow.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_11_0) { | |
[710, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1.png"] | |
} | |
spriteset(basic_oxygen_furnace_spriteset_11_0_snow) { | |
[710, 10, 64, 122, -31, -90, ANIM | NOCROP, "src/graphics/industries/basic_oxygen_furnace_1_snow.png"] | |
} | |
spritelayout basic_oxygen_furnace_spritelayout_empty { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout basic_oxygen_furnace_spritelayout_manganese_1 { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: basic_oxygen_furnace_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: basic_oxygen_furnace_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout basic_oxygen_furnace_spritelayout_tanks { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: basic_oxygen_furnace_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: basic_oxygen_furnace_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout basic_oxygen_furnace_spritelayout_air_plant { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: basic_oxygen_furnace_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(127)); | |
} | |
building { | |
sprite: basic_oxygen_furnace_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(117)); | |
} | |
building { | |
sprite: 3701 + ((animation_frame + 0)%8); | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
xoffset: 4; | |
yoffset: 1; | |
zoffset: 93; | |
xextent: 15; | |
yextent: 7; | |
zextent: 7; | |
hide_sprite: 0; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout basic_oxygen_furnace_spritelayout_furnace { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: basic_oxygen_furnace_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(127)); | |
} | |
building { | |
sprite: basic_oxygen_furnace_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout basic_oxygen_furnace_spritelayout_caster { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: basic_oxygen_furnace_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(127)); | |
} | |
building { | |
sprite: basic_oxygen_furnace_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(117)); | |
} | |
building { | |
sprite: 3701 + ((animation_frame + 0)%8); | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
xoffset: 1; | |
yoffset: 0; | |
zoffset: 61; | |
xextent: 15; | |
yextent: 7; | |
zextent: 7; | |
hide_sprite: 0; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout basic_oxygen_furnace_spritelayout_metal_1 { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: basic_oxygen_furnace_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(127)); | |
} | |
building { | |
sprite: basic_oxygen_furnace_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout basic_oxygen_furnace_spritelayout_metal_2 { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: basic_oxygen_furnace_spriteset_8_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(127)); | |
} | |
building { | |
sprite: basic_oxygen_furnace_spriteset_8_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout basic_oxygen_furnace_spritelayout_metal_3 { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: basic_oxygen_furnace_spriteset_9_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(127)); | |
} | |
building { | |
sprite: basic_oxygen_furnace_spriteset_9_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout basic_oxygen_furnace_spritelayout_metal_4 { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: basic_oxygen_furnace_spriteset_10_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(127)); | |
} | |
building { | |
sprite: basic_oxygen_furnace_spriteset_10_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout basic_oxygen_furnace_spritelayout_shed { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: basic_oxygen_furnace_spriteset_11_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(127)); | |
} | |
building { | |
sprite: basic_oxygen_furnace_spriteset_11_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, basic_oxygen_furnace_industry_layout_1_graphics_switch, relative_pos) { | |
relative_coord(0, 0): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(0, 1): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(0, 2): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(0, 3): basic_oxygen_furnace_spritelayout_air_plant; | |
relative_coord(0, 4): basic_oxygen_furnace_spritelayout_shed; | |
relative_coord(0, 5): basic_oxygen_furnace_spritelayout_shed; | |
relative_coord(1, 0): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(1, 1): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(1, 2): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(1, 3): basic_oxygen_furnace_spritelayout_tanks; | |
relative_coord(1, 4): basic_oxygen_furnace_spritelayout_metal_4; | |
relative_coord(1, 5): basic_oxygen_furnace_spritelayout_metal_3; | |
relative_coord(2, 0): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(2, 1): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(2, 2): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(2, 3): basic_oxygen_furnace_spritelayout_tanks; | |
relative_coord(2, 4): basic_oxygen_furnace_spritelayout_empty; | |
relative_coord(2, 5): basic_oxygen_furnace_spritelayout_metal_3; | |
relative_coord(3, 0): basic_oxygen_furnace_spritelayout_manganese_1; | |
relative_coord(3, 1): basic_oxygen_furnace_spritelayout_metal_2; | |
relative_coord(3, 2): basic_oxygen_furnace_spritelayout_metal_1; | |
relative_coord(3, 3): basic_oxygen_furnace_spritelayout_empty; | |
relative_coord(3, 4): basic_oxygen_furnace_spritelayout_metal_4; | |
relative_coord(3, 5): basic_oxygen_furnace_spritelayout_metal_4; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, basic_oxygen_furnace_industry_layout_2_graphics_switch, relative_pos) { | |
relative_coord(0, 0): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(0, 1): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(0, 2): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(0, 3): basic_oxygen_furnace_spritelayout_air_plant; | |
relative_coord(0, 4): basic_oxygen_furnace_spritelayout_shed; | |
relative_coord(1, 0): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(1, 1): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(1, 2): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(1, 3): basic_oxygen_furnace_spritelayout_tanks; | |
relative_coord(1, 4): basic_oxygen_furnace_spritelayout_metal_3; | |
relative_coord(2, 0): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(2, 1): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(2, 2): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(2, 3): basic_oxygen_furnace_spritelayout_tanks; | |
relative_coord(2, 4): basic_oxygen_furnace_spritelayout_metal_4; | |
relative_coord(3, 0): basic_oxygen_furnace_spritelayout_metal_1; | |
relative_coord(3, 1): basic_oxygen_furnace_spritelayout_metal_1; | |
relative_coord(3, 2): basic_oxygen_furnace_spritelayout_empty; | |
relative_coord(3, 3): basic_oxygen_furnace_spritelayout_metal_2; | |
relative_coord(3, 4): basic_oxygen_furnace_spritelayout_empty; | |
relative_coord(4, 0): basic_oxygen_furnace_spritelayout_shed; | |
relative_coord(4, 1): basic_oxygen_furnace_spritelayout_shed; | |
relative_coord(4, 2): basic_oxygen_furnace_spritelayout_manganese_1; | |
relative_coord(4, 3): basic_oxygen_furnace_spritelayout_empty; | |
relative_coord(4, 4): basic_oxygen_furnace_spritelayout_metal_3; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, basic_oxygen_furnace_industry_layout_3_graphics_switch, relative_pos) { | |
relative_coord(0, 0): basic_oxygen_furnace_spritelayout_metal_3; | |
relative_coord(0, 1): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(0, 2): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(0, 3): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(0, 4): basic_oxygen_furnace_spritelayout_air_plant; | |
relative_coord(1, 0): basic_oxygen_furnace_spritelayout_metal_3; | |
relative_coord(1, 1): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(1, 2): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(1, 3): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(1, 4): basic_oxygen_furnace_spritelayout_tanks; | |
relative_coord(2, 0): basic_oxygen_furnace_spritelayout_metal_3; | |
relative_coord(2, 1): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(2, 2): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(2, 3): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(2, 4): basic_oxygen_furnace_spritelayout_tanks; | |
relative_coord(3, 0): basic_oxygen_furnace_spritelayout_metal_4; | |
relative_coord(3, 1): basic_oxygen_furnace_spritelayout_empty; | |
relative_coord(3, 2): basic_oxygen_furnace_spritelayout_metal_2; | |
relative_coord(3, 3): basic_oxygen_furnace_spritelayout_metal_1; | |
relative_coord(3, 4): basic_oxygen_furnace_spritelayout_empty; | |
relative_coord(4, 0): basic_oxygen_furnace_spritelayout_metal_3; | |
relative_coord(4, 1): basic_oxygen_furnace_spritelayout_shed; | |
relative_coord(4, 2): basic_oxygen_furnace_spritelayout_shed; | |
relative_coord(4, 3): basic_oxygen_furnace_spritelayout_metal_4; | |
relative_coord(4, 4): basic_oxygen_furnace_spritelayout_manganese_1; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, basic_oxygen_furnace_industry_layout_4_graphics_switch, relative_pos) { | |
relative_coord(0, 0): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(0, 1): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(0, 2): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(0, 3): basic_oxygen_furnace_spritelayout_tanks; | |
relative_coord(1, 0): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(1, 1): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(1, 2): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(1, 3): basic_oxygen_furnace_spritelayout_tanks; | |
relative_coord(2, 0): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(2, 1): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(2, 2): basic_oxygen_furnace_spritelayout_furnace; | |
relative_coord(2, 3): basic_oxygen_furnace_spritelayout_air_plant; | |
relative_coord(3, 0): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(3, 1): basic_oxygen_furnace_spritelayout_caster; | |
relative_coord(3, 2): basic_oxygen_furnace_spritelayout_empty; | |
relative_coord(3, 3): basic_oxygen_furnace_spritelayout_manganese_1; | |
relative_coord(4, 0): basic_oxygen_furnace_spritelayout_metal_1; | |
relative_coord(4, 1): basic_oxygen_furnace_spritelayout_metal_1; | |
relative_coord(4, 2): basic_oxygen_furnace_spritelayout_empty; | |
relative_coord(4, 3): basic_oxygen_furnace_spritelayout_shed; | |
relative_coord(5, 0): basic_oxygen_furnace_spritelayout_metal_4; | |
relative_coord(5, 1): basic_oxygen_furnace_spritelayout_metal_2; | |
relative_coord(5, 2): basic_oxygen_furnace_spritelayout_metal_3; | |
relative_coord(5, 3): basic_oxygen_furnace_spritelayout_shed; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, PARENT, basic_oxygen_furnace_industry_graphics_switch_layouts, layout_num) { | |
1: basic_oxygen_furnace_industry_layout_1_graphics_switch; | |
2: basic_oxygen_furnace_industry_layout_2_graphics_switch; | |
3: basic_oxygen_furnace_industry_layout_3_graphics_switch; | |
4: basic_oxygen_furnace_industry_layout_4_graphics_switch; | |
basic_oxygen_furnace_industry_layout_1_graphics_switch; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, basic_oxygen_furnace_industry_construction_state_graphics_switch, construction_state) { | |
0..2: spritelayout_default_construction_states; | |
basic_oxygen_furnace_industry_graphics_switch_layouts; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, basic_oxygen_furnace_store_temp_vars, | |
[STORE_TEMP(random_bits, 14), | |
STORE_TEMP(terrain_type == TILETYPE_SNOW, 13) | |
, STORE_TEMP(0, | |
127) | |
, STORE_TEMP(construction_state != 3 ? 1 : LOAD_TEMP(127), | |
127) | |
, STORE_TEMP(LOAD_TEMP(13) == 0 ? 1 : LOAD_TEMP(127), | |
117) | |
, STORE_TEMP(LOAD_TEMP(13) == 1 ? 1 : LOAD_TEMP(127), | |
127) | |
]) { | |
basic_oxygen_furnace_industry_construction_state_graphics_switch; // default | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, basic_oxygen_furnace_switch_graphics, [ | |
switch_tile_fences(), | |
switch_terrain_sprite(), | |
]) { | |
basic_oxygen_furnace_store_temp_vars; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, basic_oxygen_furnace_tile_1_lc_2, | |
(nearby_tile_class( 2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -2) == TILE_CLASS_INDUSTRY) | |
) { | |
1: return CB_RESULT_LOCATION_DISALLOW; | |
return CB_RESULT_LOCATION_ALLOW; | |
} | |
switch (FEAT_INDUSTRYTILES, PARENT, basic_oxygen_furnace_tile_1_lc_1, ( | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_FUND) || | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
basic_oxygen_furnace_tile_1_lc_2; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, basic_oxygen_furnace_tile_1_lc_0, | |
( | |
nearby_tile_height(-relative_x, -relative_y) | |
+ (nearby_tile_slope(-relative_x, -relative_y) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(-relative_x, -relative_y) == bitmask(IS_STEEP_SLOPE) ? 2 : 1 | |
)) == (nearby_tile_height(0, 0) | |
+ (nearby_tile_slope(0, 0) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(0, 0) == bitmask(IS_STEEP_SLOPE) ? 2 : 1)) | |
) { | |
1: basic_oxygen_furnace_tile_1_lc_1; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, basic_oxygen_furnace_tile_1_anim_control, (extra_callback_info1 % 7)) { | |
0: return 0; | |
1: return 1; | |
2: return 2; | |
3: return 3; | |
4: return 4; | |
5: return 5; | |
6: return 6; | |
return CB_RESULT_NEXT_FRAME; | |
} | |
item(FEAT_INDUSTRYTILES, basic_oxygen_furnace_tile_1, 154) { | |
property { | |
substitute: 0; | |
land_shape_flags: 0; | |
special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); | |
animation_info: [ANIMATION_LOOPING, 7]; | |
animation_speed: 3; | |
animation_triggers: bitmask(ANIM_TRIGGER_INDTILE_CONSTRUCTION_STATE); | |
} | |
graphics { | |
tile_check: basic_oxygen_furnace_tile_1_lc_0; | |
anim_control: basic_oxygen_furnace_tile_1_anim_control; | |
basic_oxygen_furnace_switch_graphics; | |
} | |
} | |
/* ************************************************* | |
* Definition of the industry | |
* *************************************************/ | |
tilelayout basic_oxygen_furnace_industry_layout_1_tilelayout { | |
0, 0: basic_oxygen_furnace_tile_1; | |
0, 1: basic_oxygen_furnace_tile_1; | |
0, 2: basic_oxygen_furnace_tile_1; | |
0, 3: basic_oxygen_furnace_tile_1; | |
0, 4: basic_oxygen_furnace_tile_1; | |
0, 5: basic_oxygen_furnace_tile_1; | |
1, 0: basic_oxygen_furnace_tile_1; | |
1, 1: basic_oxygen_furnace_tile_1; | |
1, 2: basic_oxygen_furnace_tile_1; | |
1, 3: basic_oxygen_furnace_tile_1; | |
1, 4: basic_oxygen_furnace_tile_1; | |
1, 5: basic_oxygen_furnace_tile_1; | |
2, 0: basic_oxygen_furnace_tile_1; | |
2, 1: basic_oxygen_furnace_tile_1; | |
2, 2: basic_oxygen_furnace_tile_1; | |
2, 3: basic_oxygen_furnace_tile_1; | |
2, 4: basic_oxygen_furnace_tile_1; | |
2, 5: basic_oxygen_furnace_tile_1; | |
3, 0: basic_oxygen_furnace_tile_1; | |
3, 1: basic_oxygen_furnace_tile_1; | |
3, 2: basic_oxygen_furnace_tile_1; | |
3, 3: basic_oxygen_furnace_tile_1; | |
3, 4: basic_oxygen_furnace_tile_1; | |
3, 5: basic_oxygen_furnace_tile_1; | |
} | |
tilelayout basic_oxygen_furnace_industry_layout_2_tilelayout { | |
0, 0: basic_oxygen_furnace_tile_1; | |
0, 1: basic_oxygen_furnace_tile_1; | |
0, 2: basic_oxygen_furnace_tile_1; | |
0, 3: basic_oxygen_furnace_tile_1; | |
0, 4: basic_oxygen_furnace_tile_1; | |
1, 0: basic_oxygen_furnace_tile_1; | |
1, 1: basic_oxygen_furnace_tile_1; | |
1, 2: basic_oxygen_furnace_tile_1; | |
1, 3: basic_oxygen_furnace_tile_1; | |
1, 4: basic_oxygen_furnace_tile_1; | |
2, 0: basic_oxygen_furnace_tile_1; | |
2, 1: basic_oxygen_furnace_tile_1; | |
2, 2: basic_oxygen_furnace_tile_1; | |
2, 3: basic_oxygen_furnace_tile_1; | |
2, 4: basic_oxygen_furnace_tile_1; | |
3, 0: basic_oxygen_furnace_tile_1; | |
3, 1: basic_oxygen_furnace_tile_1; | |
3, 2: basic_oxygen_furnace_tile_1; | |
3, 3: basic_oxygen_furnace_tile_1; | |
3, 4: basic_oxygen_furnace_tile_1; | |
4, 0: basic_oxygen_furnace_tile_1; | |
4, 1: basic_oxygen_furnace_tile_1; | |
4, 2: basic_oxygen_furnace_tile_1; | |
4, 3: basic_oxygen_furnace_tile_1; | |
4, 4: basic_oxygen_furnace_tile_1; | |
} | |
tilelayout basic_oxygen_furnace_industry_layout_3_tilelayout { | |
0, 0: basic_oxygen_furnace_tile_1; | |
0, 1: basic_oxygen_furnace_tile_1; | |
0, 2: basic_oxygen_furnace_tile_1; | |
0, 3: basic_oxygen_furnace_tile_1; | |
0, 4: basic_oxygen_furnace_tile_1; | |
1, 0: basic_oxygen_furnace_tile_1; | |
1, 1: basic_oxygen_furnace_tile_1; | |
1, 2: basic_oxygen_furnace_tile_1; | |
1, 3: basic_oxygen_furnace_tile_1; | |
1, 4: basic_oxygen_furnace_tile_1; | |
2, 0: basic_oxygen_furnace_tile_1; | |
2, 1: basic_oxygen_furnace_tile_1; | |
2, 2: basic_oxygen_furnace_tile_1; | |
2, 3: basic_oxygen_furnace_tile_1; | |
2, 4: basic_oxygen_furnace_tile_1; | |
3, 0: basic_oxygen_furnace_tile_1; | |
3, 1: basic_oxygen_furnace_tile_1; | |
3, 2: basic_oxygen_furnace_tile_1; | |
3, 3: basic_oxygen_furnace_tile_1; | |
3, 4: basic_oxygen_furnace_tile_1; | |
4, 0: basic_oxygen_furnace_tile_1; | |
4, 1: basic_oxygen_furnace_tile_1; | |
4, 2: basic_oxygen_furnace_tile_1; | |
4, 3: basic_oxygen_furnace_tile_1; | |
4, 4: basic_oxygen_furnace_tile_1; | |
} | |
tilelayout basic_oxygen_furnace_industry_layout_4_tilelayout { | |
0, 0: basic_oxygen_furnace_tile_1; | |
0, 1: basic_oxygen_furnace_tile_1; | |
0, 2: basic_oxygen_furnace_tile_1; | |
0, 3: basic_oxygen_furnace_tile_1; | |
1, 0: basic_oxygen_furnace_tile_1; | |
1, 1: basic_oxygen_furnace_tile_1; | |
1, 2: basic_oxygen_furnace_tile_1; | |
1, 3: basic_oxygen_furnace_tile_1; | |
2, 0: basic_oxygen_furnace_tile_1; | |
2, 1: basic_oxygen_furnace_tile_1; | |
2, 2: basic_oxygen_furnace_tile_1; | |
2, 3: basic_oxygen_furnace_tile_1; | |
3, 0: basic_oxygen_furnace_tile_1; | |
3, 1: basic_oxygen_furnace_tile_1; | |
3, 2: basic_oxygen_furnace_tile_1; | |
3, 3: basic_oxygen_furnace_tile_1; | |
4, 0: basic_oxygen_furnace_tile_1; | |
4, 1: basic_oxygen_furnace_tile_1; | |
4, 2: basic_oxygen_furnace_tile_1; | |
4, 3: basic_oxygen_furnace_tile_1; | |
5, 0: basic_oxygen_furnace_tile_1; | |
5, 1: basic_oxygen_furnace_tile_1; | |
5, 2: basic_oxygen_furnace_tile_1; | |
5, 3: basic_oxygen_furnace_tile_1; | |
} | |
produce (basic_oxygen_furnace_produce_0, | |
[ | |
IRON: incoming_cargo_waiting("IRON"); | |
MNO2: incoming_cargo_waiting("MNO2"); | |
QLME: incoming_cargo_waiting("QLME"); | |
O2__: incoming_cargo_waiting("O2__"); | |
], | |
[ | |
STCB: (LOAD_PERM(11) * 4) / 8; | |
STAL: (LOAD_PERM(11) * 2) / 8; | |
SLAG: (LOAD_PERM(11) * 2) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_update_supplied_cycles_remaining_per_cargo_0, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("IRON") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("MNO2") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("QLME") > 0) * current_date | |
), | |
5 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
6 | |
), | |
(incoming_cargo_waiting("O2__") > 0) * current_date | |
), | |
6 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_produce_calculation_0, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
basic_oxygen_furnace_update_supplied_cycles_remaining_per_cargo_0(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 1 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
6 | |
) | |
) | |
<= 90 ? 1 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("IRON") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("MNO2") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("QLME") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("O2__") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
basic_oxygen_furnace_produce_0; | |
} | |
produce (basic_oxygen_furnace_produce_1, | |
[ | |
IRON: incoming_cargo_waiting("IRON"); | |
MNO2: incoming_cargo_waiting("MNO2"); | |
QLME: incoming_cargo_waiting("QLME"); | |
O2__: incoming_cargo_waiting("O2__"); | |
], | |
[ | |
STCB: (LOAD_PERM(11) * 4) / 8; | |
STAL: (LOAD_PERM(11) * 2) / 8; | |
SLAG: (LOAD_PERM(11) * 2) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_update_supplied_cycles_remaining_per_cargo_1, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("IRON") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("MNO2") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("QLME") > 0) * current_date | |
), | |
5 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
6 | |
), | |
(incoming_cargo_waiting("O2__") > 0) * current_date | |
), | |
6 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_produce_calculation_1, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
basic_oxygen_furnace_update_supplied_cycles_remaining_per_cargo_1(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 1 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
6 | |
) | |
) | |
<= 90 ? 1 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("IRON") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("MNO2") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("QLME") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("O2__") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
basic_oxygen_furnace_produce_1; | |
} | |
produce (basic_oxygen_furnace_produce_4, | |
[ | |
IRON: incoming_cargo_waiting("IRON"); | |
MNO2: incoming_cargo_waiting("MNO2"); | |
QLME: incoming_cargo_waiting("QLME"); | |
O2__: incoming_cargo_waiting("O2__"); | |
], | |
[ | |
STCB: (LOAD_PERM(11) * 4) / 8; | |
STAL: (LOAD_PERM(11) * 2) / 8; | |
SLAG: (LOAD_PERM(11) * 2) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_update_supplied_cycles_remaining_per_cargo_4, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("IRON") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("MNO2") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("QLME") > 0) * current_date | |
), | |
5 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
6 | |
), | |
(incoming_cargo_waiting("O2__") > 0) * current_date | |
), | |
6 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_produce_calculation_4, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
basic_oxygen_furnace_update_supplied_cycles_remaining_per_cargo_4(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 1 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
6 | |
) | |
) | |
<= 90 ? 1 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("IRON") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("MNO2") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("QLME") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("O2__") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
basic_oxygen_furnace_produce_4; | |
} | |
produce (basic_oxygen_furnace_produce_5, | |
[ | |
IRON: incoming_cargo_waiting("IRON"); | |
MNO2: incoming_cargo_waiting("MNO2"); | |
QLME: incoming_cargo_waiting("QLME"); | |
O2__: incoming_cargo_waiting("O2__"); | |
], | |
[ | |
STCB: (LOAD_PERM(11) * 4) / 8; | |
STAL: (LOAD_PERM(11) * 2) / 8; | |
SLAG: (LOAD_PERM(11) * 2) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_update_supplied_cycles_remaining_per_cargo_5, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("IRON") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("MNO2") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("QLME") > 0) * current_date | |
), | |
5 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
6 | |
), | |
(incoming_cargo_waiting("O2__") > 0) * current_date | |
), | |
6 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_produce_calculation_5, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
basic_oxygen_furnace_update_supplied_cycles_remaining_per_cargo_5(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 1 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
6 | |
) | |
) | |
<= 90 ? 1 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("IRON") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("MNO2") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("QLME") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("O2__") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
basic_oxygen_furnace_produce_5; | |
} | |
produce (basic_oxygen_furnace_produce_3, | |
[ | |
IRON: incoming_cargo_waiting("IRON"); | |
MNO2: incoming_cargo_waiting("MNO2"); | |
QLME: incoming_cargo_waiting("QLME"); | |
O2__: incoming_cargo_waiting("O2__"); | |
], | |
[ | |
STCB: (LOAD_PERM(11) * 4) / 8; | |
STAL: (LOAD_PERM(11) * 2) / 8; | |
SLAG: (LOAD_PERM(11) * 2) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_update_supplied_cycles_remaining_per_cargo_3, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("IRON") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("MNO2") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("QLME") > 0) * current_date | |
), | |
5 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
6 | |
), | |
(incoming_cargo_waiting("O2__") > 0) * current_date | |
), | |
6 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_produce_calculation_3, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
basic_oxygen_furnace_update_supplied_cycles_remaining_per_cargo_3(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 1 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
6 | |
) | |
) | |
<= 90 ? 1 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("IRON") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("MNO2") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("QLME") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("O2__") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
basic_oxygen_furnace_produce_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_produce_cargo_arrival, economy) { | |
0: basic_oxygen_furnace_produce_calculation_0; | |
1: basic_oxygen_furnace_produce_calculation_1; | |
4: basic_oxygen_furnace_produce_calculation_4; | |
5: basic_oxygen_furnace_produce_calculation_5; | |
3: basic_oxygen_furnace_produce_calculation_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_extra_text, economy) { | |
5: return string(STR_EXTRA_TEXT_SECONDARY_COMBINATORY); | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_cargo_subtype_display_cargo_IRON_economy_5, [ | |
LOAD_PERM( | |
5 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_cargo_subtype_display_cargo_MNO2_economy_5, [ | |
LOAD_PERM( | |
5 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_cargo_subtype_display_cargo_QLME_economy_5, [ | |
LOAD_PERM( | |
5 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_cargo_subtype_display_cargo_O2___economy_5, [ | |
LOAD_PERM( | |
5 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_cargo_subtype_display_switch_cargo_economy_5, getbits(extra_callback_info2, 16, 23)) { | |
IRON: basic_oxygen_furnace_cargo_subtype_display_cargo_IRON_economy_5; | |
MNO2: basic_oxygen_furnace_cargo_subtype_display_cargo_MNO2_economy_5; | |
QLME: basic_oxygen_furnace_cargo_subtype_display_cargo_QLME_economy_5; | |
O2__: basic_oxygen_furnace_cargo_subtype_display_cargo_O2___economy_5; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_cargo_subtype_display_switch_economy, economy) { | |
5: basic_oxygen_furnace_cargo_subtype_display_switch_cargo_economy_5; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_cargo_subtype_display, getbits(extra_callback_info2, 8, 8)) { | |
1: basic_oxygen_furnace_cargo_subtype_display_switch_economy; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch(FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_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, basic_oxygen_furnace_check_map_gen, extra_callback_info2 == IND_CREATION_GENERATION) { | |
1: return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
basic_oxygen_furnace_check_availability_param; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_available_game_mode, game_mode == GAMEMODE_GAME) { | |
1: basic_oxygen_furnace_check_map_gen; | |
return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_check_availability_0, current_date) { | |
date(0,1,1) .. date(5000000,12,31): basic_oxygen_furnace_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_check_availability_1, current_date) { | |
date(0,1,1) .. date(5000000,12,31): basic_oxygen_furnace_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_check_availability_4, current_date) { | |
date(0,1,1) .. date(5000000,12,31): basic_oxygen_furnace_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_check_availability_5, current_date) { | |
date(0,1,1) .. date(5000000,12,31): basic_oxygen_furnace_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_check_availability_3, current_date) { | |
date(0,1,1) .. date(5000000,12,31): basic_oxygen_furnace_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_check_availability, economy) { | |
0: basic_oxygen_furnace_check_availability_0; | |
1: basic_oxygen_furnace_check_availability_1; | |
4: basic_oxygen_furnace_check_availability_4; | |
5: basic_oxygen_furnace_check_availability_5; | |
3: basic_oxygen_furnace_check_availability_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_check_location_post_player_founding_checks_AND, | |
[ | |
location_check_industry_require_min_distance_to_another_industry_type(77,72) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(3,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(95,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(1,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(75,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(88,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(80,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(103,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(7,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(51,16) | |
]) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_check_location_post_player_founding_checks_OR, | |
[ | |
location_check_industry_require_max_distance_to_another_industry_type(7,72,0) | |
]) { | |
1: basic_oxygen_furnace_check_location_post_player_founding_checks_AND; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF,basic_oxygen_furnace_check_location_allow_player_founding, ( | |
(extra_callback_info2 == IND_CREATION_FUND) || | |
(extra_callback_info2 == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
basic_oxygen_furnace_check_location_post_player_founding_checks_OR; | |
} | |
switch (FEAT_INDUSTRIES, SELF, basic_oxygen_furnace_check_location, | |
[ | |
1 | |
]) { | |
1: return basic_oxygen_furnace_check_location_allow_player_founding; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
if (economy==5) { | |
item(FEAT_INDUSTRIES, basic_oxygen_furnace, 77) { | |
property { | |
substitute: 0; | |
override: 0; | |
map_colour: 49; | |
life_type: IND_LIFE_TYPE_PROCESSING; | |
min_cargo_distr: 1; | |
layouts: [basic_oxygen_furnace_industry_layout_1_tilelayout,basic_oxygen_furnace_industry_layout_2_tilelayout,basic_oxygen_furnace_industry_layout_3_tilelayout,basic_oxygen_furnace_industry_layout_4_tilelayout]; | |
spec_flags: bitmask(IND_FLAG_LONG_CARGO_TYPE_LISTS,IND_FLAG_MILITARY_HELICOPTER_CAN_EXPLODE); | |
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_BASIC_OXYGEN_FURNACE); | |
prob_map_gen: 5; | |
prob_in_game: 0; | |
fund_cost_multiplier: 160; | |
remove_cost_multiplier: 0; | |
remove_cost_multiplier: 0; | |
cargo_types: [accept_cargo("IRON"),accept_cargo("MNO2"),accept_cargo("QLME"),accept_cargo("O2__"),produce_cargo("STCB",0),produce_cargo("STAL",0),produce_cargo("SLAG",0)]; | |
nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_FURNACE)); | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_INDUSTRIES, basic_oxygen_furnace, 77) { | |
graphics { | |
construction_probability: basic_oxygen_furnace_check_availability; | |
produce_cargo_arrival: basic_oxygen_furnace_produce_cargo_arrival; | |
monthly_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
random_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
location_check: basic_oxygen_furnace_check_location; | |
extra_text_fund: return CB_RESULT_NO_TEXT; | |
extra_text_industry: basic_oxygen_furnace_extra_text; | |
cargo_subtype_display: basic_oxygen_furnace_cargo_subtype_display; | |
colour: switch_colour; | |
} | |
} | |
}/* ****************************************************************** | |
* Definition of the industry tile, its callbacks, and graphics chain | |
* ******************************************************************/ | |
spriteset(blast_furnace_spriteset_2_0) { | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_2_0_snow) { | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spriteset(blast_furnace_spriteset_3_0) { | |
[150, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_3_0_snow) { | |
[150, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spriteset(blast_furnace_spriteset_4_0) { | |
[10, 10, 64, 144, -31, -114, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_4_0_snow) { | |
[10, 10, 64, 144, -31, -114, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spriteset(blast_furnace_spriteset_5_0) { | |
[80, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_5_0_snow) { | |
[80, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spriteset(blast_furnace_spriteset_6_0) { | |
[220, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_6_0_snow) { | |
[220, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spriteset(blast_furnace_spriteset_7_0) { | |
[290, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_7_0_snow) { | |
[290, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spriteset(blast_furnace_spriteset_8_0) { | |
[360, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_8_0_snow) { | |
[360, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spriteset(blast_furnace_spriteset_9_0) { | |
[430, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_9_0_snow) { | |
[430, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spriteset(blast_furnace_spriteset_10_0) { | |
[570, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_10_0_snow) { | |
[570, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spriteset(blast_furnace_spriteset_11_0) { | |
[10, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[80, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[150, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[220, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[290, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[360, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[430, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[500, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[570, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[640, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_11_0_snow) { | |
[10, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[80, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[150, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[220, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[290, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[360, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[430, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[500, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[570, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[640, 160, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spriteset(blast_furnace_spriteset_12_0) { | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_12_0_snow) { | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[500, 10, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spriteset(blast_furnace_spriteset_13_0) { | |
[10, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[80, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[150, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[220, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[290, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[360, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[430, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[500, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[570, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
[640, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1.png"] | |
} | |
spriteset(blast_furnace_spriteset_13_0_snow) { | |
[10, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[80, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[150, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[220, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[290, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[360, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[430, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[500, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[570, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
[640, 310, 64, 122, -31, -91, ANIM | NOCROP, "src/graphics/industries/blast_furnace_1_snow.png"] | |
} | |
spritelayout blast_furnace_spritelayout_empty { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
} | |
spritelayout blast_furnace_spritelayout_greeble { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: blast_furnace_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: blast_furnace_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
} | |
spritelayout blast_furnace_spritelayout_blast_furnace_1 { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: blast_furnace_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(127)); | |
} | |
building { | |
sprite: blast_furnace_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(117)); | |
} | |
building { | |
sprite: 3701 + ((animation_frame + 0)%8); | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
xoffset: 5; | |
yoffset: 6; | |
zoffset: 68; | |
xextent: 15; | |
yextent: 7; | |
zextent: 7; | |
hide_sprite: 0; | |
} | |
} | |
spritelayout blast_furnace_spritelayout_blast_furnace_2 { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: blast_furnace_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(127)); | |
} | |
building { | |
sprite: blast_furnace_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(117)); | |
} | |
} | |
spritelayout blast_furnace_spritelayout_small_shed { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: blast_furnace_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(127)); | |
} | |
building { | |
sprite: blast_furnace_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(117)); | |
} | |
} | |
spritelayout blast_furnace_spritelayout_ladle_transporter { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: blast_furnace_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(127)); | |
} | |
building { | |
sprite: blast_furnace_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(117)); | |
} | |
} | |
spritelayout blast_furnace_spritelayout_brick_building { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: blast_furnace_spriteset_8_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(127)); | |
} | |
building { | |
sprite: blast_furnace_spriteset_8_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(117)); | |
} | |
} | |
spritelayout blast_furnace_spritelayout_small_tanks { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: blast_furnace_spriteset_9_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(127)); | |
} | |
building { | |
sprite: blast_furnace_spriteset_9_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(117)); | |
} | |
} | |
spritelayout blast_furnace_spritelayout_large_shed_rear_part { | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_hard_standing_dirt_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: blast_furnace_spriteset_10_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(127)); | |
} | |
building { | |
sprite: blast_furnace_spriteset_10_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(117)); | |
} | |
} | |
spritelayout blast_furnace_spritelayout_large_shed_front_part { | |
childsprite { | |
sprite: blast_furnace_spriteset_12_0(0); | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: blast_furnace_spriteset_12_0_snow(0); | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: blast_furnace_spriteset_12_0(0); | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: blast_furnace_spriteset_12_0_snow(0); | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: blast_furnace_spriteset_11_0(1*(animation_frame < 10) ? (animation_frame % 10) : 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(127)); | |
} | |
building { | |
sprite: blast_furnace_spriteset_11_0_snow(1*(animation_frame < 10) ? (animation_frame % 10) : 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(117)); | |
} | |
} | |
spritelayout blast_furnace_spritelayout_casting_shed { | |
childsprite { | |
sprite: blast_furnace_spriteset_12_0(0); | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: blast_furnace_spriteset_12_0_snow(0); | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: blast_furnace_spriteset_12_0(0); | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: blast_furnace_spriteset_12_0_snow(0); | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: blast_furnace_spriteset_13_0(1*(animation_frame < 10) ? (animation_frame % 10) : 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(127)); | |
} | |
building { | |
sprite: blast_furnace_spriteset_13_0_snow(1*(animation_frame < 10) ? (animation_frame % 10) : 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(117)); | |
} | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, blast_furnace_industry_layout_1_graphics_switch, relative_pos) { | |
relative_coord(0, 0): blast_furnace_spritelayout_empty; | |
relative_coord(0, 1): blast_furnace_spritelayout_empty; | |
relative_coord(0, 2): blast_furnace_spritelayout_empty; | |
relative_coord(0, 3): blast_furnace_spritelayout_empty; | |
relative_coord(1, 0): blast_furnace_spritelayout_blast_furnace_1; | |
relative_coord(1, 1): blast_furnace_spritelayout_blast_furnace_2; | |
relative_coord(1, 2): blast_furnace_spritelayout_small_tanks; | |
relative_coord(1, 3): blast_furnace_spritelayout_brick_building; | |
relative_coord(2, 0): blast_furnace_spritelayout_blast_furnace_1; | |
relative_coord(2, 1): blast_furnace_spritelayout_blast_furnace_2; | |
relative_coord(2, 2): blast_furnace_spritelayout_small_shed; | |
relative_coord(2, 3): blast_furnace_spritelayout_empty; | |
relative_coord(3, 0): blast_furnace_spritelayout_blast_furnace_1; | |
relative_coord(3, 1): blast_furnace_spritelayout_blast_furnace_2; | |
relative_coord(3, 2): blast_furnace_spritelayout_greeble; | |
relative_coord(3, 3): blast_furnace_spritelayout_empty; | |
relative_coord(4, 0): blast_furnace_spritelayout_empty; | |
relative_coord(4, 1): blast_furnace_spritelayout_large_shed_rear_part; | |
relative_coord(4, 2): blast_furnace_spritelayout_small_shed; | |
relative_coord(4, 3): blast_furnace_spritelayout_small_shed; | |
relative_coord(5, 0): blast_furnace_spritelayout_casting_shed; | |
relative_coord(5, 1): blast_furnace_spritelayout_large_shed_front_part; | |
relative_coord(5, 2): blast_furnace_spritelayout_ladle_transporter; | |
relative_coord(5, 3): blast_furnace_spritelayout_greeble; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, blast_furnace_industry_layout_2_graphics_switch, relative_pos) { | |
relative_coord(0, 0): blast_furnace_spritelayout_small_tanks; | |
relative_coord(0, 1): blast_furnace_spritelayout_large_shed_rear_part; | |
relative_coord(0, 2): blast_furnace_spritelayout_small_shed; | |
relative_coord(0, 3): blast_furnace_spritelayout_blast_furnace_1; | |
relative_coord(0, 4): blast_furnace_spritelayout_blast_furnace_2; | |
relative_coord(0, 5): blast_furnace_spritelayout_empty; | |
relative_coord(1, 0): blast_furnace_spritelayout_casting_shed; | |
relative_coord(1, 1): blast_furnace_spritelayout_large_shed_front_part; | |
relative_coord(1, 2): blast_furnace_spritelayout_blast_furnace_1; | |
relative_coord(1, 3): blast_furnace_spritelayout_blast_furnace_2; | |
relative_coord(1, 4): blast_furnace_spritelayout_brick_building; | |
relative_coord(1, 5): blast_furnace_spritelayout_empty; | |
relative_coord(2, 0): blast_furnace_spritelayout_empty; | |
relative_coord(2, 1): blast_furnace_spritelayout_large_shed_rear_part; | |
relative_coord(2, 2): blast_furnace_spritelayout_blast_furnace_1; | |
relative_coord(2, 3): blast_furnace_spritelayout_blast_furnace_2; | |
relative_coord(2, 4): blast_furnace_spritelayout_small_shed; | |
relative_coord(2, 5): blast_furnace_spritelayout_empty; | |
relative_coord(3, 0): blast_furnace_spritelayout_casting_shed; | |
relative_coord(3, 1): blast_furnace_spritelayout_large_shed_front_part; | |
relative_coord(3, 2): blast_furnace_spritelayout_ladle_transporter; | |
relative_coord(3, 3): blast_furnace_spritelayout_empty; | |
relative_coord(3, 4): blast_furnace_spritelayout_greeble; | |
relative_coord(3, 5): blast_furnace_spritelayout_empty; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, PARENT, blast_furnace_industry_graphics_switch_layouts, layout_num) { | |
1: blast_furnace_industry_layout_1_graphics_switch; | |
2: blast_furnace_industry_layout_2_graphics_switch; | |
blast_furnace_industry_layout_1_graphics_switch; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, blast_furnace_industry_construction_state_graphics_switch, construction_state) { | |
0..2: spritelayout_default_construction_states; | |
blast_furnace_industry_graphics_switch_layouts; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, blast_furnace_store_temp_vars, | |
[STORE_TEMP(random_bits, 14), | |
STORE_TEMP(terrain_type == TILETYPE_SNOW, 13) | |
, STORE_TEMP(0, | |
127) | |
, STORE_TEMP(construction_state != 3 ? 1 : LOAD_TEMP(127), | |
127) | |
, STORE_TEMP(LOAD_TEMP(13) == 0 ? 1 : LOAD_TEMP(127), | |
117) | |
, STORE_TEMP(LOAD_TEMP(13) == 1 ? 1 : LOAD_TEMP(127), | |
127) | |
]) { | |
blast_furnace_industry_construction_state_graphics_switch; // default | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, blast_furnace_switch_graphics, [ | |
switch_tile_fences(), | |
switch_terrain_sprite(), | |
]) { | |
blast_furnace_store_temp_vars; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, blast_furnace_tile_1_lc_2, | |
(nearby_tile_class( 2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -2) == TILE_CLASS_INDUSTRY) | |
) { | |
1: return CB_RESULT_LOCATION_DISALLOW; | |
return CB_RESULT_LOCATION_ALLOW; | |
} | |
switch (FEAT_INDUSTRYTILES, PARENT, blast_furnace_tile_1_lc_1, ( | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_FUND) || | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
blast_furnace_tile_1_lc_2; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, blast_furnace_tile_1_lc_0, | |
( | |
nearby_tile_height(-relative_x, -relative_y) | |
+ (nearby_tile_slope(-relative_x, -relative_y) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(-relative_x, -relative_y) == bitmask(IS_STEEP_SLOPE) ? 2 : 1 | |
)) == (nearby_tile_height(0, 0) | |
+ (nearby_tile_slope(0, 0) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(0, 0) == bitmask(IS_STEEP_SLOPE) ? 2 : 1)) | |
) { | |
1: blast_furnace_tile_1_lc_1; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, blast_furnace_tile_2_lc_2, | |
(nearby_tile_class( 2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -2) == TILE_CLASS_INDUSTRY) | |
) { | |
1: return CB_RESULT_LOCATION_DISALLOW; | |
return CB_RESULT_LOCATION_ALLOW; | |
} | |
switch (FEAT_INDUSTRYTILES, PARENT, blast_furnace_tile_2_lc_1, ( | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_FUND) || | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
blast_furnace_tile_2_lc_2; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, blast_furnace_tile_2_lc_0, | |
( | |
nearby_tile_height(-relative_x, -relative_y) | |
+ (nearby_tile_slope(-relative_x, -relative_y) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(-relative_x, -relative_y) == bitmask(IS_STEEP_SLOPE) ? 2 : 1 | |
)) == (nearby_tile_height(0, 0) | |
+ (nearby_tile_slope(0, 0) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(0, 0) == bitmask(IS_STEEP_SLOPE) ? 2 : 1)) | |
) { | |
1: blast_furnace_tile_2_lc_1; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, blast_furnace_tile_1_anim_control, (extra_callback_info1 % 7)) { | |
0: return 0; | |
1: return 1; | |
2: return 2; | |
3: return 3; | |
4: return 4; | |
5: return 5; | |
6: return 6; | |
return CB_RESULT_NEXT_FRAME; | |
} | |
item(FEAT_INDUSTRYTILES, blast_furnace_tile_1, 158) { | |
property { | |
substitute: 0; | |
land_shape_flags: 0; | |
special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); | |
animation_info: [ANIMATION_LOOPING, 7]; | |
animation_speed: 3; | |
animation_triggers: bitmask(ANIM_TRIGGER_INDTILE_CONSTRUCTION_STATE); | |
} | |
graphics { | |
tile_check: blast_furnace_tile_1_lc_0; | |
anim_control: blast_furnace_tile_1_anim_control; | |
blast_furnace_switch_graphics; | |
} | |
} | |
item(FEAT_INDUSTRYTILES, blast_furnace_tile_2, 159) { | |
property { | |
substitute: 0; | |
land_shape_flags: 0; | |
special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); | |
animation_info: [ANIMATION_LOOPING, 30]; | |
animation_speed: 4; | |
animation_triggers: bitmask(); | |
} | |
graphics { | |
tile_check: blast_furnace_tile_2_lc_0; | |
blast_furnace_switch_graphics; | |
} | |
} | |
/* ************************************************* | |
* Definition of the industry | |
* *************************************************/ | |
tilelayout blast_furnace_industry_layout_1_tilelayout { | |
0, 0: blast_furnace_tile_1; | |
0, 1: blast_furnace_tile_1; | |
0, 2: blast_furnace_tile_1; | |
0, 3: blast_furnace_tile_1; | |
1, 0: blast_furnace_tile_1; | |
1, 1: blast_furnace_tile_1; | |
1, 2: blast_furnace_tile_1; | |
1, 3: blast_furnace_tile_1; | |
2, 0: blast_furnace_tile_1; | |
2, 1: blast_furnace_tile_1; | |
2, 2: blast_furnace_tile_1; | |
2, 3: blast_furnace_tile_1; | |
3, 0: blast_furnace_tile_1; | |
3, 1: blast_furnace_tile_1; | |
3, 2: blast_furnace_tile_1; | |
3, 3: blast_furnace_tile_1; | |
4, 0: blast_furnace_tile_1; | |
4, 1: blast_furnace_tile_2; | |
4, 2: blast_furnace_tile_1; | |
4, 3: blast_furnace_tile_1; | |
5, 0: blast_furnace_tile_2; | |
5, 1: blast_furnace_tile_2; | |
5, 2: blast_furnace_tile_1; | |
5, 3: blast_furnace_tile_1; | |
} | |
tilelayout blast_furnace_industry_layout_2_tilelayout { | |
0, 0: blast_furnace_tile_1; | |
0, 1: blast_furnace_tile_1; | |
0, 2: blast_furnace_tile_1; | |
0, 3: blast_furnace_tile_1; | |
0, 4: blast_furnace_tile_1; | |
0, 5: blast_furnace_tile_1; | |
1, 0: blast_furnace_tile_1; | |
1, 1: blast_furnace_tile_1; | |
1, 2: blast_furnace_tile_1; | |
1, 3: blast_furnace_tile_1; | |
1, 4: blast_furnace_tile_1; | |
1, 5: blast_furnace_tile_1; | |
2, 0: blast_furnace_tile_1; | |
2, 1: blast_furnace_tile_2; | |
2, 2: blast_furnace_tile_1; | |
2, 3: blast_furnace_tile_1; | |
2, 4: blast_furnace_tile_1; | |
2, 5: blast_furnace_tile_1; | |
3, 0: blast_furnace_tile_2; | |
3, 1: blast_furnace_tile_2; | |
3, 2: blast_furnace_tile_1; | |
3, 3: blast_furnace_tile_1; | |
3, 4: blast_furnace_tile_1; | |
3, 5: blast_furnace_tile_1; | |
} | |
produce (blast_furnace_produce_0, | |
[ | |
IORE: incoming_cargo_waiting("IORE"); | |
COAL: incoming_cargo_waiting("COAL"); | |
SCMT: incoming_cargo_waiting("SCMT"); | |
], | |
[ | |
STEL: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_update_supplied_cycles_remaining_per_cargo_0, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("IORE") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("COAL") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("SCMT") > 0) * current_date | |
), | |
5 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_produce_calculation_0, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
blast_furnace_update_supplied_cycles_remaining_per_cargo_0(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 3 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 3 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("IORE") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("COAL") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("SCMT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
blast_furnace_produce_0; | |
} | |
produce (blast_furnace_produce_1, | |
[ | |
IORE: incoming_cargo_waiting("IORE"); | |
COAL: incoming_cargo_waiting("COAL"); | |
SCMT: incoming_cargo_waiting("SCMT"); | |
], | |
[ | |
STEL: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_update_supplied_cycles_remaining_per_cargo_1, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("IORE") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("COAL") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("SCMT") > 0) * current_date | |
), | |
5 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_produce_calculation_1, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
blast_furnace_update_supplied_cycles_remaining_per_cargo_1(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 3 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 3 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("IORE") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("COAL") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("SCMT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
blast_furnace_produce_1; | |
} | |
produce (blast_furnace_produce_4, | |
[ | |
IORE: incoming_cargo_waiting("IORE"); | |
COAL: incoming_cargo_waiting("COAL"); | |
SCMT: incoming_cargo_waiting("SCMT"); | |
], | |
[ | |
STEL: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_update_supplied_cycles_remaining_per_cargo_4, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("IORE") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("COAL") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("SCMT") > 0) * current_date | |
), | |
5 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_produce_calculation_4, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
blast_furnace_update_supplied_cycles_remaining_per_cargo_4(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 3 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 3 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("IORE") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("COAL") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("SCMT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
blast_furnace_produce_4; | |
} | |
produce (blast_furnace_produce_5, | |
[ | |
IORE: incoming_cargo_waiting("IORE"); | |
COKE: incoming_cargo_waiting("COKE"); | |
LIME: incoming_cargo_waiting("LIME"); | |
], | |
[ | |
IRON: (LOAD_PERM(11) * 4) / 8; | |
CSTI: (LOAD_PERM(11) * 2) / 8; | |
SLAG: (LOAD_PERM(11) * 2) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_update_supplied_cycles_remaining_per_cargo_5, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("IORE") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("COKE") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("LIME") > 0) * current_date | |
), | |
5 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_produce_calculation_5, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
blast_furnace_update_supplied_cycles_remaining_per_cargo_5(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 3 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 3 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("IORE") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("COKE") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("LIME") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
blast_furnace_produce_5; | |
} | |
produce (blast_furnace_produce_3, | |
[ | |
IORE: incoming_cargo_waiting("IORE"); | |
COAL: incoming_cargo_waiting("COAL"); | |
SCMT: incoming_cargo_waiting("SCMT"); | |
], | |
[ | |
STEL: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_update_supplied_cycles_remaining_per_cargo_3, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("IORE") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("COAL") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("SCMT") > 0) * current_date | |
), | |
5 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_produce_calculation_3, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
blast_furnace_update_supplied_cycles_remaining_per_cargo_3(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 3 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 3 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("IORE") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("COAL") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("SCMT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
blast_furnace_produce_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_produce_cargo_arrival, economy) { | |
0: blast_furnace_produce_calculation_0; | |
1: blast_furnace_produce_calculation_1; | |
4: blast_furnace_produce_calculation_4; | |
5: blast_furnace_produce_calculation_5; | |
3: blast_furnace_produce_calculation_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_extra_text, economy) { | |
0: return string(STR_EXTRA_TEXT_SECONDARY_COMBINATORY); | |
5: return string(STR_EXTRA_TEXT_SECONDARY_COMBINATORY); | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_cargo_subtype_display_cargo_IORE_economy_0, [ | |
LOAD_PERM( | |
3 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_cargo_subtype_display_cargo_COAL_economy_0, [ | |
LOAD_PERM( | |
3 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_cargo_subtype_display_cargo_SCMT_economy_0, [ | |
LOAD_PERM( | |
3 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_cargo_subtype_display_switch_cargo_economy_0, getbits(extra_callback_info2, 16, 23)) { | |
IORE: blast_furnace_cargo_subtype_display_cargo_IORE_economy_0; | |
COAL: blast_furnace_cargo_subtype_display_cargo_COAL_economy_0; | |
SCMT: blast_furnace_cargo_subtype_display_cargo_SCMT_economy_0; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_cargo_subtype_display_cargo_IORE_economy_5, [ | |
LOAD_PERM( | |
3 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_cargo_subtype_display_cargo_COKE_economy_5, [ | |
LOAD_PERM( | |
3 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_cargo_subtype_display_cargo_LIME_economy_5, [ | |
LOAD_PERM( | |
3 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_cargo_subtype_display_switch_cargo_economy_5, getbits(extra_callback_info2, 16, 23)) { | |
IORE: blast_furnace_cargo_subtype_display_cargo_IORE_economy_5; | |
COKE: blast_furnace_cargo_subtype_display_cargo_COKE_economy_5; | |
LIME: blast_furnace_cargo_subtype_display_cargo_LIME_economy_5; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_cargo_subtype_display_switch_economy, economy) { | |
0: blast_furnace_cargo_subtype_display_switch_cargo_economy_0; | |
5: blast_furnace_cargo_subtype_display_switch_cargo_economy_5; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_cargo_subtype_display, getbits(extra_callback_info2, 8, 8)) { | |
1: blast_furnace_cargo_subtype_display_switch_economy; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch(FEAT_INDUSTRIES, SELF, blast_furnace_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, blast_furnace_check_map_gen, extra_callback_info2 == IND_CREATION_GENERATION) { | |
1: return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
blast_furnace_check_availability_param; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_available_game_mode, game_mode == GAMEMODE_GAME) { | |
1: blast_furnace_check_map_gen; | |
return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
} | |
/* 1800 */ | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_check_availability_0, current_date) { | |
date(1800,1,1) .. date(5000000,12,31): blast_furnace_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_check_availability_1, current_date) { | |
date(0,1,1) .. date(5000000,12,31): blast_furnace_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_check_availability_4, current_date) { | |
date(0,1,1) .. date(5000000,12,31): blast_furnace_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_check_availability_5, current_date) { | |
date(0,1,1) .. date(5000000,12,31): blast_furnace_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_check_availability_3, current_date) { | |
date(0,1,1) .. date(5000000,12,31): blast_furnace_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_check_availability, economy) { | |
0: blast_furnace_check_availability_0; | |
1: blast_furnace_check_availability_1; | |
4: blast_furnace_check_availability_4; | |
5: blast_furnace_check_availability_5; | |
3: blast_furnace_check_availability_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_check_location_post_player_founding_checks_AND, | |
[ | |
location_check_industry_require_min_distance_to_another_industry_type(7,56) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(25,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(0,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(81,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(78,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(10,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(77,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(80,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(54,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(4,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(9,16) | |
]) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_check_location_post_player_founding_checks_OR, | |
[ | |
1 | |
]) { | |
1: blast_furnace_check_location_post_player_founding_checks_AND; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF,blast_furnace_check_location_allow_player_founding, ( | |
(extra_callback_info2 == IND_CREATION_FUND) || | |
(extra_callback_info2 == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
blast_furnace_check_location_post_player_founding_checks_OR; | |
} | |
switch (FEAT_INDUSTRIES, SELF, blast_furnace_check_location, | |
[ | |
1 | |
]) { | |
1: return blast_furnace_check_location_allow_player_founding; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
if (economy==0) { | |
item(FEAT_INDUSTRIES, blast_furnace, 7) { | |
property { | |
substitute: 0; | |
override: 0; | |
map_colour: 10; | |
life_type: IND_LIFE_TYPE_PROCESSING; | |
min_cargo_distr: 1; | |
layouts: [blast_furnace_industry_layout_1_tilelayout,blast_furnace_industry_layout_2_tilelayout]; | |
spec_flags: bitmask(IND_FLAG_LONG_CARGO_TYPE_LISTS); | |
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_STEEL_MILL); | |
prob_map_gen: 5; | |
prob_in_game: 3; | |
fund_cost_multiplier: 190; | |
remove_cost_multiplier: 0; | |
remove_cost_multiplier: 0; | |
cargo_types: [accept_cargo("IORE"),accept_cargo("COAL"),accept_cargo("SCMT"),produce_cargo("STEL",0)]; | |
nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_FURNACE)); | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_INDUSTRIES, blast_furnace, 7) { | |
property { | |
substitute: 0; | |
override: 0; | |
map_colour: 10; | |
life_type: IND_LIFE_TYPE_PROCESSING; | |
min_cargo_distr: 1; | |
layouts: [blast_furnace_industry_layout_1_tilelayout,blast_furnace_industry_layout_2_tilelayout]; | |
spec_flags: bitmask(IND_FLAG_LONG_CARGO_TYPE_LISTS); | |
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_BLAST_FURNACE); | |
prob_map_gen: 3; | |
prob_in_game: 0; | |
fund_cost_multiplier: 190; | |
remove_cost_multiplier: 0; | |
remove_cost_multiplier: 0; | |
cargo_types: [accept_cargo("IORE"),accept_cargo("COKE"),accept_cargo("LIME"),produce_cargo("IRON",0),produce_cargo("CSTI",0),produce_cargo("SLAG",0)]; | |
nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_FURNACE)); | |
} | |
} | |
} | |
if (economy==0) { | |
item(FEAT_INDUSTRIES, blast_furnace, 7) { | |
graphics { | |
construction_probability: blast_furnace_check_availability; | |
produce_cargo_arrival: blast_furnace_produce_cargo_arrival; | |
monthly_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
random_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
location_check: blast_furnace_check_location; | |
extra_text_fund: return string(STR_FUND_AVAILABLE_FROM, 1800); | |
extra_text_industry: blast_furnace_extra_text; | |
cargo_subtype_display: blast_furnace_cargo_subtype_display; | |
colour: switch_colour; | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_INDUSTRIES, blast_furnace, 7) { | |
graphics { | |
construction_probability: blast_furnace_check_availability; | |
produce_cargo_arrival: blast_furnace_produce_cargo_arrival; | |
monthly_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
random_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
location_check: blast_furnace_check_location; | |
extra_text_fund: return CB_RESULT_NO_TEXT; | |
extra_text_industry: blast_furnace_extra_text; | |
cargo_subtype_display: blast_furnace_cargo_subtype_display; | |
colour: switch_colour; | |
} | |
} | |
}/* ****************************************************************** | |
* Definition of the industry tile, its callbacks, and graphics chain | |
* ******************************************************************/ | |
spriteset(body_plant_spriteset_2_0) { | |
[10, 60, 64, 70, -31, -35, ANIM | NOCROP, "src/graphics/industries/body_plant_1.png"] | |
} | |
spriteset(body_plant_spriteset_2_0_snow) { | |
[10, 60, 64, 70, -31, -35, ANIM | NOCROP, "src/graphics/industries/body_plant_1_snow.png"] | |
} | |
spriteset(body_plant_spriteset_3_0) { | |
[80, 60, 64, 70, -31, -35, ANIM | NOCROP, "src/graphics/industries/body_plant_1.png"] | |
} | |
spriteset(body_plant_spriteset_3_0_snow) { | |
[80, 60, 64, 70, -31, -35, ANIM | NOCROP, "src/graphics/industries/body_plant_1_snow.png"] | |
} | |
spriteset(body_plant_spriteset_4_0) { | |
[150, 60, 64, 51, -31, -20, ANIM | NOCROP, "src/graphics/industries/body_plant_1.png"] | |
} | |
spriteset(body_plant_spriteset_4_0_snow) { | |
[150, 60, 64, 51, -31, -20, ANIM | NOCROP, "src/graphics/industries/body_plant_1_snow.png"] | |
} | |
spriteset(body_plant_spriteset_5_0) { | |
[220, 60, 64, 51, -31, -23, ANIM | NOCROP, "src/graphics/industries/body_plant_1.png"] | |
} | |
spriteset(body_plant_spriteset_5_0_snow) { | |
[220, 60, 64, 51, -31, -23, ANIM | NOCROP, "src/graphics/industries/body_plant_1_snow.png"] | |
} | |
spriteset(body_plant_spriteset_6_0) { | |
[290, 60, 64, 51, -31, -20, ANIM | NOCROP, "src/graphics/industries/body_plant_1.png"] | |
} | |
spriteset(body_plant_spriteset_6_0_snow) { | |
[290, 60, 64, 51, -31, -20, ANIM | NOCROP, "src/graphics/industries/body_plant_1_snow.png"] | |
} | |
spriteset(body_plant_spriteset_7_0) { | |
[360, 60, 64, 31, -31, 0, ANIM | NOCROP, "src/graphics/industries/body_plant_1.png"] | |
} | |
spriteset(body_plant_spriteset_7_0_snow) { | |
[360, 60, 64, 31, -31, 0, ANIM | NOCROP, "src/graphics/industries/body_plant_1_snow.png"] | |
} | |
spritelayout body_plant_spritelayout_1 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: body_plant_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: body_plant_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout body_plant_spritelayout_2 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: body_plant_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: body_plant_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout body_plant_spritelayout_3 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: body_plant_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(127)); | |
} | |
building { | |
sprite: body_plant_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout body_plant_spritelayout_4 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: body_plant_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(127)); | |
} | |
building { | |
sprite: body_plant_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(117)); | |
} | |
building { | |
sprite: 3079 + (animation_frame / 4); | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
xoffset: -5; | |
yoffset: 0; | |
zoffset: 26+ animation_frame; | |
xextent: 11; | |
yextent: 16; | |
zextent: 7; | |
hide_sprite: animation_frame > 19; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout body_plant_spritelayout_5 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: body_plant_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(127)); | |
} | |
building { | |
sprite: body_plant_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout body_plant_spritelayout_6 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: body_plant_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(127)); | |
} | |
building { | |
sprite: body_plant_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, body_plant_industry_layout_1_graphics_switch, relative_pos) { | |
relative_coord(0, 0): body_plant_spritelayout_3; | |
relative_coord(0, 1): body_plant_spritelayout_3; | |
relative_coord(0, 2): body_plant_spritelayout_3; | |
relative_coord(0, 3): body_plant_spritelayout_3; | |
relative_coord(0, 4): body_plant_spritelayout_6; | |
relative_coord(0, 5): body_plant_spritelayout_4; | |
relative_coord(1, 0): body_plant_spritelayout_3; | |
relative_coord(1, 1): body_plant_spritelayout_3; | |
relative_coord(1, 2): body_plant_spritelayout_3; | |
relative_coord(1, 3): body_plant_spritelayout_3; | |
relative_coord(1, 4): body_plant_spritelayout_6; | |
relative_coord(1, 5): body_plant_spritelayout_5; | |
relative_coord(2, 0): body_plant_spritelayout_3; | |
relative_coord(2, 1): body_plant_spritelayout_1; | |
relative_coord(2, 2): body_plant_spritelayout_2; | |
relative_coord(2, 3): body_plant_spritelayout_1; | |
relative_coord(2, 4): body_plant_spritelayout_2; | |
relative_coord(2, 5): body_plant_spritelayout_6; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, body_plant_industry_construction_state_graphics_switch, construction_state) { | |
0..2: spritelayout_default_construction_states; | |
body_plant_industry_layout_1_graphics_switch; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, body_plant_store_temp_vars, | |
[STORE_TEMP(random_bits, 14), | |
STORE_TEMP(terrain_type == TILETYPE_SNOW, 13) | |
, STORE_TEMP(0, | |
127) | |
, STORE_TEMP(construction_state != 3 ? 1 : LOAD_TEMP(127), | |
127) | |
, STORE_TEMP(LOAD_TEMP(13) == 0 ? 1 : LOAD_TEMP(127), | |
117) | |
, STORE_TEMP(LOAD_TEMP(13) == 1 ? 1 : LOAD_TEMP(127), | |
127) | |
]) { | |
body_plant_industry_construction_state_graphics_switch; // default | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, body_plant_switch_graphics, [ | |
switch_tile_fences(), | |
switch_terrain_sprite(), | |
]) { | |
body_plant_store_temp_vars; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, body_plant_tile_1_lc_2, | |
(nearby_tile_class( 2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -2) == TILE_CLASS_INDUSTRY) | |
) { | |
1: return CB_RESULT_LOCATION_DISALLOW; | |
return CB_RESULT_LOCATION_ALLOW; | |
} | |
switch (FEAT_INDUSTRYTILES, PARENT, body_plant_tile_1_lc_1, ( | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_FUND) || | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
body_plant_tile_1_lc_2; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, body_plant_tile_1_lc_0, | |
( | |
nearby_tile_height(-relative_x, -relative_y) | |
+ (nearby_tile_slope(-relative_x, -relative_y) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(-relative_x, -relative_y) == bitmask(IS_STEEP_SLOPE) ? 2 : 1 | |
)) == (nearby_tile_height(0, 0) | |
+ (nearby_tile_slope(0, 0) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(0, 0) == bitmask(IS_STEEP_SLOPE) ? 2 : 1)) | |
) { | |
1: body_plant_tile_1_lc_1; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
item(FEAT_INDUSTRYTILES, body_plant_tile_1, 151) { | |
property { | |
substitute: 0; | |
land_shape_flags: 0; | |
special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); | |
animation_info: [ANIMATION_LOOPING, 71]; | |
animation_speed: 2; | |
animation_triggers: bitmask(); | |
} | |
graphics { | |
tile_check: body_plant_tile_1_lc_0; | |
body_plant_switch_graphics; | |
} | |
} | |
/* ************************************************* | |
* Definition of the industry | |
* *************************************************/ | |
tilelayout body_plant_industry_layout_1_tilelayout { | |
0, 0: body_plant_tile_1; | |
0, 1: body_plant_tile_1; | |
0, 2: body_plant_tile_1; | |
0, 3: body_plant_tile_1; | |
0, 4: body_plant_tile_1; | |
0, 5: body_plant_tile_1; | |
1, 0: body_plant_tile_1; | |
1, 1: body_plant_tile_1; | |
1, 2: body_plant_tile_1; | |
1, 3: body_plant_tile_1; | |
1, 4: body_plant_tile_1; | |
1, 5: body_plant_tile_1; | |
2, 0: body_plant_tile_1; | |
2, 1: body_plant_tile_1; | |
2, 2: body_plant_tile_1; | |
2, 3: body_plant_tile_1; | |
2, 4: body_plant_tile_1; | |
2, 5: body_plant_tile_1; | |
} | |
produce (body_plant_produce_0, | |
[ | |
STSH: incoming_cargo_waiting("STSH"); | |
COAT: incoming_cargo_waiting("COAT"); | |
GLAS: incoming_cargo_waiting("GLAS"); | |
], | |
[ | |
VBOD: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, body_plant_update_supplied_cycles_remaining_per_cargo_0, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("STSH") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("COAT") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("GLAS") > 0) * current_date | |
), | |
5 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_produce_calculation_0, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
body_plant_update_supplied_cycles_remaining_per_cargo_0(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("STSH") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("COAT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("GLAS") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
body_plant_produce_0; | |
} | |
produce (body_plant_produce_1, | |
[ | |
STSH: incoming_cargo_waiting("STSH"); | |
COAT: incoming_cargo_waiting("COAT"); | |
GLAS: incoming_cargo_waiting("GLAS"); | |
], | |
[ | |
VBOD: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, body_plant_update_supplied_cycles_remaining_per_cargo_1, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("STSH") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("COAT") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("GLAS") > 0) * current_date | |
), | |
5 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_produce_calculation_1, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
body_plant_update_supplied_cycles_remaining_per_cargo_1(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("STSH") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("COAT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("GLAS") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
body_plant_produce_1; | |
} | |
produce (body_plant_produce_4, | |
[ | |
STSH: incoming_cargo_waiting("STSH"); | |
COAT: incoming_cargo_waiting("COAT"); | |
GLAS: incoming_cargo_waiting("GLAS"); | |
], | |
[ | |
VBOD: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, body_plant_update_supplied_cycles_remaining_per_cargo_4, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("STSH") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("COAT") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("GLAS") > 0) * current_date | |
), | |
5 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_produce_calculation_4, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
body_plant_update_supplied_cycles_remaining_per_cargo_4(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("STSH") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("COAT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("GLAS") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
body_plant_produce_4; | |
} | |
produce (body_plant_produce_5, | |
[ | |
STSH: incoming_cargo_waiting("STSH"); | |
COAT: incoming_cargo_waiting("COAT"); | |
GLAS: incoming_cargo_waiting("GLAS"); | |
], | |
[ | |
VBOD: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, body_plant_update_supplied_cycles_remaining_per_cargo_5, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("STSH") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("COAT") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("GLAS") > 0) * current_date | |
), | |
5 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_produce_calculation_5, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
body_plant_update_supplied_cycles_remaining_per_cargo_5(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("STSH") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("COAT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("GLAS") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
body_plant_produce_5; | |
} | |
produce (body_plant_produce_3, | |
[ | |
STSH: incoming_cargo_waiting("STSH"); | |
COAT: incoming_cargo_waiting("COAT"); | |
GLAS: incoming_cargo_waiting("GLAS"); | |
], | |
[ | |
VBOD: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, body_plant_update_supplied_cycles_remaining_per_cargo_3, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("STSH") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("COAT") > 0) * current_date | |
), | |
4 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
5 | |
), | |
(incoming_cargo_waiting("GLAS") > 0) * current_date | |
), | |
5 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_produce_calculation_3, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
body_plant_update_supplied_cycles_remaining_per_cargo_3(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
5 | |
) | |
) | |
<= 90 ? 2 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("STSH") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("COAT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("GLAS") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
body_plant_produce_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_produce_cargo_arrival, economy) { | |
0: body_plant_produce_calculation_0; | |
1: body_plant_produce_calculation_1; | |
4: body_plant_produce_calculation_4; | |
5: body_plant_produce_calculation_5; | |
3: body_plant_produce_calculation_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_extra_text, economy) { | |
5: return string(STR_EXTRA_TEXT_SECONDARY_COMBINATORY); | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_cargo_subtype_display_cargo_STSH_economy_5, [ | |
LOAD_PERM( | |
3 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_cargo_subtype_display_cargo_COAT_economy_5, [ | |
LOAD_PERM( | |
3 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_cargo_subtype_display_cargo_GLAS_economy_5, [ | |
LOAD_PERM( | |
3 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_cargo_subtype_display_switch_cargo_economy_5, getbits(extra_callback_info2, 16, 23)) { | |
STSH: body_plant_cargo_subtype_display_cargo_STSH_economy_5; | |
COAT: body_plant_cargo_subtype_display_cargo_COAT_economy_5; | |
GLAS: body_plant_cargo_subtype_display_cargo_GLAS_economy_5; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_cargo_subtype_display_switch_economy, economy) { | |
5: body_plant_cargo_subtype_display_switch_cargo_economy_5; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_cargo_subtype_display, getbits(extra_callback_info2, 8, 8)) { | |
1: body_plant_cargo_subtype_display_switch_economy; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch(FEAT_INDUSTRIES, SELF, body_plant_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, body_plant_check_map_gen, extra_callback_info2 == IND_CREATION_GENERATION) { | |
1: return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
body_plant_check_availability_param; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_available_game_mode, game_mode == GAMEMODE_GAME) { | |
1: body_plant_check_map_gen; | |
return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, body_plant_check_availability_0, current_date) { | |
date(0,1,1) .. date(5000000,12,31): body_plant_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, body_plant_check_availability_1, current_date) { | |
date(0,1,1) .. date(5000000,12,31): body_plant_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, body_plant_check_availability_4, current_date) { | |
date(0,1,1) .. date(5000000,12,31): body_plant_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, body_plant_check_availability_5, current_date) { | |
date(0,1,1) .. date(5000000,12,31): body_plant_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, body_plant_check_availability_3, current_date) { | |
date(0,1,1) .. date(5000000,12,31): body_plant_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_check_availability, economy) { | |
0: body_plant_check_availability_0; | |
1: body_plant_check_availability_1; | |
4: body_plant_check_availability_4; | |
5: body_plant_check_availability_5; | |
3: body_plant_check_availability_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_check_location_post_player_founding_checks_AND, | |
[ | |
location_check_industry_require_min_distance_to_another_industry_type(96,56) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(103,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(22,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(62,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(82,16) | |
]) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_check_location_post_player_founding_checks_OR, | |
[ | |
1 | |
]) { | |
1: body_plant_check_location_post_player_founding_checks_AND; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF,body_plant_check_location_allow_player_founding, ( | |
(extra_callback_info2 == IND_CREATION_FUND) || | |
(extra_callback_info2 == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
body_plant_check_location_post_player_founding_checks_OR; | |
} | |
switch (FEAT_INDUSTRIES, SELF, body_plant_check_location, | |
[ | |
1 | |
]) { | |
1: return body_plant_check_location_allow_player_founding; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
if (economy==5) { | |
item(FEAT_INDUSTRIES, body_plant, 96) { | |
property { | |
substitute: 0; | |
override: 0; | |
map_colour: 194; | |
life_type: IND_LIFE_TYPE_PROCESSING; | |
min_cargo_distr: 1; | |
layouts: [body_plant_industry_layout_1_tilelayout]; | |
spec_flags: bitmask(IND_FLAG_LONG_CARGO_TYPE_LISTS); | |
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_BODY_PLANT); | |
prob_map_gen: 5; | |
prob_in_game: 0; | |
fund_cost_multiplier: 120; | |
remove_cost_multiplier: 0; | |
remove_cost_multiplier: 0; | |
cargo_types: [accept_cargo("STSH"),accept_cargo("COAT"),accept_cargo("GLAS"),produce_cargo("VBOD",0)]; | |
nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_HEAVY_INDUSTRY_2)); | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_INDUSTRIES, body_plant, 96) { | |
graphics { | |
construction_probability: body_plant_check_availability; | |
produce_cargo_arrival: body_plant_produce_cargo_arrival; | |
monthly_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
random_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
location_check: body_plant_check_location; | |
extra_text_fund: return CB_RESULT_NO_TEXT; | |
extra_text_industry: body_plant_extra_text; | |
cargo_subtype_display: body_plant_cargo_subtype_display; | |
colour: switch_colour; | |
} | |
} | |
}/* ****************************************************************** | |
* Definition of the industry tile, its callbacks, and graphics chain | |
* ******************************************************************/ | |
spriteset(brewery_spriteset_2_0) { | |
[10, 60, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1.png"] | |
} | |
spriteset(brewery_spriteset_2_0_snow) { | |
[10, 60, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1_snow.png"] | |
} | |
spriteset(brewery_spriteset_3_0) { | |
[80, 390, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1.png"] | |
[80, 60, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1.png"] | |
[80, 170, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1.png"] | |
[80, 280, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1.png"] | |
[80, 170, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1.png"] | |
[80, 60, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1.png"] | |
} | |
spriteset(brewery_spriteset_3_0_snow) { | |
[80, 390, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1_snow.png"] | |
[80, 60, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1_snow.png"] | |
[80, 170, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1_snow.png"] | |
[80, 280, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1_snow.png"] | |
[80, 170, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1_snow.png"] | |
[80, 60, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1_snow.png"] | |
} | |
spriteset(brewery_spriteset_6_0) { | |
[150, 60, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1.png"] | |
} | |
spriteset(brewery_spriteset_6_0_snow) { | |
[150, 60, 64, 91, -31, -60, ANIM | NOCROP, "src/graphics/industries/brewery_1_snow.png"] | |
} | |
spritelayout brewery_spritelayout_1_anim { | |
childsprite { | |
sprite: spriteset_ground_tile_cobble_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_cobble_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: brewery_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: brewery_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: 3079 + (animation_frame / 4); | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
xoffset: 8; | |
yoffset: 0; | |
zoffset: 55+ animation_frame; | |
xextent: 11; | |
yextent: 16; | |
zextent: 7; | |
hide_sprite: animation_frame > 19; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout brewery_spritelayout_2 { | |
childsprite { | |
sprite: spriteset_ground_tile_cobble_6; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_cobble_6; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: brewery_spriteset_3_0(1* (animation_frame)); | |
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(127)); | |
} | |
building { | |
sprite: brewery_spriteset_3_0_snow(1* (animation_frame)); | |
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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout brewery_spritelayout_3 { | |
childsprite { | |
sprite: spriteset_ground_tile_cobble_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_cobble_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: brewery_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(127)); | |
} | |
building { | |
sprite: brewery_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(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, brewery_industry_layout_1_graphics_switch, relative_pos) { | |
relative_coord(0, 2): brewery_spritelayout_3; | |
relative_coord(1, 0): brewery_spritelayout_1_anim; | |
relative_coord(1, 2): brewery_spritelayout_2; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, brewery_industry_layout_2_graphics_switch, relative_pos) { | |
relative_coord(0, 0): brewery_spritelayout_3; | |
relative_coord(1, 0): brewery_spritelayout_2; | |
relative_coord(2, 0): brewery_spritelayout_1_anim; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, brewery_industry_layout_3_graphics_switch, relative_pos) { | |
relative_coord(0, 1): brewery_spritelayout_3; | |
relative_coord(1, 0): brewery_spritelayout_1_anim; | |
relative_coord(1, 1): brewery_spritelayout_2; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, brewery_industry_layout_4_graphics_switch, relative_pos) { | |
relative_coord(0, 0): brewery_spritelayout_1_anim; | |
relative_coord(1, 0): brewery_spritelayout_3; | |
relative_coord(2, 0): brewery_spritelayout_2; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, brewery_industry_layout_5_graphics_switch, relative_pos) { | |
relative_coord(0, 0): brewery_spritelayout_3; | |
relative_coord(0, 1): brewery_spritelayout_3; | |
relative_coord(1, 0): brewery_spritelayout_2; | |
relative_coord(1, 1): brewery_spritelayout_2; | |
relative_coord(2, 0): brewery_spritelayout_1_anim; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, PARENT, brewery_industry_graphics_switch_layouts, layout_num) { | |
1: brewery_industry_layout_1_graphics_switch; | |
2: brewery_industry_layout_2_graphics_switch; | |
3: brewery_industry_layout_3_graphics_switch; | |
4: brewery_industry_layout_4_graphics_switch; | |
5: brewery_industry_layout_5_graphics_switch; | |
brewery_industry_layout_1_graphics_switch; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, brewery_industry_construction_state_graphics_switch, construction_state) { | |
0..2: spritelayout_default_construction_states; | |
brewery_industry_graphics_switch_layouts; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, brewery_store_temp_vars, | |
[STORE_TEMP(random_bits, 14), | |
STORE_TEMP(terrain_type == TILETYPE_SNOW, 13) | |
, STORE_TEMP(0, | |
127) | |
, STORE_TEMP(construction_state != 3 ? 1 : LOAD_TEMP(127), | |
127) | |
, STORE_TEMP(LOAD_TEMP(13) == 0 ? 1 : LOAD_TEMP(127), | |
117) | |
, STORE_TEMP(LOAD_TEMP(13) == 1 ? 1 : LOAD_TEMP(127), | |
127) | |
]) { | |
brewery_industry_construction_state_graphics_switch; // default | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_switch_graphics, [ | |
switch_tile_fences(), | |
switch_terrain_sprite(), | |
]) { | |
brewery_store_temp_vars; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_225, LOAD_TEMP(0)) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_224, [ | |
nearby_tile_class(-7, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_225; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_223, [ | |
nearby_tile_class(-7, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_224; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_222, [ | |
nearby_tile_class(-7, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_223; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_221, [ | |
nearby_tile_class(-7, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_222; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_220, [ | |
nearby_tile_class(-7, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_221; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_219, [ | |
nearby_tile_class(-7, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_220; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_218, [ | |
nearby_tile_class(-7, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_219; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_217, [ | |
nearby_tile_class(-7, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_218; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_216, [ | |
nearby_tile_class(-7, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_217; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_215, [ | |
nearby_tile_class(-7, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_216; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_214, [ | |
nearby_tile_class(-7, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_215; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_213, [ | |
nearby_tile_class(-7, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_214; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_212, [ | |
nearby_tile_class(-7, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_213; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_211, [ | |
nearby_tile_class(-7, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_212; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_210, [ | |
nearby_tile_class(-7, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_211; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_209, [ | |
nearby_tile_class(-6, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_210; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_208, [ | |
nearby_tile_class(-6, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_209; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_207, [ | |
nearby_tile_class(-6, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_208; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_206, [ | |
nearby_tile_class(-6, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_207; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_205, [ | |
nearby_tile_class(-6, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_206; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_204, [ | |
nearby_tile_class(-6, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_205; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_203, [ | |
nearby_tile_class(-6, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_204; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_202, [ | |
nearby_tile_class(-6, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_203; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_201, [ | |
nearby_tile_class(-6, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_202; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_200, [ | |
nearby_tile_class(-6, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_201; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_199, [ | |
nearby_tile_class(-6, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_200; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_198, [ | |
nearby_tile_class(-6, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_199; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_197, [ | |
nearby_tile_class(-6, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_198; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_196, [ | |
nearby_tile_class(-6, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_197; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_195, [ | |
nearby_tile_class(-6, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_196; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_194, [ | |
nearby_tile_class(-5, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_195; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_193, [ | |
nearby_tile_class(-5, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_194; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_192, [ | |
nearby_tile_class(-5, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_193; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_191, [ | |
nearby_tile_class(-5, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_192; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_190, [ | |
nearby_tile_class(-5, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_191; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_189, [ | |
nearby_tile_class(-5, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_190; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_188, [ | |
nearby_tile_class(-5, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_189; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_187, [ | |
nearby_tile_class(-5, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_188; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_186, [ | |
nearby_tile_class(-5, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_187; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_185, [ | |
nearby_tile_class(-5, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_186; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_184, [ | |
nearby_tile_class(-5, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_185; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_183, [ | |
nearby_tile_class(-5, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_184; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_182, [ | |
nearby_tile_class(-5, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_183; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_181, [ | |
nearby_tile_class(-5, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_182; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_180, [ | |
nearby_tile_class(-5, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_181; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_179, [ | |
nearby_tile_class(-4, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_180; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_178, [ | |
nearby_tile_class(-4, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_179; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_177, [ | |
nearby_tile_class(-4, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_178; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_176, [ | |
nearby_tile_class(-4, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_177; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_175, [ | |
nearby_tile_class(-4, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_176; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_174, [ | |
nearby_tile_class(-4, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_175; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_173, [ | |
nearby_tile_class(-4, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_174; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_172, [ | |
nearby_tile_class(-4, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_173; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_171, [ | |
nearby_tile_class(-4, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_172; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_170, [ | |
nearby_tile_class(-4, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_171; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_169, [ | |
nearby_tile_class(-4, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_170; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_168, [ | |
nearby_tile_class(-4, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_169; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_167, [ | |
nearby_tile_class(-4, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_168; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_166, [ | |
nearby_tile_class(-4, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_167; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_165, [ | |
nearby_tile_class(-4, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_166; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_164, [ | |
nearby_tile_class(-3, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_165; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_163, [ | |
nearby_tile_class(-3, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_164; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_162, [ | |
nearby_tile_class(-3, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_163; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_161, [ | |
nearby_tile_class(-3, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_162; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_160, [ | |
nearby_tile_class(-3, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_161; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_159, [ | |
nearby_tile_class(-3, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_160; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_158, [ | |
nearby_tile_class(-3, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_159; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_157, [ | |
nearby_tile_class(-3, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_158; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_156, [ | |
nearby_tile_class(-3, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_157; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_155, [ | |
nearby_tile_class(-3, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_156; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_154, [ | |
nearby_tile_class(-3, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_155; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_153, [ | |
nearby_tile_class(-3, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_154; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_152, [ | |
nearby_tile_class(-3, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_153; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_151, [ | |
nearby_tile_class(-3, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_152; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_150, [ | |
nearby_tile_class(-3, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_151; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_149, [ | |
nearby_tile_class(-2, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_150; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_148, [ | |
nearby_tile_class(-2, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_149; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_147, [ | |
nearby_tile_class(-2, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_148; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_146, [ | |
nearby_tile_class(-2, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_147; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_145, [ | |
nearby_tile_class(-2, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_146; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_144, [ | |
nearby_tile_class(-2, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_145; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_143, [ | |
nearby_tile_class(-2, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_144; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_142, [ | |
nearby_tile_class(-2, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_143; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_141, [ | |
nearby_tile_class(-2, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_142; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_140, [ | |
nearby_tile_class(-2, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_141; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_139, [ | |
nearby_tile_class(-2, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_140; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_138, [ | |
nearby_tile_class(-2, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_139; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_137, [ | |
nearby_tile_class(-2, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_138; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_136, [ | |
nearby_tile_class(-2, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_137; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_135, [ | |
nearby_tile_class(-2, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_136; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_134, [ | |
nearby_tile_class(-1, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_135; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_133, [ | |
nearby_tile_class(-1, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_134; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_132, [ | |
nearby_tile_class(-1, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_133; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_131, [ | |
nearby_tile_class(-1, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_132; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_130, [ | |
nearby_tile_class(-1, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_131; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_129, [ | |
nearby_tile_class(-1, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_130; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_128, [ | |
nearby_tile_class(-1, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_129; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_127, [ | |
nearby_tile_class(-1, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_128; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_126, [ | |
nearby_tile_class(-1, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_127; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_125, [ | |
nearby_tile_class(-1, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_126; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_124, [ | |
nearby_tile_class(-1, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_125; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_123, [ | |
nearby_tile_class(-1, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_124; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_122, [ | |
nearby_tile_class(-1, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_123; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_121, [ | |
nearby_tile_class(-1, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_122; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_120, [ | |
nearby_tile_class(-1, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_121; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_119, [ | |
nearby_tile_class(0, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_120; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_118, [ | |
nearby_tile_class(0, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_119; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_117, [ | |
nearby_tile_class(0, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_118; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_116, [ | |
nearby_tile_class(0, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_117; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_115, [ | |
nearby_tile_class(0, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_116; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_114, [ | |
nearby_tile_class(0, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_115; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_113, [ | |
nearby_tile_class(0, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_114; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_112, [ | |
nearby_tile_class(0, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_113; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_111, [ | |
nearby_tile_class(0, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_112; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_110, [ | |
nearby_tile_class(0, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_111; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_109, [ | |
nearby_tile_class(0, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_110; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_108, [ | |
nearby_tile_class(0, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_109; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_107, [ | |
nearby_tile_class(0, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_108; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_106, [ | |
nearby_tile_class(0, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_107; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_105, [ | |
nearby_tile_class(0, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_106; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_104, [ | |
nearby_tile_class(1, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_105; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_103, [ | |
nearby_tile_class(1, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_104; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_102, [ | |
nearby_tile_class(1, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_103; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_101, [ | |
nearby_tile_class(1, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_102; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_100, [ | |
nearby_tile_class(1, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_101; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_99, [ | |
nearby_tile_class(1, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_100; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_98, [ | |
nearby_tile_class(1, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_99; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_97, [ | |
nearby_tile_class(1, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_98; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_96, [ | |
nearby_tile_class(1, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_97; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_95, [ | |
nearby_tile_class(1, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_96; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_94, [ | |
nearby_tile_class(1, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_95; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_93, [ | |
nearby_tile_class(1, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_94; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_92, [ | |
nearby_tile_class(1, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_93; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_91, [ | |
nearby_tile_class(1, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_92; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_90, [ | |
nearby_tile_class(1, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_91; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_89, [ | |
nearby_tile_class(2, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_90; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_88, [ | |
nearby_tile_class(2, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_89; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_87, [ | |
nearby_tile_class(2, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_88; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_86, [ | |
nearby_tile_class(2, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_87; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_85, [ | |
nearby_tile_class(2, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_86; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_84, [ | |
nearby_tile_class(2, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_85; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_83, [ | |
nearby_tile_class(2, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_84; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_82, [ | |
nearby_tile_class(2, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_83; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_81, [ | |
nearby_tile_class(2, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_82; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_80, [ | |
nearby_tile_class(2, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_81; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_79, [ | |
nearby_tile_class(2, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_80; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_78, [ | |
nearby_tile_class(2, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_79; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_77, [ | |
nearby_tile_class(2, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_78; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_76, [ | |
nearby_tile_class(2, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_77; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_75, [ | |
nearby_tile_class(2, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_76; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_74, [ | |
nearby_tile_class(3, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_75; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_73, [ | |
nearby_tile_class(3, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_74; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_72, [ | |
nearby_tile_class(3, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_73; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_71, [ | |
nearby_tile_class(3, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_72; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_70, [ | |
nearby_tile_class(3, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_71; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_69, [ | |
nearby_tile_class(3, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_70; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_68, [ | |
nearby_tile_class(3, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_69; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_67, [ | |
nearby_tile_class(3, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_68; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_66, [ | |
nearby_tile_class(3, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_67; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_65, [ | |
nearby_tile_class(3, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_66; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_64, [ | |
nearby_tile_class(3, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_65; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_63, [ | |
nearby_tile_class(3, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_64; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_62, [ | |
nearby_tile_class(3, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_63; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_61, [ | |
nearby_tile_class(3, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_62; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_60, [ | |
nearby_tile_class(3, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_61; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_59, [ | |
nearby_tile_class(4, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_60; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_58, [ | |
nearby_tile_class(4, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_59; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_57, [ | |
nearby_tile_class(4, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_58; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_56, [ | |
nearby_tile_class(4, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_57; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_55, [ | |
nearby_tile_class(4, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_56; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_54, [ | |
nearby_tile_class(4, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_55; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_53, [ | |
nearby_tile_class(4, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_54; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_52, [ | |
nearby_tile_class(4, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_53; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_51, [ | |
nearby_tile_class(4, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_52; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_50, [ | |
nearby_tile_class(4, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_51; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_49, [ | |
nearby_tile_class(4, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_50; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_48, [ | |
nearby_tile_class(4, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_49; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_47, [ | |
nearby_tile_class(4, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_48; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_46, [ | |
nearby_tile_class(4, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_47; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_45, [ | |
nearby_tile_class(4, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_46; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_44, [ | |
nearby_tile_class(5, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_45; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_43, [ | |
nearby_tile_class(5, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_44; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_42, [ | |
nearby_tile_class(5, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_43; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_41, [ | |
nearby_tile_class(5, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_42; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_40, [ | |
nearby_tile_class(5, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_41; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_39, [ | |
nearby_tile_class(5, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_40; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_38, [ | |
nearby_tile_class(5, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_39; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_37, [ | |
nearby_tile_class(5, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_38; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_36, [ | |
nearby_tile_class(5, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_37; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_35, [ | |
nearby_tile_class(5, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_36; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_34, [ | |
nearby_tile_class(5, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_35; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_33, [ | |
nearby_tile_class(5, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_34; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_32, [ | |
nearby_tile_class(5, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_33; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_31, [ | |
nearby_tile_class(5, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_32; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_30, [ | |
nearby_tile_class(5, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_31; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_29, [ | |
nearby_tile_class(6, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_30; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_28, [ | |
nearby_tile_class(6, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_29; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_27, [ | |
nearby_tile_class(6, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_28; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_26, [ | |
nearby_tile_class(6, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_27; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_25, [ | |
nearby_tile_class(6, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_26; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_24, [ | |
nearby_tile_class(6, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_25; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_23, [ | |
nearby_tile_class(6, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_24; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_22, [ | |
nearby_tile_class(6, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_23; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_21, [ | |
nearby_tile_class(6, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_22; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_20, [ | |
nearby_tile_class(6, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_21; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_19, [ | |
nearby_tile_class(6, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_20; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_18, [ | |
nearby_tile_class(6, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_19; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_17, [ | |
nearby_tile_class(6, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_18; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_16, [ | |
nearby_tile_class(6, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_17; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_15, [ | |
nearby_tile_class(6, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_16; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_14, [ | |
nearby_tile_class(7, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_15; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_13, [ | |
nearby_tile_class(7, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_14; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_12, [ | |
nearby_tile_class(7, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_13; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_11, [ | |
nearby_tile_class(7, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_12; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_10, [ | |
nearby_tile_class(7, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_11; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_9, [ | |
nearby_tile_class(7, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_10; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_8, [ | |
nearby_tile_class(7, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_9; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_7, [ | |
nearby_tile_class(7, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_8; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_6, [ | |
nearby_tile_class(7, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_7; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_5, [ | |
nearby_tile_class(7, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_6; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_4, [ | |
nearby_tile_class(7, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_5; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_3, [ | |
nearby_tile_class(7, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_4; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_2, [ | |
nearby_tile_class(7, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_3; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_1, [ | |
nearby_tile_class(7, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_2; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3_0, [ | |
nearby_tile_class(7, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: brewery_tile_1_lc_3_225; | |
return brewery_tile_1_lc_3_1; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_3, STORE_TEMP(0, 0)) { | |
return brewery_tile_1_lc_3_0; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_2, | |
(nearby_tile_class( 2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -2) == TILE_CLASS_INDUSTRY) | |
) { | |
1: return CB_RESULT_LOCATION_DISALLOW; | |
brewery_tile_1_lc_3; | |
} | |
switch (FEAT_INDUSTRYTILES, PARENT, brewery_tile_1_lc_1, ( | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_FUND) || | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
brewery_tile_1_lc_2; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_1_lc_0, | |
( | |
nearby_tile_height(-relative_x, -relative_y) | |
+ (nearby_tile_slope(-relative_x, -relative_y) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(-relative_x, -relative_y) == bitmask(IS_STEEP_SLOPE) ? 2 : 1 | |
)) == (nearby_tile_height(0, 0) | |
+ (nearby_tile_slope(0, 0) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(0, 0) == bitmask(IS_STEEP_SLOPE) ? 2 : 1)) | |
) { | |
1: brewery_tile_1_lc_1; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, brewery_tile_2_lc_2, | |
(nearby_tile_class( 2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -2) == TILE_CLASS_INDUSTRY) | |
) { | |
1: return CB_RESULT_LOCATION_DISALLOW; | |
return CB_RESULT_LOCATION_ALLOW; | |
} | |
switch (FEAT_INDUSTRYTILES, PARENT, brewery_tile_2_lc_1, ( | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_FUND) || | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
brewery_tile_2_lc_2; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, brewery_tile_2_lc_0, | |
( | |
nearby_tile_height(-relative_x, -relative_y) | |
+ (nearby_tile_slope(-relative_x, -relative_y) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(-relative_x, -relative_y) == bitmask(IS_STEEP_SLOPE) ? 2 : 1 | |
)) == (nearby_tile_height(0, 0) | |
+ (nearby_tile_slope(0, 0) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(0, 0) == bitmask(IS_STEEP_SLOPE) ? 2 : 1)) | |
) { | |
1: brewery_tile_2_lc_1; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, brewery_tile_1_anim_control, (extra_callback_info1 % 6)) { | |
0: return 0; | |
1: return 1; | |
2: return 2; | |
3: return 3; | |
4: return 4; | |
5: return 5; | |
return CB_RESULT_NEXT_FRAME; | |
} | |
item(FEAT_INDUSTRYTILES, brewery_tile_1, 161) { | |
property { | |
substitute: 0; | |
land_shape_flags: 0; | |
special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); | |
animation_info: [ANIMATION_LOOPING, 6]; | |
animation_speed: 3; | |
animation_triggers: bitmask(ANIM_TRIGGER_INDTILE_CONSTRUCTION_STATE); | |
} | |
graphics { | |
tile_check: brewery_tile_1_lc_0; | |
anim_control: brewery_tile_1_anim_control; | |
brewery_switch_graphics; | |
} | |
} | |
item(FEAT_INDUSTRYTILES, brewery_tile_2, 162) { | |
property { | |
substitute: 0; | |
land_shape_flags: 0; | |
special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); | |
animation_info: [ANIMATION_LOOPING, 71]; | |
animation_speed: 2; | |
animation_triggers: bitmask(); | |
} | |
graphics { | |
tile_check: brewery_tile_2_lc_0; | |
brewery_switch_graphics; | |
} | |
} | |
/* ************************************************* | |
* Definition of the industry | |
* *************************************************/ | |
tilelayout brewery_industry_layout_1_tilelayout { | |
0, 2: brewery_tile_1; | |
1, 0: brewery_tile_2; | |
1, 2: brewery_tile_1; | |
} | |
tilelayout brewery_industry_layout_2_tilelayout { | |
0, 0: brewery_tile_1; | |
1, 0: brewery_tile_1; | |
2, 0: brewery_tile_2; | |
} | |
tilelayout brewery_industry_layout_3_tilelayout { | |
0, 1: brewery_tile_1; | |
1, 0: brewery_tile_2; | |
1, 1: brewery_tile_1; | |
} | |
tilelayout brewery_industry_layout_4_tilelayout { | |
0, 0: brewery_tile_2; | |
1, 0: brewery_tile_1; | |
2, 0: brewery_tile_1; | |
} | |
tilelayout brewery_industry_layout_5_tilelayout { | |
0, 0: brewery_tile_1; | |
0, 1: brewery_tile_1; | |
1, 0: brewery_tile_1; | |
1, 1: brewery_tile_1; | |
2, 0: brewery_tile_2; | |
} | |
produce (brewery_produce_0, | |
[ | |
FRUT: incoming_cargo_waiting("FRUT"); | |
], | |
[ | |
BEER: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, brewery_update_supplied_cycles_remaining_per_cargo_0, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("FRUT") > 0) * current_date | |
), | |
3 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_produce_calculation_0, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
brewery_update_supplied_cycles_remaining_per_cargo_0(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 6 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("FRUT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
brewery_produce_0; | |
} | |
produce (brewery_produce_1, | |
[ | |
FRUT: incoming_cargo_waiting("FRUT"); | |
], | |
[ | |
BEER: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, brewery_update_supplied_cycles_remaining_per_cargo_1, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("FRUT") > 0) * current_date | |
), | |
3 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_produce_calculation_1, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
brewery_update_supplied_cycles_remaining_per_cargo_1(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 6 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("FRUT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
brewery_produce_1; | |
} | |
produce (brewery_produce_4, | |
[ | |
FRUT: incoming_cargo_waiting("FRUT"); | |
], | |
[ | |
BEER: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, brewery_update_supplied_cycles_remaining_per_cargo_4, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("FRUT") > 0) * current_date | |
), | |
3 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_produce_calculation_4, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
brewery_update_supplied_cycles_remaining_per_cargo_4(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 6 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("FRUT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
brewery_produce_4; | |
} | |
produce (brewery_produce_5, | |
[ | |
FRUT: incoming_cargo_waiting("FRUT"); | |
], | |
[ | |
BEER: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, brewery_update_supplied_cycles_remaining_per_cargo_5, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("FRUT") > 0) * current_date | |
), | |
3 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_produce_calculation_5, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
brewery_update_supplied_cycles_remaining_per_cargo_5(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 6 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("FRUT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
brewery_produce_5; | |
} | |
produce (brewery_produce_3, | |
[ | |
FRUT: incoming_cargo_waiting("FRUT"); | |
MAIZ: incoming_cargo_waiting("MAIZ"); | |
], | |
[ | |
BEER: (LOAD_PERM(11) * 8) / 8; | |
], | |
0) | |
switch (FEAT_INDUSTRIES, SELF, brewery_update_supplied_cycles_remaining_per_cargo_3, | |
[ | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
3 | |
), | |
(incoming_cargo_waiting("FRUT") > 0) * current_date | |
), | |
3 | |
) | |
, | |
STORE_PERM( | |
max( | |
LOAD_PERM( | |
4 | |
), | |
(incoming_cargo_waiting("MAIZ") > 0) * current_date | |
), | |
4 | |
) | |
]) { | |
return 0; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_produce_calculation_3, | |
[ | |
STORE_PERM(0, 1), | |
STORE_PERM(0, 2), | |
brewery_update_supplied_cycles_remaining_per_cargo_3(), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
3 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM( | |
1 | |
) | |
+ | |
( | |
( | |
current_date - | |
LOAD_PERM( | |
4 | |
) | |
) | |
<= 90 ? 4 : 0 | |
), | |
1 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("FRUT") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(2) | |
+ ((incoming_cargo_waiting("MAIZ") * LOAD_PERM(1)) / 8), | |
2 | |
), | |
STORE_PERM( | |
LOAD_PERM(12) + LOAD_PERM(2), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? LOAD_PERM(12) : 0, | |
11 | |
), | |
STORE_PERM( | |
(LOAD_PERM(12) / 8) >= 1 | |
? 0 : LOAD_PERM(12), | |
12 | |
), | |
STORE_PERM( | |
(LOAD_PERM(2) == 0) | |
? LOAD_PERM(0) : 0, | |
0 | |
), | |
]) { | |
brewery_produce_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_produce_cargo_arrival, economy) { | |
0: brewery_produce_calculation_0; | |
1: brewery_produce_calculation_1; | |
4: brewery_produce_calculation_4; | |
5: brewery_produce_calculation_5; | |
3: brewery_produce_calculation_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_extra_text, economy) { | |
3: return string(STR_EXTRA_TEXT_SECONDARY_COMBINATORY); | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_cargo_subtype_display_cargo_FRUT_economy_3, [ | |
LOAD_PERM( | |
3 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_cargo_subtype_display_cargo_MAIZ_economy_3, [ | |
LOAD_PERM( | |
3 | |
) | |
]) { | |
0: return 0x3800 + string(STR_EMPTY); | |
return 0x3800 + string(STR_CARGO_SUBTYPE_DISPLAY_CARGO_SUPPLIED_FLAG); | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_cargo_subtype_display_switch_cargo_economy_3, getbits(extra_callback_info2, 16, 23)) { | |
FRUT: brewery_cargo_subtype_display_cargo_FRUT_economy_3; | |
MAIZ: brewery_cargo_subtype_display_cargo_MAIZ_economy_3; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_cargo_subtype_display_switch_economy, economy) { | |
3: brewery_cargo_subtype_display_switch_cargo_economy_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_cargo_subtype_display, getbits(extra_callback_info2, 8, 8)) { | |
1: brewery_cargo_subtype_display_switch_economy; | |
return CB_RESULT_NO_TEXT; | |
} | |
switch(FEAT_INDUSTRIES, SELF, brewery_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, brewery_check_map_gen, extra_callback_info2 == IND_CREATION_GENERATION) { | |
1: return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
brewery_check_availability_param; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_available_game_mode, game_mode == GAMEMODE_GAME) { | |
1: brewery_check_map_gen; | |
return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, brewery_check_availability_0, current_date) { | |
date(0,1,1) .. date(5000000,12,31): brewery_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, brewery_check_availability_1, current_date) { | |
date(0,1,1) .. date(5000000,12,31): brewery_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, brewery_check_availability_4, current_date) { | |
date(0,1,1) .. date(5000000,12,31): brewery_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, brewery_check_availability_5, current_date) { | |
date(0,1,1) .. date(5000000,12,31): brewery_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, brewery_check_availability_3, current_date) { | |
date(0,1,1) .. date(5000000,12,31): brewery_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_check_availability, economy) { | |
0: brewery_check_availability_0; | |
1: brewery_check_availability_1; | |
4: brewery_check_availability_4; | |
5: brewery_check_availability_5; | |
3: brewery_check_availability_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_check_location_post_player_founding_checks_AND, | |
[ | |
location_check_industry_require_min_distance_to_another_industry_type(35,56) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(50,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(58,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(52,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(30,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(47,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(68,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(29,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(61,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(39,16) | |
]) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_check_location_post_player_founding_checks_OR, | |
[ | |
1 | |
]) { | |
1: brewery_check_location_post_player_founding_checks_AND; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF,brewery_check_location_allow_player_founding, ( | |
(extra_callback_info2 == IND_CREATION_FUND) || | |
(extra_callback_info2 == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
brewery_check_location_post_player_founding_checks_OR; | |
} | |
switch (FEAT_INDUSTRIES, SELF, brewery_check_location, | |
[ | |
1 | |
]) { | |
1: return brewery_check_location_allow_player_founding; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
if (economy==3) { | |
item(FEAT_INDUSTRIES, brewery, 35) { | |
property { | |
substitute: 0; | |
override: 0; | |
map_colour: 191; | |
life_type: IND_LIFE_TYPE_PROCESSING; | |
min_cargo_distr: 1; | |
layouts: [brewery_industry_layout_1_tilelayout,brewery_industry_layout_2_tilelayout,brewery_industry_layout_3_tilelayout,brewery_industry_layout_4_tilelayout,brewery_industry_layout_5_tilelayout]; | |
spec_flags: bitmask(IND_FLAG_LONG_CARGO_TYPE_LISTS); | |
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_BREWERY); | |
prob_map_gen: 5; | |
prob_in_game: 3; | |
fund_cost_multiplier: 50; | |
remove_cost_multiplier: 0; | |
remove_cost_multiplier: 0; | |
cargo_types: [accept_cargo("FRUT"),accept_cargo("MAIZ"),produce_cargo("BEER",0)]; | |
nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_BARREL_AND_KEG)); | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_INDUSTRIES, brewery, 35) { | |
graphics { | |
construction_probability: brewery_check_availability; | |
produce_cargo_arrival: brewery_produce_cargo_arrival; | |
monthly_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
random_prod_change: CB_RESULT_IND_PROD_NO_CHANGE; | |
location_check: brewery_check_location; | |
extra_text_fund: return CB_RESULT_NO_TEXT; | |
extra_text_industry: brewery_extra_text; | |
cargo_subtype_display: brewery_cargo_subtype_display; | |
colour: switch_colour; | |
} | |
} | |
}/* ****************************************************************** | |
* Definition of the industry tile, its callbacks, and graphics chain | |
* ******************************************************************/ | |
spriteset(builders_yard_spriteset_2_0) { | |
[10, 10, 64, 56, -31, -26, ANIM | NOCROP, "src/graphics/industries/builders_yard_1.png"] | |
} | |
spriteset(builders_yard_spriteset_2_0_snow) { | |
[10, 10, 64, 56, -31, -26, ANIM | NOCROP, "src/graphics/industries/builders_yard_1_snow.png"] | |
} | |
spriteset(builders_yard_spriteset_3_0) { | |
[80, 10, 64, 56, -31, -26, ANIM | NOCROP, "src/graphics/industries/builders_yard_1.png"] | |
} | |
spriteset(builders_yard_spriteset_3_0_snow) { | |
[80, 10, 64, 56, -31, -26, ANIM | NOCROP, "src/graphics/industries/builders_yard_1_snow.png"] | |
} | |
spriteset(builders_yard_spriteset_4_0) { | |
[220, 10, 64, 64, -31, -34, ANIM | NOCROP, "src/graphics/industries/builders_yard_1.png"] | |
} | |
spriteset(builders_yard_spriteset_4_0_snow) { | |
[220, 10, 64, 64, -31, -34, ANIM | NOCROP, "src/graphics/industries/builders_yard_1_snow.png"] | |
} | |
spriteset(builders_yard_spriteset_5_0) { | |
[150, 10, 64, 56, -31, -26, ANIM | NOCROP, "src/graphics/industries/builders_yard_1.png"] | |
} | |
spriteset(builders_yard_spriteset_5_0_snow) { | |
[150, 10, 64, 56, -31, -26, ANIM | NOCROP, "src/graphics/industries/builders_yard_1_snow.png"] | |
} | |
spritelayout builders_yard_spritelayout_1 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(1); | |
hide_sprite: (LOAD_TEMP(9) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(5) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(2); | |
hide_sprite: (LOAD_TEMP(10) == 0); | |
xoffset: 0; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(6) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: builders_yard_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: builders_yard_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: 1301 + LOAD_TEMP(3); | |
hide_sprite: (LOAD_TEMP(11) == 0); | |
xoffset: 0; | |
yoffset: 16; | |
zoffset: LOAD_TEMP(7) * 8; | |
xextent: 16; | |
yextent: 1; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
building { | |
sprite: 1302 + LOAD_TEMP(4); | |
hide_sprite: (LOAD_TEMP(12) == 0); | |
xoffset: 16; | |
yoffset: 0; | |
zoffset: LOAD_TEMP(8) * 8; | |
xextent: 1; | |
yextent: 16; | |
zextent: 6; | |
recolour_mode: RECOLOUR_REMAP; | |
palette: PALETTE_USE_DEFAULT; | |
} | |
} | |
spritelayout builders_yard_spritelayout_2 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: builders_yard_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: 0; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: builders_yard_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: 0; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
} | |
spritelayout builders_yard_spritelayout_3 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: builders_yard_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(127)); | |
} | |
building { | |
sprite: builders_yard_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(117)); | |
} | |
} | |
spritelayout builders_yard_spritelayout_4 { | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: spriteset_ground_tile_concrete_1; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: builders_yard_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(127)); | |
} | |
building { | |
sprite: builders_yard_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(117)); | |
} | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, builders_yard_industry_layout_1_graphics_switch, relative_pos) { | |
relative_coord(0, 0): builders_yard_spritelayout_3; | |
relative_coord(0, 1): builders_yard_spritelayout_4; | |
relative_coord(1, 0): builders_yard_spritelayout_2; | |
relative_coord(1, 1): builders_yard_spritelayout_1; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, builders_yard_industry_layout_2_graphics_switch, relative_pos) { | |
relative_coord(0, 0): builders_yard_spritelayout_2; | |
relative_coord(0, 1): builders_yard_spritelayout_3; | |
relative_coord(1, 0): builders_yard_spritelayout_4; | |
relative_coord(1, 1): builders_yard_spritelayout_1; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, builders_yard_industry_layout_3_graphics_switch, relative_pos) { | |
relative_coord(0, 0): builders_yard_spritelayout_3; | |
relative_coord(0, 1): builders_yard_spritelayout_2; | |
relative_coord(1, 0): builders_yard_spritelayout_1; | |
relative_coord(1, 1): builders_yard_spritelayout_4; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, builders_yard_industry_layout_4_graphics_switch, relative_pos) { | |
relative_coord(0, 0): builders_yard_spritelayout_2; | |
relative_coord(0, 1): builders_yard_spritelayout_1; | |
relative_coord(1, 0): builders_yard_spritelayout_3; | |
relative_coord(1, 1): builders_yard_spritelayout_4; | |
return 0; // a default is needed, but should never be reached, layout definitions are explicit | |
} | |
switch(FEAT_INDUSTRYTILES, PARENT, builders_yard_industry_graphics_switch_layouts, layout_num) { | |
1: builders_yard_industry_layout_1_graphics_switch; | |
2: builders_yard_industry_layout_2_graphics_switch; | |
3: builders_yard_industry_layout_3_graphics_switch; | |
4: builders_yard_industry_layout_4_graphics_switch; | |
builders_yard_industry_layout_1_graphics_switch; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, builders_yard_industry_construction_state_graphics_switch, construction_state) { | |
0..2: spritelayout_default_construction_states; | |
builders_yard_industry_graphics_switch_layouts; // default | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, builders_yard_store_temp_vars, | |
[STORE_TEMP(random_bits, 14), | |
STORE_TEMP(terrain_type == TILETYPE_SNOW, 13) | |
, STORE_TEMP(0, | |
127) | |
, STORE_TEMP(construction_state != 3 ? 1 : LOAD_TEMP(127), | |
127) | |
, STORE_TEMP(LOAD_TEMP(13) == 0 ? 1 : LOAD_TEMP(127), | |
117) | |
, STORE_TEMP(LOAD_TEMP(13) == 1 ? 1 : LOAD_TEMP(127), | |
127) | |
]) { | |
builders_yard_industry_construction_state_graphics_switch; // default | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_switch_graphics, [ | |
switch_tile_fences(), | |
switch_terrain_sprite(), | |
]) { | |
builders_yard_store_temp_vars; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_225, LOAD_TEMP(0)) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_224, [ | |
nearby_tile_class(-7, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_225; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_223, [ | |
nearby_tile_class(-7, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_224; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_222, [ | |
nearby_tile_class(-7, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_223; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_221, [ | |
nearby_tile_class(-7, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_222; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_220, [ | |
nearby_tile_class(-7, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_221; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_219, [ | |
nearby_tile_class(-7, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_220; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_218, [ | |
nearby_tile_class(-7, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_219; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_217, [ | |
nearby_tile_class(-7, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_218; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_216, [ | |
nearby_tile_class(-7, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_217; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_215, [ | |
nearby_tile_class(-7, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_216; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_214, [ | |
nearby_tile_class(-7, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_215; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_213, [ | |
nearby_tile_class(-7, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_214; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_212, [ | |
nearby_tile_class(-7, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_213; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_211, [ | |
nearby_tile_class(-7, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_212; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_210, [ | |
nearby_tile_class(-7, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_211; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_209, [ | |
nearby_tile_class(-6, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_210; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_208, [ | |
nearby_tile_class(-6, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_209; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_207, [ | |
nearby_tile_class(-6, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_208; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_206, [ | |
nearby_tile_class(-6, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_207; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_205, [ | |
nearby_tile_class(-6, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_206; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_204, [ | |
nearby_tile_class(-6, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_205; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_203, [ | |
nearby_tile_class(-6, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_204; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_202, [ | |
nearby_tile_class(-6, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_203; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_201, [ | |
nearby_tile_class(-6, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_202; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_200, [ | |
nearby_tile_class(-6, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_201; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_199, [ | |
nearby_tile_class(-6, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_200; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_198, [ | |
nearby_tile_class(-6, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_199; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_197, [ | |
nearby_tile_class(-6, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_198; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_196, [ | |
nearby_tile_class(-6, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_197; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_195, [ | |
nearby_tile_class(-6, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_196; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_194, [ | |
nearby_tile_class(-5, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_195; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_193, [ | |
nearby_tile_class(-5, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_194; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_192, [ | |
nearby_tile_class(-5, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_193; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_191, [ | |
nearby_tile_class(-5, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_192; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_190, [ | |
nearby_tile_class(-5, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_191; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_189, [ | |
nearby_tile_class(-5, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_190; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_188, [ | |
nearby_tile_class(-5, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_189; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_187, [ | |
nearby_tile_class(-5, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_188; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_186, [ | |
nearby_tile_class(-5, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_187; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_185, [ | |
nearby_tile_class(-5, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_186; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_184, [ | |
nearby_tile_class(-5, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_185; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_183, [ | |
nearby_tile_class(-5, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_184; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_182, [ | |
nearby_tile_class(-5, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_183; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_181, [ | |
nearby_tile_class(-5, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_182; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_180, [ | |
nearby_tile_class(-5, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_181; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_179, [ | |
nearby_tile_class(-4, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_180; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_178, [ | |
nearby_tile_class(-4, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_179; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_177, [ | |
nearby_tile_class(-4, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_178; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_176, [ | |
nearby_tile_class(-4, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_177; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_175, [ | |
nearby_tile_class(-4, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_176; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_174, [ | |
nearby_tile_class(-4, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_175; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_173, [ | |
nearby_tile_class(-4, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_174; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_172, [ | |
nearby_tile_class(-4, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_173; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_171, [ | |
nearby_tile_class(-4, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_172; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_170, [ | |
nearby_tile_class(-4, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_171; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_169, [ | |
nearby_tile_class(-4, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_170; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_168, [ | |
nearby_tile_class(-4, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_169; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_167, [ | |
nearby_tile_class(-4, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_168; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_166, [ | |
nearby_tile_class(-4, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_167; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_165, [ | |
nearby_tile_class(-4, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_166; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_164, [ | |
nearby_tile_class(-3, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_165; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_163, [ | |
nearby_tile_class(-3, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_164; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_162, [ | |
nearby_tile_class(-3, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_163; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_161, [ | |
nearby_tile_class(-3, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_162; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_160, [ | |
nearby_tile_class(-3, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_161; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_159, [ | |
nearby_tile_class(-3, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_160; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_158, [ | |
nearby_tile_class(-3, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_159; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_157, [ | |
nearby_tile_class(-3, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_158; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_156, [ | |
nearby_tile_class(-3, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_157; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_155, [ | |
nearby_tile_class(-3, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_156; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_154, [ | |
nearby_tile_class(-3, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_155; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_153, [ | |
nearby_tile_class(-3, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_154; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_152, [ | |
nearby_tile_class(-3, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_153; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_151, [ | |
nearby_tile_class(-3, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_152; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_150, [ | |
nearby_tile_class(-3, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_151; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_149, [ | |
nearby_tile_class(-2, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_150; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_148, [ | |
nearby_tile_class(-2, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_149; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_147, [ | |
nearby_tile_class(-2, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_148; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_146, [ | |
nearby_tile_class(-2, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_147; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_145, [ | |
nearby_tile_class(-2, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_146; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_144, [ | |
nearby_tile_class(-2, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_145; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_143, [ | |
nearby_tile_class(-2, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_144; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_142, [ | |
nearby_tile_class(-2, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_143; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_141, [ | |
nearby_tile_class(-2, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_142; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_140, [ | |
nearby_tile_class(-2, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_141; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_139, [ | |
nearby_tile_class(-2, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_140; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_138, [ | |
nearby_tile_class(-2, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_139; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_137, [ | |
nearby_tile_class(-2, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_138; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_136, [ | |
nearby_tile_class(-2, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_137; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_135, [ | |
nearby_tile_class(-2, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_136; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_134, [ | |
nearby_tile_class(-1, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_135; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_133, [ | |
nearby_tile_class(-1, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_134; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_132, [ | |
nearby_tile_class(-1, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_133; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_131, [ | |
nearby_tile_class(-1, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_132; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_130, [ | |
nearby_tile_class(-1, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_131; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_129, [ | |
nearby_tile_class(-1, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_130; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_128, [ | |
nearby_tile_class(-1, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_129; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_127, [ | |
nearby_tile_class(-1, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_128; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_126, [ | |
nearby_tile_class(-1, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_127; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_125, [ | |
nearby_tile_class(-1, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_126; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_124, [ | |
nearby_tile_class(-1, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_125; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_123, [ | |
nearby_tile_class(-1, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_124; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_122, [ | |
nearby_tile_class(-1, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_123; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_121, [ | |
nearby_tile_class(-1, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_122; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_120, [ | |
nearby_tile_class(-1, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_121; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_119, [ | |
nearby_tile_class(0, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_120; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_118, [ | |
nearby_tile_class(0, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_119; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_117, [ | |
nearby_tile_class(0, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_118; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_116, [ | |
nearby_tile_class(0, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_117; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_115, [ | |
nearby_tile_class(0, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_116; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_114, [ | |
nearby_tile_class(0, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_115; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_113, [ | |
nearby_tile_class(0, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_114; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_112, [ | |
nearby_tile_class(0, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_113; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_111, [ | |
nearby_tile_class(0, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_112; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_110, [ | |
nearby_tile_class(0, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_111; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_109, [ | |
nearby_tile_class(0, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_110; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_108, [ | |
nearby_tile_class(0, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_109; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_107, [ | |
nearby_tile_class(0, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_108; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_106, [ | |
nearby_tile_class(0, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_107; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_105, [ | |
nearby_tile_class(0, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_106; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_104, [ | |
nearby_tile_class(1, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_105; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_103, [ | |
nearby_tile_class(1, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_104; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_102, [ | |
nearby_tile_class(1, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_103; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_101, [ | |
nearby_tile_class(1, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_102; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_100, [ | |
nearby_tile_class(1, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_101; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_99, [ | |
nearby_tile_class(1, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_100; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_98, [ | |
nearby_tile_class(1, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_99; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_97, [ | |
nearby_tile_class(1, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_98; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_96, [ | |
nearby_tile_class(1, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_97; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_95, [ | |
nearby_tile_class(1, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_96; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_94, [ | |
nearby_tile_class(1, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_95; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_93, [ | |
nearby_tile_class(1, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_94; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_92, [ | |
nearby_tile_class(1, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_93; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_91, [ | |
nearby_tile_class(1, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_92; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_90, [ | |
nearby_tile_class(1, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_91; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_89, [ | |
nearby_tile_class(2, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_90; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_88, [ | |
nearby_tile_class(2, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_89; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_87, [ | |
nearby_tile_class(2, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_88; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_86, [ | |
nearby_tile_class(2, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_87; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_85, [ | |
nearby_tile_class(2, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_86; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_84, [ | |
nearby_tile_class(2, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_85; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_83, [ | |
nearby_tile_class(2, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_84; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_82, [ | |
nearby_tile_class(2, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_83; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_81, [ | |
nearby_tile_class(2, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_82; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_80, [ | |
nearby_tile_class(2, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_81; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_79, [ | |
nearby_tile_class(2, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_80; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_78, [ | |
nearby_tile_class(2, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_79; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_77, [ | |
nearby_tile_class(2, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_78; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_76, [ | |
nearby_tile_class(2, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_77; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_75, [ | |
nearby_tile_class(2, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_76; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_74, [ | |
nearby_tile_class(3, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_75; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_73, [ | |
nearby_tile_class(3, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_74; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_72, [ | |
nearby_tile_class(3, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_73; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_71, [ | |
nearby_tile_class(3, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_72; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_70, [ | |
nearby_tile_class(3, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_71; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_69, [ | |
nearby_tile_class(3, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_70; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_68, [ | |
nearby_tile_class(3, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_69; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_67, [ | |
nearby_tile_class(3, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_68; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_66, [ | |
nearby_tile_class(3, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_67; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_65, [ | |
nearby_tile_class(3, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_66; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_64, [ | |
nearby_tile_class(3, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_65; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_63, [ | |
nearby_tile_class(3, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_64; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_62, [ | |
nearby_tile_class(3, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_63; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_61, [ | |
nearby_tile_class(3, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_62; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_60, [ | |
nearby_tile_class(3, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_61; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_59, [ | |
nearby_tile_class(4, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_60; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_58, [ | |
nearby_tile_class(4, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_59; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_57, [ | |
nearby_tile_class(4, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_58; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_56, [ | |
nearby_tile_class(4, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_57; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_55, [ | |
nearby_tile_class(4, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_56; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_54, [ | |
nearby_tile_class(4, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_55; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_53, [ | |
nearby_tile_class(4, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_54; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_52, [ | |
nearby_tile_class(4, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_53; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_51, [ | |
nearby_tile_class(4, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_52; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_50, [ | |
nearby_tile_class(4, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_51; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_49, [ | |
nearby_tile_class(4, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_50; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_48, [ | |
nearby_tile_class(4, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_49; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_47, [ | |
nearby_tile_class(4, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_48; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_46, [ | |
nearby_tile_class(4, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_47; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_45, [ | |
nearby_tile_class(4, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_46; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_44, [ | |
nearby_tile_class(5, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_45; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_43, [ | |
nearby_tile_class(5, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_44; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_42, [ | |
nearby_tile_class(5, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_43; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_41, [ | |
nearby_tile_class(5, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_42; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_40, [ | |
nearby_tile_class(5, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_41; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_39, [ | |
nearby_tile_class(5, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_40; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_38, [ | |
nearby_tile_class(5, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_39; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_37, [ | |
nearby_tile_class(5, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_38; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_36, [ | |
nearby_tile_class(5, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_37; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_35, [ | |
nearby_tile_class(5, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_36; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_34, [ | |
nearby_tile_class(5, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_35; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_33, [ | |
nearby_tile_class(5, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_34; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_32, [ | |
nearby_tile_class(5, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_33; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_31, [ | |
nearby_tile_class(5, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_32; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_30, [ | |
nearby_tile_class(5, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_31; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_29, [ | |
nearby_tile_class(6, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_30; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_28, [ | |
nearby_tile_class(6, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_29; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_27, [ | |
nearby_tile_class(6, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_28; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_26, [ | |
nearby_tile_class(6, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_27; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_25, [ | |
nearby_tile_class(6, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_26; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_24, [ | |
nearby_tile_class(6, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_25; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_23, [ | |
nearby_tile_class(6, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_24; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_22, [ | |
nearby_tile_class(6, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_23; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_21, [ | |
nearby_tile_class(6, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_22; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_20, [ | |
nearby_tile_class(6, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_21; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_19, [ | |
nearby_tile_class(6, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_20; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_18, [ | |
nearby_tile_class(6, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_19; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_17, [ | |
nearby_tile_class(6, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_18; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_16, [ | |
nearby_tile_class(6, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_17; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_15, [ | |
nearby_tile_class(6, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_16; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_14, [ | |
nearby_tile_class(7, -7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_15; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_13, [ | |
nearby_tile_class(7, -6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_14; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_12, [ | |
nearby_tile_class(7, -5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_13; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_11, [ | |
nearby_tile_class(7, -4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_12; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_10, [ | |
nearby_tile_class(7, -3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_11; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_9, [ | |
nearby_tile_class(7, -2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_10; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_8, [ | |
nearby_tile_class(7, -1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_9; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_7, [ | |
nearby_tile_class(7, 0) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_8; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_6, [ | |
nearby_tile_class(7, 1) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_7; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_5, [ | |
nearby_tile_class(7, 2) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_6; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_4, [ | |
nearby_tile_class(7, 3) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_5; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_3, [ | |
nearby_tile_class(7, 4) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_4; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_2, [ | |
nearby_tile_class(7, 5) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_3; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_1, [ | |
nearby_tile_class(7, 6) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_2; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3_0, [ | |
nearby_tile_class(7, 7) == TILE_CLASS_HOUSE ? STORE_TEMP(1, 0) : 0, | |
LOAD_TEMP(0) | |
]) { | |
1: builders_yard_tile_1_lc_3_225; | |
return builders_yard_tile_1_lc_3_1; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_3, STORE_TEMP(0, 0)) { | |
return builders_yard_tile_1_lc_3_0; | |
} | |
switch(FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_2, | |
(nearby_tile_class( 2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 2, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( 0, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -1, -2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 2) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, 0) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -1) == TILE_CLASS_INDUSTRY) || | |
(nearby_tile_class( -2, -2) == TILE_CLASS_INDUSTRY) | |
) { | |
1: return CB_RESULT_LOCATION_DISALLOW; | |
builders_yard_tile_1_lc_3; | |
} | |
switch (FEAT_INDUSTRYTILES, PARENT, builders_yard_tile_1_lc_1, ( | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_FUND) || | |
(((extra_callback_info2 & 0xFF00) >> 8) == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
builders_yard_tile_1_lc_2; | |
} | |
switch (FEAT_INDUSTRYTILES, SELF, builders_yard_tile_1_lc_0, | |
( | |
nearby_tile_height(-relative_x, -relative_y) | |
+ (nearby_tile_slope(-relative_x, -relative_y) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(-relative_x, -relative_y) == bitmask(IS_STEEP_SLOPE) ? 2 : 1 | |
)) == (nearby_tile_height(0, 0) | |
+ (nearby_tile_slope(0, 0) | |
== SLOPE_FLAT ? 0 : | |
nearby_tile_slope(0, 0) == bitmask(IS_STEEP_SLOPE) ? 2 : 1)) | |
) { | |
1: builders_yard_tile_1_lc_1; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
item(FEAT_INDUSTRYTILES, builders_yard_tile_1, 164) { | |
property { | |
substitute: 0; | |
land_shape_flags: 0; | |
special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); | |
animation_triggers: bitmask(); | |
} | |
graphics { | |
tile_check: builders_yard_tile_1_lc_0; | |
builders_yard_switch_graphics; | |
} | |
} | |
/* ************************************************* | |
* Definition of the industry | |
* *************************************************/ | |
produce (builders_yard_produce_cargo_arrival_economy_5, | |
[ | |
CMNT: incoming_cargo_waiting("CMNT"); | |
PIPE: incoming_cargo_waiting("PIPE"); | |
STSE: incoming_cargo_waiting("STSE"); | |
], | |
[], | |
0) | |
produce (builders_yard_produce_cargo_arrival_economy_3, | |
[ | |
BDMT: incoming_cargo_waiting("BDMT"); | |
], | |
[], | |
0) | |
tilelayout builders_yard_industry_layout_1_tilelayout { | |
0, 0: builders_yard_tile_1; | |
0, 1: builders_yard_tile_1; | |
1, 0: builders_yard_tile_1; | |
1, 1: builders_yard_tile_1; | |
} | |
tilelayout builders_yard_industry_layout_2_tilelayout { | |
0, 0: builders_yard_tile_1; | |
0, 1: builders_yard_tile_1; | |
1, 0: builders_yard_tile_1; | |
1, 1: builders_yard_tile_1; | |
} | |
tilelayout builders_yard_industry_layout_3_tilelayout { | |
0, 0: builders_yard_tile_1; | |
0, 1: builders_yard_tile_1; | |
1, 0: builders_yard_tile_1; | |
1, 1: builders_yard_tile_1; | |
} | |
tilelayout builders_yard_industry_layout_4_tilelayout { | |
0, 0: builders_yard_tile_1; | |
0, 1: builders_yard_tile_1; | |
1, 0: builders_yard_tile_1; | |
1, 1: builders_yard_tile_1; | |
} | |
switch(FEAT_INDUSTRIES, SELF, builders_yard_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, builders_yard_check_map_gen, extra_callback_info2 == IND_CREATION_GENERATION) { | |
1: return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
builders_yard_check_availability_param; | |
} | |
switch (FEAT_INDUSTRIES, SELF, builders_yard_available_game_mode, game_mode == GAMEMODE_GAME) { | |
1: builders_yard_check_map_gen; | |
return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, builders_yard_check_availability_0, current_date) { | |
date(0,1,1) .. date(5000000,12,31): builders_yard_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, builders_yard_check_availability_1, current_date) { | |
date(0,1,1) .. date(5000000,12,31): builders_yard_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, builders_yard_check_availability_4, current_date) { | |
date(0,1,1) .. date(5000000,12,31): builders_yard_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, builders_yard_check_availability_5, current_date) { | |
date(0,1,1) .. date(5000000,12,31): builders_yard_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
/* 0 */ | |
switch (FEAT_INDUSTRIES, SELF, builders_yard_check_availability_3, current_date) { | |
date(0,1,1) .. date(5000000,12,31): builders_yard_available_game_mode; | |
return CB_RESULT_IND_NO_CONSTRUCTION; | |
} | |
switch (FEAT_INDUSTRIES, SELF, builders_yard_check_availability, economy) { | |
0: builders_yard_check_availability_0; | |
1: builders_yard_check_availability_1; | |
4: builders_yard_check_availability_4; | |
5: builders_yard_check_availability_5; | |
3: builders_yard_check_availability_3; | |
} | |
switch (FEAT_INDUSTRIES, SELF, builders_yard_check_location_post_player_founding_checks_AND, | |
[ | |
location_check_industry_require_min_distance_to_another_industry_type(63,56) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(103,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(95,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(80,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(22,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(41,16) | |
&& | |
location_check_industry_require_min_distance_to_another_industry_type(43,16) | |
]) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF, builders_yard_check_location_post_player_founding_checks_OR, | |
[ | |
1 | |
]) { | |
1: builders_yard_check_location_post_player_founding_checks_AND; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
switch (FEAT_INDUSTRIES, SELF,builders_yard_check_location_allow_player_founding, ( | |
(extra_callback_info2 == IND_CREATION_FUND) || | |
(extra_callback_info2 == IND_CREATION_PROSPECT) | |
) | |
) { | |
1: return CB_RESULT_LOCATION_ALLOW; | |
builders_yard_check_location_post_player_founding_checks_OR; | |
} | |
switch (FEAT_INDUSTRIES, SELF, builders_yard_check_location, | |
[ | |
1 | |
]) { | |
1: return builders_yard_check_location_allow_player_founding; | |
return CB_RESULT_LOCATION_DISALLOW; | |
} | |
if (economy==5) { | |
item(FEAT_INDUSTRIES, builders_yard, 63) { | |
property { | |
substitute: 0; | |
override: 0; | |
map_colour: 169; | |
life_type: IND_LIFE_TYPE_BLACK_HOLE; | |
min_cargo_distr: 1; | |
layouts: [builders_yard_industry_layout_1_tilelayout,builders_yard_industry_layout_2_tilelayout,builders_yard_industry_layout_3_tilelayout,builders_yard_industry_layout_4_tilelayout]; | |
spec_flags: bitmask(IND_FLAG_LONG_CARGO_TYPE_LISTS); | |
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_BUILDERS_YARD); | |
prob_map_gen: 9; | |
prob_in_game: 6; | |
prospect_chance: 0.75; | |
fund_cost_multiplier: 16; | |
remove_cost_multiplier: 0; | |
remove_cost_multiplier: 0; | |
cargo_types: [accept_cargo("CMNT"),accept_cargo("PIPE"),accept_cargo("STSE")]; | |
nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_MERCHANTS_LANE)); | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_INDUSTRIES, builders_yard, 63) { | |
property { | |
substitute: 0; | |
override: 0; | |
map_colour: 169; | |
life_type: IND_LIFE_TYPE_BLACK_HOLE; | |
min_cargo_distr: 1; | |
layouts: [builders_yard_industry_layout_1_tilelayout,builders_yard_industry_layout_2_tilelayout,builders_yard_industry_layout_3_tilelayout,builders_yard_industry_layout_4_tilelayout]; | |
spec_flags: bitmask(IND_FLAG_LONG_CARGO_TYPE_LISTS); | |
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_BUILDERS_YARD); | |
prob_map_gen: 14; | |
prob_in_game: 12; | |
prospect_chance: 0.75; | |
fund_cost_multiplier: 16; | |
remove_cost_multiplier: 0; | |
remove_cost_multiplier: 0; | |
cargo_types: [accept_cargo("BDMT")]; | |
nearby_station_name: string(STR_STATION, string(STR_TOWN),string(STR_STATION_MERCHANTS_LANE)); | |
} | |
} | |
} | |
if (economy==5) { | |
item(FEAT_INDUSTRIES, builders_yard, 63) { | |
graphics { | |
construction_probability: builders_yard_check_availability; | |
build_prod_change: randomise_primary_production_on_build; | |
produce_cargo_arrival: builders_yard_produce_cargo_arrival_economy_5; | |
location_check: builders_yard_check_location; | |
extra_text_fund: return CB_RESULT_NO_TEXT; | |
cargo_subtype_display: return 0x3800 + string(STR_EMPTY); | |
colour: switch_colour; | |
} | |
} | |
} | |
if (economy==3) { | |
item(FEAT_INDUSTRIES, builders_yard, 63) { | |
graphics { | |
construction_probability: builders_yard_check_availability; | |
build_prod_change: randomise_primary_production_on_build; | |
produce_cargo_arrival: builders_yard_produce_cargo_arrival_economy_3; | |
location_check: builders_yard_check_location; | |
extra_text_fund: return CB_RESULT_NO_TEXT; | |
cargo_subtype_display: return 0x3800 + string(STR_EMPTY); | |
colour: switch_colour; | |
} | |
} | |
}/* ****************************************************************** | |
* Definition of the industry tile, its callbacks, and graphics chain | |
* ******************************************************************/ | |
spriteset(bulk_terminal_spriteset_1_0) { | |
[10, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_1_0_snow) { | |
[10, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_1_spriteset_default_construction_state_0) { | |
[10, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_1_spriteset_default_construction_state_1) { | |
[10, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_1_spriteset_default_construction_state_2) { | |
[10, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_2_0) { | |
[80, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_2_0_snow) { | |
[80, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_2_spriteset_default_construction_state_0) { | |
[80, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_2_spriteset_default_construction_state_1) { | |
[80, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_2_spriteset_default_construction_state_2) { | |
[80, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_3_0) { | |
[150, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_3_0_snow) { | |
[150, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_3_spriteset_default_construction_state_0) { | |
[150, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_3_spriteset_default_construction_state_1) { | |
[150, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_3_spriteset_default_construction_state_2) { | |
[150, 10, 64, 39, -31, -8, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_4_0) { | |
[10, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_4_0_snow) { | |
[10, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_4_spriteset_default_construction_state_0) { | |
[10, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_4_spriteset_default_construction_state_1) { | |
[10, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_4_spriteset_default_construction_state_2) { | |
[10, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_5_0) { | |
[80, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_5_0_snow) { | |
[80, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_5_spriteset_default_construction_state_0) { | |
[80, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_5_spriteset_default_construction_state_1) { | |
[80, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_5_spriteset_default_construction_state_2) { | |
[80, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_6_0) { | |
[150, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_6_0_snow) { | |
[150, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_6_spriteset_default_construction_state_0) { | |
[150, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_6_spriteset_default_construction_state_1) { | |
[150, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_6_spriteset_default_construction_state_2) { | |
[150, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_7_0) { | |
[220, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_7_0_snow) { | |
[220, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_7_spriteset_default_construction_state_0) { | |
[220, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_7_spriteset_default_construction_state_1) { | |
[220, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_7_spriteset_default_construction_state_2) { | |
[220, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_8_0) { | |
[290, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_8_0_snow) { | |
[290, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_8_spriteset_default_construction_state_0) { | |
[290, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_8_spriteset_default_construction_state_1) { | |
[290, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_8_spriteset_default_construction_state_2) { | |
[290, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_9_0) { | |
[360, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_9_0_snow) { | |
[360, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_9_spriteset_default_construction_state_0) { | |
[360, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_9_spriteset_default_construction_state_1) { | |
[360, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_9_spriteset_default_construction_state_2) { | |
[360, 60, 64, 39, -31, -7, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_10_0) { | |
[440, 10, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_10_0_snow) { | |
[440, 10, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_10_spriteset_default_construction_state_0) { | |
[440, 10, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_10_spriteset_default_construction_state_1) { | |
[440, 10, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_10_spriteset_default_construction_state_2) { | |
[440, 10, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_11_0) { | |
[510, 10, 64, 84, -35, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_11_0_snow) { | |
[510, 10, 64, 84, -35, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_11_spriteset_default_construction_state_0) { | |
[510, 10, 64, 84, -35, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_11_spriteset_default_construction_state_1) { | |
[510, 10, 64, 84, -35, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_11_spriteset_default_construction_state_2) { | |
[510, 10, 64, 84, -35, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_12_0) { | |
[580, 10, 64, 84, -31, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_12_0_snow) { | |
[580, 10, 64, 84, -31, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_12_spriteset_default_construction_state_0) { | |
[580, 10, 64, 84, -31, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_12_spriteset_default_construction_state_1) { | |
[580, 10, 64, 84, -31, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_12_spriteset_default_construction_state_2) { | |
[580, 10, 64, 84, -31, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_13_0) { | |
[650, 10, 64, 84, -31, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_13_0_snow) { | |
[650, 10, 64, 84, -31, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_13_spriteset_default_construction_state_0) { | |
[650, 10, 64, 84, -31, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_13_spriteset_default_construction_state_1) { | |
[650, 10, 64, 84, -31, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_13_spriteset_default_construction_state_2) { | |
[650, 10, 64, 84, -31, -61, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_14_0) { | |
[440, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_14_0_snow) { | |
[440, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_14_spriteset_default_construction_state_0) { | |
[440, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_14_spriteset_default_construction_state_1) { | |
[440, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_14_spriteset_default_construction_state_2) { | |
[440, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_15_0) { | |
[510, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_15_0_snow) { | |
[510, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_15_spriteset_default_construction_state_0) { | |
[510, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_15_spriteset_default_construction_state_1) { | |
[510, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_15_spriteset_default_construction_state_2) { | |
[510, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_16_0) { | |
[580, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_16_0_snow) { | |
[580, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_16_spriteset_default_construction_state_0) { | |
[580, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_16_spriteset_default_construction_state_1) { | |
[580, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_16_spriteset_default_construction_state_2) { | |
[580, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_17_0) { | |
[650, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_17_0_snow) { | |
[650, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_17_spriteset_default_construction_state_0) { | |
[650, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_17_spriteset_default_construction_state_1) { | |
[650, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_17_spriteset_default_construction_state_2) { | |
[650, 110, 64, 84, -31, -43, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_18_0) { | |
[10, 110, 64, 39, -35, -15, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_18_0_snow) { | |
[10, 110, 64, 39, -35, -15, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_18_spriteset_default_construction_state_0) { | |
[10, 110, 64, 39, -35, -15, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_18_spriteset_default_construction_state_1) { | |
[10, 110, 64, 39, -35, -15, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_18_spriteset_default_construction_state_2) { | |
[10, 110, 64, 39, -35, -15, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_19_0) { | |
[80, 110, 64, 39, -40, -12, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_19_0_snow) { | |
[80, 110, 64, 39, -40, -12, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_19_spriteset_default_construction_state_0) { | |
[80, 110, 64, 39, -40, -12, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_19_spriteset_default_construction_state_1) { | |
[80, 110, 64, 39, -40, -12, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_19_spriteset_default_construction_state_2) { | |
[80, 110, 64, 39, -40, -12, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_20_0) { | |
[150, 110, 64, 39, -13, -19, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_20_0_snow) { | |
[150, 110, 64, 39, -13, -19, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_20_spriteset_default_construction_state_0) { | |
[150, 110, 64, 39, -13, -19, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_20_spriteset_default_construction_state_1) { | |
[150, 110, 64, 39, -13, -19, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_20_spriteset_default_construction_state_2) { | |
[150, 110, 64, 39, -13, -19, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_21_0) { | |
[220, 110, 64, 39, -27, -12, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_21_0_snow) { | |
[220, 110, 64, 39, -27, -12, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_21_spriteset_default_construction_state_0) { | |
[220, 110, 64, 39, -27, -12, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_21_spriteset_default_construction_state_1) { | |
[220, 110, 64, 39, -27, -12, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_21_spriteset_default_construction_state_2) { | |
[220, 110, 64, 39, -27, -12, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_22_0) { | |
[290, 110, 64, 39, -15, -11, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_22_0_snow) { | |
[290, 110, 64, 39, -15, -11, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_22_spriteset_default_construction_state_0) { | |
[290, 110, 64, 39, -15, -11, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_22_spriteset_default_construction_state_1) { | |
[290, 110, 64, 39, -15, -11, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_22_spriteset_default_construction_state_2) { | |
[290, 110, 64, 39, -15, -11, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_23_0) { | |
[360, 110, 64, 39, -25, -20, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_23_0_snow) { | |
[360, 110, 64, 39, -25, -20, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_23_spriteset_default_construction_state_0) { | |
[360, 110, 64, 39, -25, -20, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_23_spriteset_default_construction_state_1) { | |
[360, 110, 64, 39, -25, -20, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_23_spriteset_default_construction_state_2) { | |
[360, 110, 64, 39, -25, -20, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_24_0) { | |
[360, 110, 64, 39, -29, -5, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_24_0_snow) { | |
[360, 110, 64, 39, -29, -5, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_24_spriteset_default_construction_state_0) { | |
[360, 110, 64, 39, -29, -5, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_24_spriteset_default_construction_state_1) { | |
[360, 110, 64, 39, -29, -5, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_24_spriteset_default_construction_state_2) { | |
[360, 110, 64, 39, -29, -5, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spriteset(bulk_terminal_spriteset_25_0) { | |
[290, 110, 64, 39, -32, -21, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_25_0_snow) { | |
[290, 110, 64, 39, -32, -21, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_1_snow.png"] | |
} | |
spriteset(bulk_terminal_spriteset_25_spriteset_default_construction_state_0) { | |
[290, 110, 64, 39, -32, -21, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_1.png"] | |
} | |
spriteset(bulk_terminal_spriteset_25_spriteset_default_construction_state_1) { | |
[290, 110, 64, 39, -32, -21, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_2.png"] | |
} | |
spriteset(bulk_terminal_spriteset_25_spriteset_default_construction_state_2) { | |
[290, 110, 64, 39, -32, -21, ANIM | NOCROP, "src/graphics/industries/bulk_terminal_construction_3.png"] | |
} | |
spritelayout bulk_terminal_spritelayout_crane_rails_nw_se { | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_crane_rails_ne_sw { | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_11 { | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_11_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: bulk_terminal_spriteset_11_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_11_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_11_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_11_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_water_barge_sw_ne { | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: bulk_terminal_spriteset_18_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: bulk_terminal_spriteset_18_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_18_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_18_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_18_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_water_barge_ne_sw { | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: bulk_terminal_spriteset_19_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: bulk_terminal_spriteset_19_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_19_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_19_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_19_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_water_barge_se_nw { | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: bulk_terminal_spriteset_20_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: bulk_terminal_spriteset_20_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_20_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_20_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_20_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_water_barge_nw_se { | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: bulk_terminal_spriteset_21_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: bulk_terminal_spriteset_21_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_21_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_21_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_21_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_water_empty { | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_water_coaster_ne_sw { | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: bulk_terminal_spriteset_22_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: bulk_terminal_spriteset_22_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_22_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_22_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_22_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_water_coaster_nw_se { | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: bulk_terminal_spriteset_23_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: bulk_terminal_spriteset_23_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_23_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_23_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_23_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_water_coaster_se_nw { | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: bulk_terminal_spriteset_24_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: bulk_terminal_spriteset_24_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_24_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_24_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_24_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_water_coaster_sw_ne { | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
childsprite { | |
sprite: GROUNDSPRITE_WATER; | |
hide_sprite: (!LOAD_TEMP(13)); | |
always_draw: 1; | |
} | |
building { | |
sprite: bulk_terminal_spriteset_25_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: bulk_terminal_spriteset_25_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_25_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_25_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_25_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_cone_silo { | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_crane_nw_se { | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_15_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: bulk_terminal_spriteset_15_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_15_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_15_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_15_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_crane_sw_ne { | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_17_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: bulk_terminal_spriteset_17_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_17_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_17_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_17_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_crane_ne_sw { | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_14_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: bulk_terminal_spriteset_14_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_14_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_14_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_14_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_crane_se_nw { | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_16_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: bulk_terminal_spriteset_16_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_16_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_16_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_16_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_jetty_empty { | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_coast_tanks1 { | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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: bulk_terminal_spriteset_10_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_coast_tanks2 { | |
building { | |
sprite: bulk_terminal_spriteset_9_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: bulk_terminal_spriteset_9_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_9_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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: bulk_terminal_spriteset_10_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_9_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_9_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_coast_tanks3 { | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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: bulk_terminal_spriteset_10_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_coast_tanks4 { | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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: bulk_terminal_spriteset_10_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_coast_tanks5 { | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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: bulk_terminal_spriteset_10_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_coast_tanks6 { | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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: bulk_terminal_spriteset_10_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(127)); | |
} | |
building { | |
sprite: bulk_terminal_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: 1; | |
hide_sprite: (LOAD_TEMP(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_coast_tanks7 { | |
building { | |
sprite: bulk_terminal_spriteset_8_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: bulk_terminal_spriteset_8_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_8_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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: bulk_terminal_spriteset_10_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_8_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_8_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_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(117)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(127)); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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(117)); | |
} | |
} | |
spritelayout bulk_terminal_spritelayout_coast_tanks8 { | |
building { | |
sprite: bulk_terminal_spriteset_8_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: bulk_terminal_spriteset_8_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_8_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_9_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: bulk_terminal_spriteset_9_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_9_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 != 2); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 0); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 1); | |
} | |
building { | |
sprite: bulk_terminal_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: (construction_state != 2); | |
} | |
building { | |
sprite: bulk_terminal_spriteset_10_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: bulk_terminal_spriteset_10_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 != 1); | |
} | |
building { | |
sprite: bulk_terminal_sprite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment