id="sawmill", accept_cargos_with_input_ratios=[("WOOD", 6)], prod_cargo_types_with_output_ratios=[("WDPR", 8)], prob_in_game="3", prob_map_gen="5", map_colour="194", name="TTD_STR_INDUSTRY_NAME_SAWMILL", nearby_station_name="string(STR_STATION_MILL)", fund_cost_multiplier="97", ) industry.economy_variations["IN_A_HOT_COUNTRY"].enabled = True industry.economy_variations["BASIC_ARCTIC"].enabled = True industry.add_tile( id="sawmill_tile_1", location_checks=TileLocationChecks(disallow_industry_adjacent=True), ) sprite_ground = industry.add_sprite( sprite_number="GROUNDTILE_MUD_TRACKS" # ground tile same as overlay tile ) spriteset_ground_overlay = industry.add_spriteset(type="empty") sprite_hut_1 = industry.add_sprite(sprite_number="2069") sprite_hut_2 = industry.add_sprite(sprite_number="2063") sprite_logs_1 = industry.add_sprite(sprite_number="2066") sprite_logs_2 = industry.add_sprite(sprite_number="2070") sprite_logs_3 = industry.add_sprite(sprite_number="2071") industry.add_spritelayout( id="sawmill_spritelayout_1",
prob_map_gen="5", map_colour="83", special_flags=["IND_FLAG_MILITARY_AIRPLANE_CAN_EXPLODE"], name="string(STR_IND_SUGAR_REFINERY)", nearby_station_name="string(STR_STATION_SUGAR_COMPANY)", fund_cost_multiplier="140", ) # deliberately not in BLTC, requires sugar beet, which is too climate-specific for BLTC # industry.economy_variations['BETTER_LIVING_THROUGH_CHEMISTRY'].enabled = True industry.add_tile( id="sugar_refinery_tile_1", animation_length=7, animation_looping=True, animation_speed=3, location_checks=TileLocationChecks( require_effectively_flat=True, disallow_industry_adjacent=True ), ) spriteset_ground = industry.add_spriteset(type="concrete") spriteset_ground_overlay = industry.add_spriteset(type="empty") spriteset_1 = industry.add_spriteset( sprites=[(10, 10, 64, 50, -31, -23)], ) spriteset_2 = industry.add_spriteset( sprites=[(80, 10, 64, 50, -31, -25)], ) spriteset_3 = industry.add_spriteset( sprites=[(150, 10, 64, 88, -31, -56)],
prod_multiplier='[0, 0]', map_colour='19', spec_flags='bitmask(IND_FLAG_MILITARY_AIRPLANE_CAN_EXPLODE)', # it's rare to force co-location of secondaries, but this one is near blast furnace by design location_checks=dict(industry_max_distance=['blast_furnace', 72], same_type_distance=72), name='string(STR_IND_SLAG_GRINDING_PLANT)', nearby_station_name='string(STR_STATION_SILO)', fund_cost_multiplier='100 ') industry.economy_variations['FIRS'].enabled = True industry.add_tile(id='slag_grinding_plant_tile_1', animation_length=7, animation_looping=True, animation_speed=3, location_checks=TileLocationChecks( require_effectively_flat=True, disallow_industry_adjacent=True)) sprite_ground = industry.add_sprite( sprite_number='GROUNDTILE_MUD_TRACKS' # ground tile same as overlay tile ) spriteset_ground_overlay = industry.add_spriteset(type='empty') spriteset_silos = industry.add_spriteset(sprites=[(10, 10, 64, 120, -31, -89) ], ) spriteset_large_shed = industry.add_spriteset(sprites=[(80, 10, 64, 120, -31, -89)], ) spriteset_grinding_tower = industry.add_spriteset(sprites=[(150, 10, 64, 120, -31, -89)], ) spriteset_conveyors_1 = industry.add_spriteset(sprites=[(220, 10, 64, 120, -31,
map_colour="10", name="string(STR_IND_INTEGRATED_STEEL_MILL)", nearby_station_name="string(STR_STATION_FURNACE)", fund_cost_multiplier="190", ) industry.economy_variations["BASIC_TEMPERATE"].enabled = True industry.economy_variations["BASIC_TEMPERATE"].intro_year = 1800 industry.add_tile( id="integrated_steel_mill_tile_1", animation_length=7, animation_looping=True, animation_speed=3, custom_animation_control={ "macro": "random_first_frame", "animation_triggers": "bitmask(ANIM_TRIGGER_INDTILE_CONSTRUCTION_STATE)", }, location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True), ) industry.add_tile( id="integrated_steel_mill_tile_2", animation_length=30, animation_looping=True, animation_speed=4, location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True), )
id='furniture_factory', processed_cargos_and_output_ratios=[('WDPR', 6)], prod_cargo_types=['GOOD'], prob_in_game='7', prob_random='8', prod_multiplier='[0, 0]', map_colour='186', name='string(STR_IND_FURNITURE_FACTORY)', nearby_station_name='string(STR_STATION_JOINERS_SHOP)', fund_cost_multiplier='95') industry.economy_variations['FIRS'].enabled = True industry.economy_variations['BASIC_ARCTIC'].enabled = True industry.add_tile(id='furniture_factory_tile_1', location_checks=TileLocationChecks( require_effectively_flat=True, disallow_industry_adjacent=True)) spriteset_ground = industry.add_spriteset(type='cobble', ) spriteset_ground_overlay = industry.add_spriteset(type='empty', ) spriteset_1 = industry.add_spriteset(sprites=[(10, 60, 64, 88, -31, -42)], ) spriteset_2 = industry.add_spriteset(sprites=[(80, 60, 64, 88, -31, -44)], ) spriteset_3 = industry.add_spriteset(sprites=[(150, 60, 64, 88, -31, -42)], ) spriteset_4 = industry.add_spriteset(sprites=[(220, 60, 64, 88, -31, -42)], ) spriteset_5 = industry.add_spriteset(sprites=[(290, 60, 64, 88, -31, -42)], ) spriteset_6 = industry.add_spriteset(sprites=[(360, 60, 64, 88, -31, -41)], ) industry.add_spritelayout(id='furniture_factory_spritelayout_1', ground_sprite=spriteset_ground, ground_overlay=spriteset_ground_overlay, building_sprites=[spriteset_1],
prob_random='5', prod_multiplier='[0, 0]', map_colour='181', name='TTD_STR_INDUSTRY_NAME_FOOD_PROCESSING_PLANT', nearby_station_name='string(STR_STATION_FOOD_CORPORATION)', fund_cost_multiplier='65') industry.economy_variations['FIRS'].enabled = True industry.economy_variations['MISTAH_KURTZ'].enabled = True industry.economy_variations[ 'MISTAH_KURTZ'].processed_cargos_and_output_ratios = [('NUTS', 6), ('FRUT', 6)] industry.economy_variations['MISTAH_KURTZ'].prod_cargo_types = ['EOIL', 'FOOD'] industry.add_tile(id='food_processor_tile_1', location_checks=TileLocationChecks( require_effectively_flat=True, disallow_industry_adjacent=True)) spriteset_ground = industry.add_spriteset(type='concrete') spriteset_ground_overlay = industry.add_spriteset(type='empty') spriteset_1 = industry.add_spriteset(sprites=[(10, 10, 64, 87, -31, -56)], ) spriteset_2 = industry.add_spriteset(sprites=[(80, 10, 64, 87, -31, -56)], ) spriteset_3 = industry.add_spriteset(sprites=[(150, 10, 64, 87, -31, -56)], ) spriteset_4 = industry.add_spriteset(sprites=[(220, 10, 64, 87, -31, -56)], ) industry.add_spritelayout( id='food_processor_spritelayout_1', ground_sprite=spriteset_ground, ground_overlay=spriteset_ground_overlay, building_sprites=[spriteset_1], )
industry.economy_variations['FERNZ'].enabled = True industry.economy_variations['FERNZ'].processed_cargos_and_output_ratios = [('ISND', 3), ('COAL', 2), ('SCMT', 3)] industry.economy_variations['FERNZ'].prod_cargo_types = ['METL', 'SAND'] industry.economy_variations['BASIC_TEMPERATE'].enabled = True industry.economy_variations['BASIC_TEMPERATE'].intro_year = 1800 industry.economy_variations['BASIC_TEMPERATE'].prod_cargo_types = ['STEL'] industry.economy_variations['STEELTOWN'].enabled = True industry.economy_variations['STEELTOWN'].name = 'string(STR_IND_BLAST_FURNACE)' industry.economy_variations['STEELTOWN'].processed_cargos_and_output_ratios = [('IORE', 3), ('COKE', 3), ('LIME', 2)] industry.economy_variations['STEELTOWN'].prod_cargo_types = [('IRON', 6), ('SLAG', 2)] industry.economy_variations['STEELTOWN'].prob_random = '3' industry.add_tile(id='blast_furnace_tile_1', animation_length=7, animation_looping=True, animation_speed=3, custom_animation_control={'macro': 'random_first_frame', 'animation_triggers': 'bitmask(ANIM_TRIGGER_INDTILE_CONSTRUCTION_STATE)'}, location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True)) industry.add_tile(id='blast_furnace_tile_2', animation_length=30, animation_looping=True, animation_speed=4, location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True)) sprite_ground = industry.add_sprite( sprite_number='GROUNDTILE_MUD_TRACKS' # ground tile same as overlay tile ) sprite_ground_overlay = industry.add_spriteset(
accept_cargos_with_input_ratios=[("COAL", 6)], prod_cargo_types_with_output_ratios=[("NH3_", 2), ("PETR", 6)], prob_in_game="3", prob_map_gen="5", map_colour="191", special_flags=["IND_FLAG_MILITARY_AIRPLANE_CAN_EXPLODE"], fund_cost_multiplier="200", name="string(STR_IND_FISCHER_TROPSCH_PLANT)", nearby_station_name="string(STR_STATION_REFINERY)", ) # industry.economy_variations['IN_A_HOT_COUNTRY'].enabled = True industry.add_tile( id="fischer_tropsch_plant_tile_1", location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True), ) spriteset_ground = industry.add_spriteset(type="concrete", ) spriteset_ground_overlay = industry.add_spriteset(type="empty") spriteset_1 = industry.add_spriteset(sprites=[(10, 10, 64, 66, -31, -35)], ) spriteset_2 = industry.add_spriteset(sprites=[(80, 10, 64, 128, -31, -96)], ) spriteset_3 = industry.add_spriteset(sprites=[(150, 10, 64, 128, -31, -96)], ) spriteset_4 = industry.add_spriteset(sprites=[(220, 10, 64, 128, -31, -96)], ) spriteset_5 = industry.add_spriteset(sprites=[(290, 10, 64, 66, -31, -35)], ) industry.add_spritelayout( id="fischer_tropsch_plant_spritelayout_1", ground_sprite=spriteset_ground, ground_overlay=spriteset_ground_overlay,
prod_cargo_types_with_output_ratios=[("PLAS", 8)], combined_cargos_boost_prod=True, prob_in_game="3", prob_map_gen="5", map_colour="209", name="string(STR_IND_POLYETHYLENE_PLANT)", nearby_station_name="string(STR_STATION_MOULDINGS)", fund_cost_multiplier="125", intro_year="1900", ) ###industry.economy_variations['BETTER_LIVING_THROUGH_CHEMISTRY'].enabled = True industry.add_tile( id="polyethylene_plant_tile_1", location_checks=TileLocationChecks( require_effectively_flat=True, disallow_industry_adjacent=True ), ) spriteset_ground = industry.add_spriteset(type="concrete") spriteset_ground_overlay = industry.add_spriteset(type="empty") spriteset_1 = industry.add_spriteset( sprites=[(10, 10, 64, 62, -31, -31)], ) spriteset_2 = industry.add_spriteset( sprites=[(80, 10, 64, 62, -31, -31)], ) spriteset_3 = industry.add_spriteset( sprites=[(150, 10, 64, 55, -31, -24)], ) spriteset_4 = industry.add_spriteset(
fund_cost_multiplier="150", override_default_construction_states=True, ) industry.economy_variations["BASIC_TEMPERATE"].enabled = True industry.economy_variations["BASIC_TROPIC"].enabled = True industry.economy_variations["BASIC_ARCTIC"].enabled = True ###industry.economy_variations['BETTER_LIVING_THROUGH_CHEMISTRY'].enabled = True ###industry.economy_variations['BETTER_LIVING_THROUGH_CHEMISTRY'].accept_cargos_with_input_ratios = [('FISH', 6), ('MNSP', 1), ('ENUM', 1)] # industry.economy_variations['IN_A_HOT_COUNTRY'].enabled = True industry.add_tile( id="fishing_harbour_tile_1", land_shape_flags="bitmask(LSF_ONLY_ON_FLAT_LAND)", location_checks=TileLocationChecks(always_allow_founder=False), ) industry.add_tile( id="fishing_harbour_tile_2", foundations="return CB_RESULT_NO_FOUNDATIONS", location_checks=TileLocationChecks(always_allow_founder=False, require_coast=True), ) sprite_ground = industry.add_sprite(sprite_number="GROUNDSPRITE_WATER") spriteset_ground_empty = industry.add_spriteset(type="empty") spriteset_1 = industry.add_spriteset( sprites=[(10, 10, 64, 39, -31, -8)], always_draw=1, )
###industry.economy_variations['BETTER_LIVING_THROUGH_CHEMISTRY'].enabled = True industry.economy_variations["IN_A_HOT_COUNTRY"].enabled = True industry.economy_variations[ "IN_A_HOT_COUNTRY"].accept_cargos_with_input_ratios = [ ("CASS", 6), ("MAIZ", 6), ] industry.add_tile( id="flour_mill_tile_1", animation_length=6, animation_looping=True, animation_speed=3, location_checks=TileLocationChecks( require_effectively_flat=True, require_houses_nearby=True, disallow_industry_adjacent=True, ), ) spriteset_ground_bakery = industry.add_spriteset(type="cobble", ) spriteset_ground_overlay_1 = industry.add_spriteset(sprites=[(10, 10, 64, 31, -31, 0)], ) spriteset_ground_overlay_2 = industry.add_spriteset(sprites=[(80, 10, 64, 31, -31, 0)]) spriteset_ground_overlay_3 = industry.add_spriteset(sprites=[(150, 10, 64, 31, -31, 0)]) spriteset_ground_overlay_4 = industry.add_spriteset(sprites=[(220, 10, 64, 31, -31, 0)])
prod_cargo_types=['ENSP', 'BDMT'], prob_in_game='3', prob_random='5', prod_multiplier='[0, 0]', map_colour='43', name='string(STR_IND_LUMBER_YARD)', nearby_station_name='string(STR_STATION_CREOSOTING)', fund_cost_multiplier='35') industry.economy_variations['FIRS'].enabled = True industry.economy_variations['MISTAH_KURTZ'].enabled = True industry.economy_variations['MISTAH_KURTZ'].prod_cargo_types = ['BDMT'] # non-animated tile, allowed on slopes industry.add_tile( id='lumber_yard_tile_1', location_checks=TileLocationChecks(disallow_industry_adjacent=True)) # animated kiln-building tile, graphics break if built on slopes industry.add_tile(id='lumber_yard_tile_2', animation_length=71, animation_looping=True, animation_speed=2, location_checks=TileLocationChecks( require_effectively_flat=True, disallow_industry_adjacent=True)) sprite_ground = industry.add_sprite(sprite_number='GROUNDTILE_MUD_TRACKS') spriteset_ground_overlay = industry.add_spriteset(type='empty') spriteset_1 = industry.add_spriteset(sprites=[(80, 10, 64, 64, -31, -40)]) spriteset_2 = industry.add_spriteset(sprites=[(150, 10, 64, 64, -31, -34)])
fund_cost_multiplier="95", ) industry.economy_variations["STEELTOWN"].enabled = True industry.economy_variations[ "STEELTOWN"].prob_in_game = "1" # low chance of build during gameplay """ industry.economy_variations['IN_A_HOT_COUNTRY'].enabled = True industry.economy_variations['IN_A_HOT_COUNTRY'].accept_cargos_with_input_ratios = [('FICR', 6), ('SASH', 2)] industry.economy_variations['IN_A_HOT_COUNTRY'].prod_cargo_types_with_output_ratios = [('YARN', 8)] """ industry.add_tile( id="component_factory_tile_1", animation_length=47, animation_looping=True, animation_speed=2, location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True), ) spriteset_ground = industry.add_spriteset(type="concrete", ) spriteset_ground_overlay = industry.add_spriteset(type="empty") spriteset_1 = industry.add_spriteset(sprites=[(10, 60, 64, 100, -31, -66)], ) spriteset_2 = industry.add_spriteset(sprites=[(80, 60, 64, 100, -31, -66)], ) spriteset_3 = industry.add_spriteset(sprites=[(150, 60, 64, 100, -31, -66)], ) spriteset_4 = industry.add_spriteset(sprites=[(220, 60, 64, 51, -31, -20)], ) spriteset_5 = industry.add_spriteset(sprites=[(290, 60, 64, 51, -31, -20)], ) spriteset_6 = industry.add_spriteset(sprites=[(360, 60, 64, 31, -31, 0)], ) spriteset_7 = industry.add_spriteset(sprites=[(430, 60, 64, 31, -31, 0)], ) sprite_smoke = industry.add_smoke_sprite( smoke_type="dark_smoke_small",
nearby_station_name="string(STR_STATION_COMPONENTS)", fund_cost_multiplier="95", ) industry.economy_variations["STEELTOWN"].enabled = True industry.economy_variations[ "STEELTOWN"].prob_in_game = "1" # low chance of build during gameplay """ industry.economy_variations['IN_A_HOT_COUNTRY'].enabled = True industry.economy_variations['IN_A_HOT_COUNTRY'].accept_cargos_with_input_ratios = [('FICR', 6), ('SASH', 2)] industry.economy_variations['IN_A_HOT_COUNTRY'].prod_cargo_types_with_output_ratios = [('YARN', 8)] """ industry.add_tile( id="component_factory_tile_1", location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True), ) spriteset_ground = industry.add_spriteset(type="concrete", ) spriteset_ground_overlay = industry.add_spriteset(type="empty") spriteset_1 = industry.add_spriteset(sprites=[(10, 60, 64, 100, -31, -66)], ) spriteset_2 = industry.add_spriteset(sprites=[(80, 60, 64, 100, -31, -66)], ) spriteset_3 = industry.add_spriteset(sprites=[(150, 60, 64, 100, -31, -66)], ) spriteset_4 = industry.add_spriteset(sprites=[(220, 60, 64, 51, -31, -20)], ) spriteset_5 = industry.add_spriteset(sprites=[(290, 60, 64, 51, -31, -20)], ) spriteset_6 = industry.add_spriteset(sprites=[(360, 60, 64, 31, -31, 0)], ) spriteset_7 = industry.add_spriteset(sprites=[(430, 60, 64, 31, -31, 0)], ) industry.add_spritelayout( id="component_factory_spritelayout_large_building_1",
intro_year=1832) industry.economy_variations['FIRS'].enabled = True industry.economy_variations['STEELTOWN'].enabled = True industry.economy_variations[ 'STEELTOWN'].name = 'string(STR_IND_STEEL_FINISHING_PLANT)' industry.economy_variations['STEELTOWN'].processed_cargos_and_output_ratios = [ ('STEL', 4), ('ZINC', 2), ('ACID', 2) ] industry.economy_variations['STEELTOWN'].prod_cargo_types = ['VBOD', 'PIPE'] industry.add_tile(id='metal_fabrication_plant_tile_1', animation_length=71, animation_looping=True, animation_speed=2, location_checks=TileLocationChecks( require_effectively_flat=True, disallow_industry_adjacent=True)) spriteset_ground = industry.add_spriteset(type='concrete', ) spriteset_ground_overlay = industry.add_spriteset(type='empty') spriteset_1 = industry.add_spriteset(sprites=[(10, 60, 64, 70, -31, -35)], ) spriteset_2 = industry.add_spriteset(sprites=[(80, 60, 64, 70, -31, -35)], ) spriteset_3 = industry.add_spriteset(sprites=[(150, 60, 64, 51, -31, -20)], ) spriteset_4 = industry.add_spriteset(sprites=[(220, 60, 64, 51, -31, -23)], ) spriteset_5 = industry.add_spriteset(sprites=[(290, 60, 64, 51, -31, -20)], ) spriteset_6 = industry.add_spriteset(sprites=[(360, 60, 64, 31, -31, 0)], ) spriteset_7 = industry.add_spriteset(sprites=[(430, 60, 64, 31, -31, 0)], ) sprite_smoke = industry.add_smoke_sprite( smoke_type='white_smoke_small',
prod_cargo_types=['ENSP', 'FMSP'], prob_in_game='2', prob_random='5', prod_multiplier='[0, 0]', map_colour='143', spec_flags='bitmask(IND_FLAG_ONLY_IN_TOWNS)', name='string(STR_IND_SMITHY_FORGE)', nearby_station_name='string(STR_STATION_FORGE)', fund_cost_multiplier='63', expiry_year=1948) industry.economy_variations['FIRS'].enabled = True industry.add_tile(id='smithy_forge_tile_1', animation_length=47, animation_looping=True, animation_speed=2, location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True)) sprite_ground = industry.add_sprite( sprite_number='GROUNDTILE_MUD_TRACKS', ) spriteset_ground_overlay = industry.add_spriteset( type='empty' ) spriteset_1 = industry.add_spriteset( sprites=[(10, 10, 64, 80, -31, -49)], ) spriteset_2 = industry.add_spriteset( sprites=[(80, 10, 64, 80, -31, -49)], )
prob_in_game="3", prob_map_gen="5", map_colour="141", name="string(STR_IND_ASSEMBLY_PLANT)", nearby_station_name="string(STR_STATION_AUTOMOTIVE)", fund_cost_multiplier="145", ) industry.economy_variations["STEELTOWN"].enabled = True industry.economy_variations[ "STEELTOWN"].prob_in_game = "1" # low chance of build during gameplay industry.add_tile( id="assembly_plant_tile_1", animation_length=71, animation_looping=True, animation_speed=2, location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True), ) spriteset_ground = industry.add_spriteset(type="concrete", ) spriteset_ground_overlay = industry.add_spriteset(type="empty") spriteset_1 = industry.add_spriteset(sprites=[(10, 10, 64, 80, -31, -49)], ) # spriteset_2 was deprecated spriteset_3 = industry.add_spriteset(sprites=[(150, 10, 64, 80, -31, -49)], ) spriteset_4 = industry.add_spriteset(sprites=[(220, 10, 64, 80, -31, -49)], ) spriteset_5 = industry.add_spriteset(sprites=[(290, 10, 64, 80, -31, -49)], ) spriteset_6 = industry.add_spriteset(sprites=[(360, 10, 64, 80, -31, -49)], ) spriteset_7 = industry.add_spriteset(sprites=[(430, 10, 64, 80, -31, -49)], ) spriteset_8 = industry.add_spriteset(sprites=[(500, 10, 64, 80, -31, -49)], ) spriteset_9 = industry.add_spriteset(sprites=[(570, 10, 64, 80, -31, -49)], )
processed_cargos_and_output_ratios=[('OIL_', 6)], prod_cargo_types=['RFPR', 'PETR'], prob_in_game='3', prob_random='5', prod_multiplier='[0, 0]', map_colour='191', spec_flags='bitmask(IND_FLAG_MILITARY_AIRPLANE_CAN_EXPLODE)', fund_cost_multiplier='200', name='TTD_STR_INDUSTRY_NAME_OIL_REFINERY', nearby_station_name='string(STR_STATION_REFINERY)', intro_year=1830) industry.economy_variations['FIRS'].enabled = True industry.add_tile(id='oil_refinery_tile_1', location_checks=TileLocationChecks( require_effectively_flat=True, disallow_industry_adjacent=True)) spriteset_ground = industry.add_spriteset(type='concrete', ) spriteset_ground_overlay = industry.add_spriteset(type='empty') spriteset_1 = industry.add_spriteset(sprites=[(10, 10, 64, 66, -31, -35)], ) spriteset_2 = industry.add_spriteset(sprites=[(80, 10, 64, 128, -31, -96)], ) spriteset_3 = industry.add_spriteset(sprites=[(150, 10, 64, 128, -31, -96)], ) spriteset_4 = industry.add_spriteset(sprites=[(220, 10, 64, 128, -31, -96)], ) spriteset_5 = industry.add_spriteset(sprites=[(290, 10, 64, 66, -31, -35)], ) industry.add_spritelayout(id='oil_refinery_spritelayout_1', ground_sprite=spriteset_ground, ground_overlay=spriteset_ground_overlay, building_sprites=[spriteset_1], fences=['nw', 'ne', 'se', 'sw'])
map_colour='169', spec_flags='bitmask(IND_FLAG_MILITARY_HELICOPTER_CAN_EXPLODE)', name='string(STR_IND_DAIRY)', nearby_station_name='string(STR_STATION_DAIRY_LANE)', fund_cost_multiplier='45') industry.economy_variations['FIRS'].enabled = True industry.economy_variations['FERNZ'].enabled = True industry.economy_variations['FERNZ'].processed_cargos_and_output_ratios = [('SALT', 3), ('MILK', 5)] industry.economy_variations['BASIC_TEMPERATE'].enabled = True industry.economy_variations['BASIC_TEMPERATE'].processed_cargos_and_output_ratios = [('MILK', 6)] # tile with animation for flag industry.add_tile(id='dairy_tile_1', animation_length=6, animation_looping=True, animation_speed=3, location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True)) # tile with animation for smoke industry.add_tile(id='dairy_tile_2', animation_length=7 * 6, # animation length should have a common factor for all tiles in industry animation_looping=True, animation_speed=3, custom_animation_control={'macro': 'random_first_frame', 'animation_triggers': 'bitmask(ANIM_TRIGGER_INDTILE_CONSTRUCTION_STATE)'}, location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True)) spriteset_ground = industry.add_spriteset( type='concrete', )
processed_cargos_and_output_ratios=[('RFPR', 6), ('FICR', 6), ('CHLO', 2)], combined_cargos_boost_prod=True, prod_cargo_types=['VPTS', 'MNSP'], prob_in_game='3', prob_random='5', prod_multiplier='[0, 0]', map_colour='209', name='string(STR_IND_PLASTICS_PLANT)', nearby_station_name='string(STR_STATION_MOULDINGS)', fund_cost_multiplier='125', intro_year='1900') industry.economy_variations['FIRS'].enabled = True industry.add_tile(id='plastics_plant_tile_1', location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True)) spriteset_ground = industry.add_spriteset( type='concrete' ) spriteset_ground_overlay = industry.add_spriteset( type='empty' ) spriteset_1 = industry.add_spriteset( sprites=[(10, 10, 64, 62, -31, -31)], ) spriteset_2 = industry.add_spriteset( sprites=[(80, 10, 64, 62, -31, -31)], ) spriteset_3 = industry.add_spriteset(
nearby_station_name="string(STR_STATION_FURNACE)", fund_cost_multiplier="160", pollution_and_squalor_factor=2, ) industry.economy_variations["STEELTOWN"].enabled = True industry.economy_variations[ "STEELTOWN"].prob_in_game = "1" # low chance of build during gameplay industry.add_tile( id="electric_arc_furnace_tile_1", animation_length=71, animation_looping=True, animation_speed=2, custom_animation_control={ "macro": "random_first_frame", "animation_triggers": "bitmask(ANIM_TRIGGER_INDTILE_CONSTRUCTION_STATE)", }, location_checks=TileLocationChecks(require_effectively_flat=True, disallow_industry_adjacent=True), ) spriteset_ground = industry.add_spriteset(type="hard_standing_dirt", ) spriteset_ground_overlay = industry.add_spriteset(type="empty", ) spriteset_1 = industry.add_spriteset(sprites=[(10, 10, 64, 76, -31, -45)], ) spriteset_2 = industry.add_spriteset(sprites=[(80, 10, 64, 76, -31, -45)], ) spriteset_3 = industry.add_spriteset(sprites=[(150, 10, 64, 63, -31, -32)], ) spriteset_scrap_1 = industry.add_spriteset(sprites=[(220, 10, 64, 63, -31, -32) ], ) spriteset_scrap_2 = industry.add_spriteset(sprites=[(290, 10, 64, 63, -31, -32)
name="string(STR_IND_SHEET_AND_PIPE_MILL)", nearby_station_name="string(STR_STATION_PIPE_MILL)", fund_cost_multiplier="120", ) industry.economy_variations["STEELTOWN"].enabled = True industry.economy_variations[ "STEELTOWN" ].prob_in_game = "0" # do not build during gameplay industry.add_tile( id="sheet_and_pipe_mill_tile_1", animation_length=71, animation_looping=True, animation_speed=2, location_checks=TileLocationChecks( require_effectively_flat=True, disallow_industry_adjacent=True ), ) spriteset_ground = industry.add_spriteset( type="dirty_concrete", ) spriteset_ground_overlay = industry.add_spriteset(type="empty") spriteset_1 = industry.add_spriteset( sprites=[(10, 10, 64, 64, -31, -34)], ) spriteset_2 = industry.add_spriteset( sprites=[(80, 10, 64, 64, -31, -33)],