Exemplo n.º 1
0
    custom_sprite_selector="(animation_frame % 3)",
)
spriteset_crusher_front_part = industry.add_spriteset(sprites=[
    (10, 10, 64, 122, -31, -90)
], )
spriteset_crusher_rear_part = industry.add_spriteset(sprites=[(80, 10, 64, 122,
                                                               -31, -74)], )
spriteset_misc_building = industry.add_spriteset(sprites=[(150, 10, 64, 122,
                                                           -31, -90)], )
spriteset_vents_shed = industry.add_spriteset(sprites=[(220, 10, 64, 122, -31,
                                                        -90)], )
spriteset_winding_house = industry.add_spriteset(sprites=[(290, 10, 64, 122,
                                                           -31, -90)], )
sprite_smoke_1 = industry.add_smoke_sprite(
    smoke_type="white_smoke_small",
    xoffset=-5,
    yoffset=3,
    zoffset=16,
)

industry.add_spritelayout(
    id="diamond_mine_spritelayout_tile_empty",
    ground_sprite=sprite_ground,
    ground_overlay=sprite_ground_overlay,
    building_sprites=[],
    fences=["nw", "ne", "se", "sw"],
)
industry.add_spritelayout(
    id="diamond_mine_spritelayout_headgear_animated",
    ground_sprite=sprite_ground,
    ground_overlay=sprite_ground_overlay,
    building_sprites=[spriteset_headgear_animated],
Exemplo n.º 2
0
], )
spriteset_crusher_rear_part = industry.add_spriteset(sprites=[(80, 10, 64, 122,
                                                               -31, -74)], )
spriteset_hut_vents = industry.add_spriteset(sprites=[(150, 10, 64, 122, -31,
                                                       -90)], )
spriteset_ore_1 = industry.add_spriteset(sprites=[(220, 10, 64, 122, -31, -90)
                                                  ], )
spriteset_ore_2 = industry.add_spriteset(sprites=[(290, 10, 64, 122, -31, -90)
                                                  ], )
spriteset_winding_house = industry.add_spriteset(sprites=[(360, 10, 64, 122,
                                                           -31, -90)], )
spriteset_exit_shed_rear = industry.add_spriteset(sprites=[(430, 10, 64, 122,
                                                            -31, -90)], )
sprite_smoke_1 = industry.add_smoke_sprite(
    smoke_type='dark_smoke_small',
    xoffset=-1,
    yoffset=2,
    zoffset=38,
)
sprite_smoke_2 = industry.add_smoke_sprite(
    smoke_type='dark_smoke_small',
    xoffset=-1,
    yoffset=6,
    zoffset=38,
)

industry.add_spritelayout(
    id='manganese_mine_spritelayout_tile_empty',
    ground_sprite=sprite_ground,
    ground_overlay=sprite_ground_overlay,
    building_sprites=[],
)
Exemplo n.º 3
0
spriteset_ore_1 = industry.add_spriteset(sprites=[(220, 10, 64, 122, -31, -90)
                                                  ], )
spriteset_ore_2 = industry.add_spriteset(sprites=[(290, 10, 64, 122, -31, -90)
                                                  ], )
spriteset_winding_house = industry.add_spriteset(sprites=[(360, 10, 64, 122,
                                                           -31, -90)], )
spriteset_exit_trestle = industry.add_spriteset(sprites=[(430, 10, 64, 122,
                                                          -31, -88)], )
spriteset_exit_silo_conveyor = industry.add_spriteset(sprites=[
    (500, 10, 64, 122, -31, -90)
], )
spriteset_truck = industry.add_spriteset(sprites=[(570, 10, 64, 122, -31, -90)
                                                  ], )
sprite_smoke_1 = industry.add_smoke_sprite(
    smoke_type="white_smoke_big",
    xoffset=3,
    yoffset=0,
    zoffset=73,
)
sprite_smoke_2 = industry.add_smoke_sprite(
    smoke_type="white_smoke_big",
    xoffset=12,
    yoffset=20,
    zoffset=45,
    animation_frame_offset=1,
)
sprite_smoke_3 = industry.add_smoke_sprite(
    smoke_type="white_smoke_big",
    xoffset=9,
    yoffset=0,
    zoffset=67,
)
Exemplo n.º 4
0
sprite_ground_overlay = industry.add_sprite(
    sprite_number="GROUNDTILE_MUD_TRACKS")
sprite_1 = industry.add_sprite(sprite_number=2039, )
# there is no sprite 2 for this industry, spritelayout_2 doesn't need a building sprite
sprite_3_anim = industry.add_sprite(
    sprite_number="2028 + ((animation_frame < 33) ? (animation_frame %3) : 0)",
    xoffset=2,
    yoffset=3,
    xextent=13,
    yextent=12,
)
sprite_4 = industry.add_sprite(sprite_number=2036, )
sprite_5 = industry.add_sprite(sprite_number=2033, )
sprite_smoke = industry.add_smoke_sprite(
    smoke_type="dark_smoke_small",
    xoffset=0,
    yoffset=2,
    zoffset=38,
)

industry.add_spritelayout(
    id="copper_mine_spritelayout_1",
    ground_sprite=sprite_ground,
    ground_overlay=sprite_ground_overlay,
    building_sprites=[sprite_1],
    fences=["nw", "ne", "se", "sw"],
)
industry.add_spritelayout(
    id="copper_mine_spritelayout_2",
    ground_sprite=sprite_ground,
    ground_overlay=sprite_ground_overlay,
    building_sprites=[],
Exemplo n.º 5
0
)

spriteset_ground_overlay = industry.add_spriteset(type='empty')

spriteset_1 = industry.add_spriteset(sprites=[(10, 10, 64, 110, -31, -70)], )
spriteset_2 = industry.add_spriteset(sprites=[(80, 10, 64, 64, -31, -32)], )
spriteset_3 = industry.add_spriteset(sprites=[(150, 10, 64, 64, -31, -31)], )
spriteset_4 = industry.add_spriteset(sprites=[(220, 10, 64, 64, -31, -31)], )
spriteset_5 = industry.add_spriteset(sprites=[(290, 10, 64, 64, -31, -31)], )
spriteset_6 = industry.add_spriteset(sprites=[(360, 10, 64, 64, -31, -31)], )
spriteset_7 = industry.add_spriteset(sprites=[(430, 10, 64, 64, -31, -31)], )
spriteset_8 = industry.add_spriteset(sprites=[(500, 10, 64, 64, -31, -31)], )
spriteset_9 = industry.add_spriteset(sprites=[(570, 10, 64, 64, -31, -31)], )
sprite_smoke_1 = industry.add_smoke_sprite(
    smoke_type='white_smoke_big',
    xoffset=8,
    yoffset=2,
    zoffset=70,
)

industry.add_spritelayout(
    id='nitrate_mine_spritelayout_chimney',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1],
    smoke_sprites=[sprite_smoke_1],
)
industry.add_spritelayout(
    id='nitrate_mine_spritelayout_large_shed',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_2],
Exemplo n.º 6
0
)
spriteset_joined_ore_rear = industry.add_spriteset(
    sprites=[(290, 10, 64, 122, -31, -90)],
)
spriteset_winding_house = industry.add_spriteset(
    sprites=[(360, 10, 64, 122, -31, -90)],
)
spriteset_exit_shed_rear = industry.add_spriteset(
    sprites=[(430, 10, 64, 122, -31, -90)],
)
spriteset_boiler_house = industry.add_spriteset(
    sprites=[(500, 10, 64, 122, -31, -90)],
)
sprite_smoke_1 = industry.add_smoke_sprite(
    smoke_type='white_smoke_big',
    xoffset=5,
    yoffset=6,
    zoffset=71,
)
sprite_smoke_2 = industry.add_smoke_sprite(
    smoke_type='white_smoke_big',
    xoffset=5,
    yoffset=11,
    zoffset=71,
    animation_frame_offset=1
)

industry.add_spritelayout(
    id='iron_ore_mine_spritelayout_tile_empty',
    ground_sprite=sprite_ground,
    ground_overlay=sprite_ground_overlay,
    building_sprites=[],