Exemplo n.º 1
0
industry.add_spritelayout(
    id="rubber_plantation_house_spritelayout",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1],
)
industry.add_spritelayout(
    id="rubber_plantation_shed_spritelayout",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_2],
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
    base_id="rubber_plantation_slope_aware_ground_with_trees_1",
    config={
        "ground_sprite": 4145,
        "trees_default": [1908, 1908, 1908, 1908]
    },
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
    base_id="rubber_plantation_slope_aware_ground_with_trees_2",
    config={
        "ground_sprite": 4145,
        "trees_default": [1906, 1905, 1905, 1907]
    },
)

industry.add_industry_layout(
    id="rubber_plantation_layout_1",
    layout=[
Exemplo n.º 2
0
    id='vineyard_house_spritelayout',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1],
    fences=['nw', 'ne', 'se', 'sw']
)
industry.add_spritelayout(
    id='vineyard_shed_spritelayout',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_2],
    fences=['nw', 'ne', 'se', 'sw']
)
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='vineyard_slope_aware_ground_with_trees',
    config={'ground_sprite': 4164,
            'trees_default': [1857, 1857, 1857, 1857, 1857, 1857, 1857, 1857, 1857]}
)

industry.add_industry_layout(
    id='vineyard_layout_1',
    layout=[(0, 0, 'vineyard_tile_1', 'vineyard_slope_aware_ground_with_trees'),
            (0, 1, 'vineyard_tile_1', 'vineyard_slope_aware_ground_with_trees'),
            (0, 2, 'vineyard_tile_2', 'vineyard_shed_spritelayout'),
            (1, 0, 'vineyard_tile_1', 'vineyard_slope_aware_ground_with_trees'),
            (1, 1, 'vineyard_tile_1', 'vineyard_slope_aware_ground_with_trees'),
            (1, 2, 'vineyard_tile_1', 'vineyard_slope_aware_ground_with_trees'),
            (2, 1, 'vineyard_tile_1', 'vineyard_slope_aware_ground_with_trees'),
            (2, 2, 'vineyard_tile_2', 'vineyard_house_spritelayout'),
            ]
)
Exemplo n.º 3
0
    id="fruit_plantation_house_spritelayout",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1],
)
industry.add_spritelayout(
    id="fruit_plantation_shed_spritelayout",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_2],
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
    base_id="fruit_plantation_slope_aware_ground_with_trees_1",
    config={
        "ground_sprite": 4145,
        "trees_default": [1620, 1620, 1620, 1620],
        "trees_tropic": [1832, 1830, 1831, 1832],
    },
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
    base_id="fruit_plantation_slope_aware_ground_with_trees_2",
    config={
        "ground_sprite": 4145,
        "trees_default": [1621, 1622, 1623, 1620],
        "trees_tropic": [1832, 1830, 1831, 1832],
    },
)

industry.add_industry_layout(
Exemplo n.º 4
0
)
industry.add_spritelayout(
    id="fish_farm_spritelayout_4",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_station_bouy,
    building_sprites=[spriteset_tank_4],
)
industry.add_magic_spritelayout(
    type="harbour_coast_foundations",
    base_id="fish_farm_spritelayout_coast_warehouse",
    config={
        "ground_sprite":
        spriteset_ground_empty,  # should alqways be empty for this magic spritelayout
        "building_sprites": [spriteset_concrete, spriteset_warehouse],
        "foundation_sprites": {
            "ne_sw": spriteset_jetty_ne_sw,
            "se_nw": spriteset_jetty_se_nw,
            "slope_nw_se": spriteset_jetty_slope_nw_se,
            "slope_ne_sw": spriteset_jetty_slope_ne_sw,
            "slope_se_nw": spriteset_jetty_slope_se_nw,
            "slope_sw_ne": spriteset_jetty_slope_sw_ne,
        },
    },
)

industry.add_industry_layout(
    id="fish_farm_industry_layout_1",
    layout=[
        (0, 0, "fish_farm_tile_2", "fish_farm_spritelayout_coast_warehouse"),
        (0, 1, "255", "spritelayout_null"),
        (0, 2, "255", "spritelayout_null"),
Exemplo n.º 5
0
    id="coffee_estate_house_spritelayout",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1],
)
industry.add_spritelayout(
    id="coffee_estate_shed_spritelayout",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_2],
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
    base_id="coffee_estate_slope_aware_ground_with_trees_1",
    config={
        "ground_sprite": 3962,
        "trees_default":
        [1850, 1850, 1850, 1850, 1850, 1871, 1823, 1850, 1850],
    },
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
    base_id="coffee_estate_slope_aware_ground_with_trees_2",
    config={
        "ground_sprite": 3962,
        "trees_default":
        [1850, 1850, 1879, 1850, 1856, 1824, 1850, 1850, 1850],
    },
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
Exemplo n.º 6
0
industry.add_spritelayout(
    id='rubber_plantation_house_spritelayout',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1],
)
industry.add_spritelayout(
    id='rubber_plantation_shed_spritelayout',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_2],
)
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='rubber_plantation_slope_aware_ground_with_trees_1',
    config={
        'ground_sprite': 4145,
        'trees_default': [1908, 1908, 1908, 1908]
    })
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='rubber_plantation_slope_aware_ground_with_trees_2',
    config={
        'ground_sprite': 4145,
        'trees_default': [1906, 1905, 1905, 1907]
    })

industry.add_industry_layout(
    id='rubber_plantation_layout_1',
    layout=[
        (0, 0, 'rubber_plantation_tile_1',
Exemplo n.º 7
0
)

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, 59, -31, -28)], )

industry.add_spritelayout(
    id="orchard_piggery_house_spritelayout",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1],
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
    base_id="orchard_piggery_slope_aware_ground_with_trees_1",
    config={
        "ground_sprite": 4164,
        "trees_default": [1620, 1619, 1689, 1620]
    },
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
    base_id="orchard_piggery_slope_aware_ground_with_trees_2",
    config={
        "ground_sprite": 4164,
        "trees_default": [1647, 1668, 1621, 1619]
    },
)

industry.add_industry_layout(
    id="orchard_piggery_layout_1",
    layout=[
Exemplo n.º 8
0
industry.add_spritelayout(
    id='fruit_plantation_house_spritelayout',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1],
)
industry.add_spritelayout(
    id='fruit_plantation_shed_spritelayout',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_2],
)
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='fruit_plantation_slope_aware_ground_with_trees_1',
    config={
        'ground_sprite': 3943,
        'trees_default': [1608, 1608, 1608, 1608],
        'trees_tropic': [1832, 1830, 1831, 1832]
    })
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='fruit_plantation_slope_aware_ground_with_trees_2',
    config={
        'ground_sprite': 3943,
        'trees_default': [1607, 1609, 1610, 1608],
        'trees_tropic': [1832, 1830, 1831, 1832]
    })

industry.add_industry_layout(
    id='fruit_plantation_layout_1',
    layout=[
Exemplo n.º 9
0
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1, spriteset_2],
)
industry.add_spritelayout(
    id="forest_wood_stack_spritelayout",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_3],
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
    base_id="forest_slope_aware_ground_with_trees_uniform",
    config={
        "ground_sprite": 3943,
        "trees_default":
        [1712, 1712, 1712, 1712, 1712, 1712, 1712, 1712, 1712],
        "trees_snow": [1768, 1768, 1768, 1768, 1768, 1768, 1768, 1768, 1768],
        "trees_tropic": [1838, 1838, 1838, 1838, 1838, 1838, 1838, 1838, 1838],
    },
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
    base_id="forest_slope_aware_ground_with_trees_dying",
    config={
        "ground_sprite": 3943,
        "trees_default": [1715, 1595, 1710, 1714],
        "trees_snow": [1771, 1767, 1766, 1770],
        "trees_tropic": [1870, 1839, 1873, 1836],
    },
)
Exemplo n.º 10
0
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1],
    fences=["nw", "ne", "se", "sw"],
)
industry.add_spritelayout(
    id="vineyard_shed_spritelayout",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_2],
    fences=["nw", "ne", "se", "sw"],
)
industry.add_magic_spritelayout(
    type="slope_aware_trees",
    base_id="vineyard_slope_aware_ground_with_trees",
    config={
        "ground_sprite": 4164,
        "trees_default":
        [1857, 1857, 1857, 1857, 1857, 1857, 1857, 1857, 1857],
    },
)

industry.add_industry_layout(
    id="vineyard_layout_1",
    layout=[
        (0, 0, "vineyard_tile_1", "vineyard_slope_aware_ground_with_trees"),
        (0, 1, "vineyard_tile_1", "vineyard_slope_aware_ground_with_trees"),
        (0, 2, "vineyard_tile_2", "vineyard_shed_spritelayout"),
        (1, 0, "vineyard_tile_1", "vineyard_slope_aware_ground_with_trees"),
        (1, 1, "vineyard_tile_1", "vineyard_slope_aware_ground_with_trees"),
        (1, 2, "vineyard_tile_1", "vineyard_slope_aware_ground_with_trees"),
        (2, 1, "vineyard_tile_1", "vineyard_slope_aware_ground_with_trees"),
Exemplo n.º 11
0
    id='forest_equipment_spritelayout',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1, spriteset_2],
)
industry.add_spritelayout(
    id='forest_wood_stack_spritelayout',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_3],
)
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='forest_slope_aware_ground_with_trees_uniform',
    config={
        'ground_sprite': 3943,
        'trees_default':
        [1712, 1712, 1712, 1712, 1712, 1712, 1712, 1712, 1712],
        'trees_snow': [1768, 1768, 1768, 1768, 1768, 1768, 1768, 1768, 1768],
        'trees_tropic': [1838, 1838, 1838, 1838, 1838, 1838, 1838, 1838, 1838]
    })
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='forest_slope_aware_ground_with_trees_dying',
    config={
        'ground_sprite': 3943,
        'trees_default': [1715, 1595, 1710, 1714],
        'trees_snow': [1771, 1767, 1766, 1770],
        'trees_tropic': [1870, 1839, 1873, 1836]
    })

industry.add_industry_layout(
Exemplo n.º 12
0
industry.add_spritelayout(
    id='coffee_estate_house_spritelayout',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1],
)
industry.add_spritelayout(
    id='coffee_estate_shed_spritelayout',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_2],
)
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='coffee_estate_slope_aware_ground_with_trees_1',
    config={
        'ground_sprite': 3962,
        'trees_default':
        [1850, 1850, 1850, 1850, 1850, 1871, 1823, 1850, 1850]
    })
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='coffee_estate_slope_aware_ground_with_trees_2',
    config={
        'ground_sprite': 3962,
        'trees_default':
        [1850, 1850, 1879, 1850, 1856, 1824, 1850, 1850, 1850]
    })
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='coffee_estate_slope_aware_ground_with_trees_3',
    config={
Exemplo n.º 13
0
                      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, 59, -31, -28)], )

industry.add_spritelayout(
    id='orchard_piggery_house_spritelayout',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_1],
)
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='orchard_piggery_slope_aware_ground_with_trees_1',
    config={
        'ground_sprite': 4164,
        'trees_default': [1620, 1619, 1689, 1620]
    })
industry.add_magic_spritelayout(
    type='slope_aware_trees',
    base_id='orchard_piggery_slope_aware_ground_with_trees_2',
    config={
        'ground_sprite': 4164,
        'trees_default': [1647, 1668, 1621, 1619]
    })

industry.add_industry_layout(
    id='orchard_piggery_layout_1',
    layout=[
        (0, 0, 'orchard_piggery_tile_1',