コード例 #1
0
industry.add_industry_layout(
    id="orchard_piggery_layout_1",
    layout=[
        (
            0,
            0,
            "orchard_piggery_tile_1",
            "orchard_piggery_slope_aware_ground_with_trees_1",
        ),
        (
            0,
            1,
            "orchard_piggery_tile_1",
            "orchard_piggery_slope_aware_ground_with_trees_2",
        ),
        (
            0,
            2,
            "orchard_piggery_tile_1",
            "orchard_piggery_slope_aware_ground_with_trees_1",
        ),
        (
            1,
            0,
            "orchard_piggery_tile_1",
            "orchard_piggery_slope_aware_ground_with_trees_2",
        ),
        (1, 1, "orchard_piggery_tile_2", "orchard_piggery_house_spritelayout"),
        (
            1,
            2,
            "orchard_piggery_tile_1",
            "orchard_piggery_slope_aware_ground_with_trees_1",
        ),
        (2, 1, "orchard_piggery_tile_2", "orchard_piggery_house_spritelayout"),
        (2, 2, "orchard_piggery_tile_2", "orchard_piggery_house_spritelayout"),
    ],
)
コード例 #2
0
        "trees_tropic": [1870, 1839, 1873, 1836],
    },
)

industry.add_industry_layout(
    id="forest_layout_1",
    layout=[
        (0, 0, "forest_tile_1",
         "forest_slope_aware_ground_with_trees_uniform"),
        (0, 1, "forest_tile_1",
         "forest_slope_aware_ground_with_trees_uniform"),
        (0, 2, "forest_tile_1",
         "forest_slope_aware_ground_with_trees_uniform"),
        (1, 0, "forest_tile_1",
         "forest_slope_aware_ground_with_trees_uniform"),
        (1, 1, "forest_tile_1",
         "forest_slope_aware_ground_with_trees_uniform"),
        (1, 2, "forest_tile_1", "forest_slope_aware_ground_with_trees_dying"),
        (2, 0, "forest_tile_1",
         "forest_slope_aware_ground_with_trees_uniform"),
        (2, 1, "forest_tile_1",
         "forest_slope_aware_ground_with_trees_uniform"),
        (2, 2, "forest_tile_1", "forest_slope_aware_ground_with_trees_dying"),
        (3, 0, "forest_tile_1", "forest_slope_aware_ground_with_trees_dying"),
        (3, 1, "forest_tile_2", "forest_wood_stack_spritelayout"),
        (3, 2, "forest_tile_2", "forest_equipment_spritelayout"),
    ],
)
industry.add_industry_layout(
    id="forest_layout_2",
    layout=[
        (0, 0, "forest_tile_1",
コード例 #3
0
)
industry.add_spritelayout(
    id='herding_coop_spritelayout_small_hut_logs',
    ground_sprite=spriteset_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_6],
    terrain_aware_ground=True
)

industry.add_industry_layout(
    id='herding_coop_industry_layout_1',
    layout=[(0, 0, 'herding_coop_tile_1', 'herding_coop_spritelayout_paddock_2'),
            (0, 1, 'herding_coop_tile_1', 'herding_coop_spritelayout_paddock_1'),
            (0, 2, 'herding_coop_tile_1', 'herding_coop_spritelayout_large_hut'),
            (1, 0, 'herding_coop_tile_1', 'herding_coop_spritelayout_brown_hut'),
            (1, 1, 'herding_coop_tile_1', 'herding_coop_spritelayout_two_brown_huts'),
            (1, 2, 'herding_coop_tile_1', 'herding_coop_spritelayout_small_hut_logs'),
            (2, 0, 'herding_coop_tile_1', 'herding_coop_spritelayout_brown_hut'),
            (2, 1, 'herding_coop_tile_1', 'herding_coop_spritelayout_two_brown_huts'),
            (2, 2, 'herding_coop_tile_1', 'herding_coop_spritelayout_paddock_1'),
            ]
)
industry.add_industry_layout(
    id='herding_coop_industry_layout_2',
    layout=[(0, 0, 'herding_coop_tile_1', 'herding_coop_spritelayout_two_brown_huts'),
            (0, 1, 'herding_coop_tile_1', 'herding_coop_spritelayout_paddock_1'),
            (0, 2, 'herding_coop_tile_1', 'herding_coop_spritelayout_paddock_2'),
            (1, 0, 'herding_coop_tile_1', 'herding_coop_spritelayout_brown_hut'),
            (1, 1, 'herding_coop_tile_1', 'herding_coop_spritelayout_two_brown_huts'),
            (1, 2, 'herding_coop_tile_1', 'herding_coop_spritelayout_brown_hut'),
            (2, 0, 'herding_coop_tile_1', 'herding_coop_spritelayout_paddock_1'),
コード例 #4
0
ファイル: arable_farm.py プロジェクト: Azusa257/XIS
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_4],
)
industry.add_spritelayout(
    id='arable_farm_spritelayout_5',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_5],
)

industry.add_industry_layout(
    id='arable_farm_industry_layout_1',
    layout=[(0, 1, 'arable_farm_tile_1', 'arable_farm_spritelayout_5'),
            (0, 2, 'arable_farm_tile_1', 'arable_farm_spritelayout_3'),
            (1, 0, 'arable_farm_tile_1', 'arable_farm_spritelayout_1'),
            (1, 1, 'arable_farm_tile_1', 'arable_farm_spritelayout_2'),
            (2, 1, 'arable_farm_tile_1', 'arable_farm_spritelayout_4'),
            ]
)
industry.add_industry_layout(
    id='arable_farm_industry_layout_2',
    layout=[(0, 0, 'arable_farm_tile_1', 'arable_farm_spritelayout_5'),
            (0, 1, 'arable_farm_tile_1', 'arable_farm_spritelayout_4'),
            (1, 0, 'arable_farm_tile_1', 'arable_farm_spritelayout_1'),
            (1, 1, 'arable_farm_tile_1', 'arable_farm_spritelayout_2'),
            (2, 0, 'arable_farm_tile_1', 'arable_farm_spritelayout_3'),
            ]
)
industry.add_industry_layout(
    id='arable_farm_industry_layout_3',
コード例 #5
0
ファイル: dairy_farm.py プロジェクト: telk5093/firs
    building_sprites=[spriteset_cows_bw],
)
industry.add_spritelayout(
    id="dairy_farm_spritelayout_cows_brown_dirt",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_cows_brown],
)

industry.add_industry_layout(
    id="dairy_farm_industry_layout_1",
    layout=[
        (0, 0, "dairy_farm_tile_1", "dairy_farm_spritelayout_cows_brown"),
        (0, 1, "dairy_farm_tile_1", "dairy_farm_spritelayout_cows_bw"),
        (0, 2, "dairy_farm_tile_1", "dairy_farm_spritelayout_house"),
        (2, 0, "dairy_farm_tile_1", "dairy_farm_spritelayout_silo"),
        (2, 1, "dairy_farm_tile_1", "dairy_farm_spritelayout_cows_bw_dirt"),
        (3, 0, "dairy_farm_tile_1", "dairy_farm_spritelayout_barn1"),
        (3, 1, "dairy_farm_tile_1", "dairy_farm_spritelayout_cows_brown_dirt"),
        (3, 2, "dairy_farm_tile_1", "dairy_farm_spritelayout_barn2"),
    ],
)
industry.add_industry_layout(
    id="dairy_farm_industry_layout_2",
    layout=[
        (0, 0, "dairy_farm_tile_1", "dairy_farm_spritelayout_cows_brown_dirt"),
        (0, 1, "dairy_farm_tile_1", "dairy_farm_spritelayout_cows_bw_dirt"),
        (0, 2, "dairy_farm_tile_1", "dairy_farm_spritelayout_barn1"),
        (1, 1, "dairy_farm_tile_1", "dairy_farm_spritelayout_barn2"),
        (1, 2, "dairy_farm_tile_1", "dairy_farm_spritelayout_silo"),
        (2, 0, "dairy_farm_tile_1", "dairy_farm_spritelayout_cows_bw"),
コード例 #6
0
ファイル: rubber_plantation.py プロジェクト: A-mak88/Makfirs
    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',
         'rubber_plantation_slope_aware_ground_with_trees_1'),
        (0, 1, 'rubber_plantation_tile_1',
         'rubber_plantation_slope_aware_ground_with_trees_1'),
        (0, 2, 'rubber_plantation_tile_1',
         'rubber_plantation_slope_aware_ground_with_trees_1'),
        (1, 0, 'rubber_plantation_tile_1',
         'rubber_plantation_slope_aware_ground_with_trees_1'),
        (1, 1, 'rubber_plantation_tile_1',
         'rubber_plantation_slope_aware_ground_with_trees_1'),
        (1, 2, 'rubber_plantation_tile_2',
         'rubber_plantation_shed_spritelayout'),
        (2, 1, 'rubber_plantation_tile_1',
         'rubber_plantation_slope_aware_ground_with_trees_2'),
        (2, 2, 'rubber_plantation_tile_2',
         'rubber_plantation_house_spritelayout'),
    ])
industry.add_industry_layout(
    id='rubber_plantation_layout_2',
    layout=[
        (0, 0, 'rubber_plantation_tile_1',
         'rubber_plantation_slope_aware_ground_with_trees_1'),
        (0, 1, 'rubber_plantation_tile_1',
コード例 #7
0
ファイル: rubber_plantation.py プロジェクト: arikover/firs
industry.add_industry_layout(
    id="rubber_plantation_layout_1",
    layout=[
        (
            0,
            0,
            "rubber_plantation_tile_1",
            "rubber_plantation_slope_aware_ground_with_trees_1",
        ),
        (
            0,
            1,
            "rubber_plantation_tile_1",
            "rubber_plantation_slope_aware_ground_with_trees_1",
        ),
        (
            0,
            2,
            "rubber_plantation_tile_1",
            "rubber_plantation_slope_aware_ground_with_trees_1",
        ),
        (
            1,
            0,
            "rubber_plantation_tile_1",
            "rubber_plantation_slope_aware_ground_with_trees_1",
        ),
        (
            1,
            1,
            "rubber_plantation_tile_1",
            "rubber_plantation_slope_aware_ground_with_trees_1",
        ),
        (1, 2, "rubber_plantation_tile_2",
         "rubber_plantation_shed_spritelayout"),
        (
            2,
            1,
            "rubber_plantation_tile_1",
            "rubber_plantation_slope_aware_ground_with_trees_2",
        ),
        (2, 2, "rubber_plantation_tile_2",
         "rubber_plantation_house_spritelayout"),
    ],
)
コード例 #8
0
ファイル: coffee_estate.py プロジェクト: A-mak88/Makfirs
    base_id='coffee_estate_slope_aware_ground_with_trees_3',
    config={
        'ground_sprite': 3962,
        'trees_default':
        [1852, 1850, 1938, 1850, 1850, 1850, 1850, 1881, 1850]
    })

industry.add_industry_layout(
    id='coffee_estate_layout_1',
    layout=[
        (0, 0, 'coffee_estate_tile_1',
         'coffee_estate_slope_aware_ground_with_trees_2'),
        (0, 1, 'coffee_estate_tile_1',
         'coffee_estate_slope_aware_ground_with_trees_3'),
        (0, 2, 'coffee_estate_tile_2', 'coffee_estate_shed_spritelayout'),
        (1, 0, 'coffee_estate_tile_1',
         'coffee_estate_slope_aware_ground_with_trees_1'),
        (1, 1, 'coffee_estate_tile_1',
         'coffee_estate_slope_aware_ground_with_trees_1'),
        (1, 2, 'coffee_estate_tile_2', 'coffee_estate_house_spritelayout'),
        (2, 1, 'coffee_estate_tile_1',
         'coffee_estate_slope_aware_ground_with_trees_2'),
        (2, 2, 'coffee_estate_tile_1',
         'coffee_estate_slope_aware_ground_with_trees_1'),
    ])
industry.add_industry_layout(
    id='coffee_estate_layout_2',
    layout=[
        (0, 0, 'coffee_estate_tile_1',
         'coffee_estate_slope_aware_ground_with_trees_1'),
        (0, 1, 'coffee_estate_tile_1',
         'coffee_estate_slope_aware_ground_with_trees_2'),
コード例 #9
0
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_cows_bw],
)
industry.add_spritelayout(
    id='dairy_farm_spritelayout_cows_brown_dirt',
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_cows_brown],
)

industry.add_industry_layout(
    id='dairy_farm_industry_layout_1',
    layout=[
        (0, 0, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_cows_brown'),
        (0, 1, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_cows_bw'),
        (0, 2, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_house'),
        (2, 0, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_silo'),
        (2, 1, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_cows_bw_dirt'),
        (3, 0, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_barn1'),
        (3, 1, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_cows_brown_dirt'),
        (3, 2, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_barn2'),
    ])
industry.add_industry_layout(
    id='dairy_farm_industry_layout_2',
    layout=[
        (0, 0, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_cows_brown_dirt'),
        (0, 1, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_cows_bw_dirt'),
        (0, 2, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_barn1'),
        (1, 1, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_barn2'),
        (1, 2, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_silo'),
        (2, 0, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_cows_bw'),
        (2, 1, 'dairy_farm_tile_1', 'dairy_farm_spritelayout_cows_brown'),
コード例 #10
0
ファイル: herding_coop.py プロジェクト: telk5093/firs
)
industry.add_spritelayout(
    id="herding_coop_spritelayout_small_hut_logs",
    ground_sprite=spriteset_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_6],
    terrain_aware_ground=True,
)

industry.add_industry_layout(
    id="herding_coop_industry_layout_1",
    layout=[
        (0, 0, "herding_coop_tile_1", "herding_coop_spritelayout_paddock_2"),
        (0, 1, "herding_coop_tile_1", "herding_coop_spritelayout_paddock_1"),
        (0, 2, "herding_coop_tile_1", "herding_coop_spritelayout_large_hut"),
        (1, 0, "herding_coop_tile_1", "herding_coop_spritelayout_brown_hut"),
        (1, 1, "herding_coop_tile_1", "herding_coop_spritelayout_two_brown_huts"),
        (1, 2, "herding_coop_tile_1", "herding_coop_spritelayout_small_hut_logs"),
        (2, 0, "herding_coop_tile_1", "herding_coop_spritelayout_brown_hut"),
        (2, 1, "herding_coop_tile_1", "herding_coop_spritelayout_two_brown_huts"),
        (2, 2, "herding_coop_tile_1", "herding_coop_spritelayout_paddock_1"),
    ],
)
industry.add_industry_layout(
    id="herding_coop_industry_layout_2",
    layout=[
        (0, 0, "herding_coop_tile_1", "herding_coop_spritelayout_two_brown_huts"),
        (0, 1, "herding_coop_tile_1", "herding_coop_spritelayout_paddock_1"),
        (0, 2, "herding_coop_tile_1", "herding_coop_spritelayout_paddock_2"),
        (1, 0, "herding_coop_tile_1", "herding_coop_spritelayout_brown_hut"),
        (1, 1, "herding_coop_tile_1", "herding_coop_spritelayout_two_brown_huts"),
        (1, 2, "herding_coop_tile_1", "herding_coop_spritelayout_brown_hut"),
コード例 #11
0
ファイル: ranch.py プロジェクト: A-mak88/Makfirs
                          terrain_aware_ground=True)
industry.add_spritelayout(id='ranch_spritelayout_4',
                          ground_sprite=spriteset_ground,
                          ground_overlay=spriteset_ground_overlay,
                          building_sprites=[spriteset_4],
                          terrain_aware_ground=True)
industry.add_spritelayout(id='ranch_spritelayout_5',
                          ground_sprite=spriteset_ground,
                          ground_overlay=spriteset_ground_overlay,
                          building_sprites=[spriteset_5],
                          terrain_aware_ground=True)

industry.add_industry_layout(
    id='ranch_industry_layout_1',
    layout=[
        (0, 0, 'ranch_tile_1', 'ranch_spritelayout_3'),
        (1, 0, 'ranch_tile_1', 'ranch_spritelayout_2'),
        (1, 2, 'ranch_tile_1', 'ranch_spritelayout_4'),
        (3, 0, 'ranch_tile_1', 'ranch_spritelayout_1'),
        (3, 1, 'ranch_tile_1', 'ranch_spritelayout_5'),
    ])
industry.add_industry_layout(
    id='ranch_industry_layout_2',
    layout=[
        (0, 0, 'ranch_tile_1', 'ranch_spritelayout_2'),
        (0, 1, 'ranch_tile_1', 'ranch_spritelayout_1'),
        (0, 2, 'ranch_tile_1', 'ranch_spritelayout_4'),
        (2, 0, 'ranch_tile_1', 'ranch_spritelayout_3'),
        (2, 2, 'ranch_tile_1', 'ranch_spritelayout_5'),
    ])
コード例 #12
0
ファイル: sheep_farm.py プロジェクト: Azusa257/XIS
                          terrain_aware_ground=True)
industry.add_spritelayout(id='sheep_farm_spritelayout_4',
                          ground_sprite=spriteset_ground,
                          ground_overlay=spriteset_ground_overlay,
                          building_sprites=[spriteset_4],
                          terrain_aware_ground=True)
industry.add_spritelayout(id='sheep_farm_spritelayout_5',
                          ground_sprite=spriteset_ground,
                          ground_overlay=spriteset_ground_overlay,
                          building_sprites=[spriteset_5],
                          terrain_aware_ground=True)

industry.add_industry_layout(
    id='sheep_farm_industry_layout_1',
    layout=[
        (0, 0, 'sheep_farm_tile_1', 'sheep_farm_spritelayout_3'),
        (1, 0, 'sheep_farm_tile_1', 'sheep_farm_spritelayout_2'),
        (1, 2, 'sheep_farm_tile_1', 'sheep_farm_spritelayout_4'),
        (3, 0, 'sheep_farm_tile_1', 'sheep_farm_spritelayout_1'),
        (3, 1, 'sheep_farm_tile_1', 'sheep_farm_spritelayout_5'),
    ])
industry.add_industry_layout(
    id='sheep_farm_industry_layout_2',
    layout=[
        (0, 0, 'sheep_farm_tile_1', 'sheep_farm_spritelayout_2'),
        (0, 1, 'sheep_farm_tile_1', 'sheep_farm_spritelayout_1'),
        (0, 2, 'sheep_farm_tile_1', 'sheep_farm_spritelayout_4'),
        (2, 0, 'sheep_farm_tile_1', 'sheep_farm_spritelayout_3'),
        (2, 2, 'sheep_farm_tile_1', 'sheep_farm_spritelayout_5'),
    ])
コード例 #13
0
    building_sprites=[spriteset_4],
    terrain_aware_ground=True,
)
industry.add_spritelayout(
    id="ranch_spritelayout_5",
    ground_sprite=spriteset_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_5],
    terrain_aware_ground=True,
)

industry.add_industry_layout(
    id="ranch_industry_layout_1",
    layout=[
        (0, 0, "ranch_tile_1", "ranch_spritelayout_3"),
        (1, 0, "ranch_tile_1", "ranch_spritelayout_2"),
        (1, 2, "ranch_tile_1", "ranch_spritelayout_4"),
        (3, 0, "ranch_tile_1", "ranch_spritelayout_1"),
        (3, 1, "ranch_tile_1", "ranch_spritelayout_5"),
    ],
)
industry.add_industry_layout(
    id="ranch_industry_layout_2",
    layout=[
        (0, 0, "ranch_tile_1", "ranch_spritelayout_2"),
        (0, 1, "ranch_tile_1", "ranch_spritelayout_1"),
        (0, 2, "ranch_tile_1", "ranch_spritelayout_4"),
        (2, 0, "ranch_tile_1", "ranch_spritelayout_3"),
        (2, 2, "ranch_tile_1", "ranch_spritelayout_5"),
    ],
)
コード例 #14
0
ファイル: orchard_piggery.py プロジェクト: kjuao9/FERNZ
    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',
         'orchard_piggery_slope_aware_ground_with_trees_1'),
        (0, 1, 'orchard_piggery_tile_1',
         'orchard_piggery_slope_aware_ground_with_trees_2'),
        (0, 2, 'orchard_piggery_tile_1',
         'orchard_piggery_slope_aware_ground_with_trees_1'),
        (1, 0, 'orchard_piggery_tile_1',
         'orchard_piggery_slope_aware_ground_with_trees_2'),
        (1, 1, 'orchard_piggery_tile_2', 'orchard_piggery_house_spritelayout'),
        (1, 2, 'orchard_piggery_tile_1',
         'orchard_piggery_slope_aware_ground_with_trees_1'),
        (2, 1, 'orchard_piggery_tile_2', 'orchard_piggery_house_spritelayout'),
        (2, 2, 'orchard_piggery_tile_2', 'orchard_piggery_house_spritelayout'),
    ])
industry.add_industry_layout(
    id='orchard_piggery_layout_2',
    layout=[
        (0, 0, 'orchard_piggery_tile_1',
         'orchard_piggery_slope_aware_ground_with_trees_1'),
        (0, 1, 'orchard_piggery_tile_1',
         'orchard_piggery_slope_aware_ground_with_trees_1'),
コード例 #15
0
ファイル: farm.py プロジェクト: telk5093/firs
)
industry.add_spritelayout(
    id="farm_spritelayout_8",
    ground_sprite=spriteset_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_8],
    terrain_aware_ground=True,
)

industry.add_industry_layout(
    id="farm_industry_layout_1",
    layout=[
        (0, 2, "farm_tile_1", "farm_spritelayout_8"),
        (0, 3, "farm_tile_1", "farm_spritelayout_3"),
        (1, 0, "farm_tile_1", "farm_spritelayout_2"),
        (2, 0, "farm_tile_1", "farm_spritelayout_1"),
        (2, 2, "farm_tile_1", "farm_spritelayout_5"),
        (2, 3, "farm_tile_1", "farm_spritelayout_7"),
        (3, 2, "farm_tile_1", "farm_spritelayout_6"),
        (3, 3, "farm_tile_1", "farm_spritelayout_4"),
    ],
)
industry.add_industry_layout(
    id="farm_industry_layout_2",
    layout=[
        (0, 0, "farm_tile_1", "farm_spritelayout_4"),
        (0, 2, "farm_tile_1", "farm_spritelayout_7"),
        (0, 3, "farm_tile_1", "farm_spritelayout_6"),
        (1, 0, "farm_tile_1", "farm_spritelayout_5"),
        (1, 3, "farm_tile_1", "farm_spritelayout_1"),
        (2, 0, "farm_tile_1", "farm_spritelayout_8"),
コード例 #16
0
                          ground_sprite=spriteset_ground,
                          ground_overlay=spriteset_ground_overlay,
                          building_sprites=[spriteset_7],
                          terrain_aware_ground=True)
industry.add_spritelayout(id='mixed_farm_spritelayout_8',
                          ground_sprite=spriteset_ground,
                          ground_overlay=spriteset_ground_overlay,
                          building_sprites=[spriteset_8],
                          terrain_aware_ground=True)

industry.add_industry_layout(
    id='mixed_farm_industry_layout_1',
    layout=[
        (0, 2, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_8'),
        (0, 3, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_3'),
        (1, 0, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_2'),
        (2, 0, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_1'),
        (2, 2, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_5'),
        (2, 3, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_7'),
        (3, 2, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_6'),
        (3, 3, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_4'),
    ])
industry.add_industry_layout(
    id='mixed_farm_industry_layout_2',
    layout=[
        (0, 0, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_4'),
        (0, 2, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_7'),
        (0, 3, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_6'),
        (1, 0, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_5'),
        (1, 3, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_1'),
        (2, 0, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_8'),
        (2, 1, 'mixed_farm_tile_1', 'mixed_farm_spritelayout_3'),
コード例 #17
0
ファイル: coffee_estate.py プロジェクト: telk5093/firs
        "ground_sprite": 3962,
        "trees_default":
        [1852, 1850, 1938, 1850, 1850, 1850, 1850, 1881, 1850],
    },
)

industry.add_industry_layout(
    id="coffee_estate_layout_1",
    layout=[
        (0, 0, "coffee_estate_tile_1",
         "coffee_estate_slope_aware_ground_with_trees_2"),
        (0, 1, "coffee_estate_tile_1",
         "coffee_estate_slope_aware_ground_with_trees_3"),
        (0, 2, "coffee_estate_tile_2", "coffee_estate_shed_spritelayout"),
        (1, 0, "coffee_estate_tile_1",
         "coffee_estate_slope_aware_ground_with_trees_1"),
        (1, 1, "coffee_estate_tile_1",
         "coffee_estate_slope_aware_ground_with_trees_1"),
        (1, 2, "coffee_estate_tile_2", "coffee_estate_house_spritelayout"),
        (2, 1, "coffee_estate_tile_1",
         "coffee_estate_slope_aware_ground_with_trees_2"),
        (2, 2, "coffee_estate_tile_1",
         "coffee_estate_slope_aware_ground_with_trees_1"),
    ],
)
industry.add_industry_layout(
    id="coffee_estate_layout_2",
    layout=[
        (0, 0, "coffee_estate_tile_1",
         "coffee_estate_slope_aware_ground_with_trees_1"),
        (0, 1, "coffee_estate_tile_1",
コード例 #18
0
ファイル: forest.py プロジェクト: A-mak88/Makfirs
        'trees_snow': [1771, 1767, 1766, 1770],
        'trees_tropic': [1870, 1839, 1873, 1836]
    })

industry.add_industry_layout(
    id='forest_layout_1',
    layout=[
        (0, 0, 'forest_tile_1',
         'forest_slope_aware_ground_with_trees_uniform'),
        (0, 1, 'forest_tile_1',
         'forest_slope_aware_ground_with_trees_uniform'),
        (0, 2, 'forest_tile_1',
         'forest_slope_aware_ground_with_trees_uniform'),
        (1, 0, 'forest_tile_1',
         'forest_slope_aware_ground_with_trees_uniform'),
        (1, 1, 'forest_tile_1',
         'forest_slope_aware_ground_with_trees_uniform'),
        (1, 2, 'forest_tile_1', 'forest_slope_aware_ground_with_trees_dying'),
        (2, 0, 'forest_tile_1',
         'forest_slope_aware_ground_with_trees_uniform'),
        (2, 1, 'forest_tile_1',
         'forest_slope_aware_ground_with_trees_uniform'),
        (2, 2, 'forest_tile_1', 'forest_slope_aware_ground_with_trees_dying'),
        (3, 0, 'forest_tile_1', 'forest_slope_aware_ground_with_trees_dying'),
        (3, 1, 'forest_tile_2', 'forest_wood_stack_spritelayout'),
        (3, 2, 'forest_tile_2', 'forest_equipment_spritelayout')
    ])
industry.add_industry_layout(
    id='forest_layout_2',
    layout=[
        (0, 0, 'forest_tile_1',
コード例 #19
0
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"),
        (0, 3, "255", "spritelayout_null"),
        (0, 4, "255", "spritelayout_null"),
        (0, 5, "255", "spritelayout_null"),
        (0, 6, "255", "spritelayout_null"),
        (1, 0, "255", "spritelayout_null"),
        (1, 1, "255", "spritelayout_null"),
        (1, 2, "255", "spritelayout_null"),
        (1, 3, "255", "spritelayout_null"),
        (1, 4, "255", "spritelayout_null"),
        (1, 5, "255", "spritelayout_null"),
        (1, 6, "255", "spritelayout_null"),
        (2, 0, "255", "spritelayout_null"),
        (2, 1, "255", "spritelayout_null"),
        (2, 2, "24", "spritelayout_null"),
        (2, 3, "24", "spritelayout_null"),
        (2, 4, "255", "spritelayout_null"),
        (2, 5, "255", "spritelayout_null"),
        (2, 6, "255", "spritelayout_null"),
        (3, 0, "255", "spritelayout_null"),
        (3, 1, "255", "spritelayout_null"),
        (3, 2, "fish_farm_tile_1", "fish_farm_spritelayout_1"),
        (3, 3, "fish_farm_tile_1", "fish_farm_spritelayout_4"),
        (3, 4, "fish_farm_tile_1", "fish_farm_spritelayout_2"),
        (3, 5, "255", "spritelayout_null"),
        (3, 6, "255", "spritelayout_null"),
        (4, 0, "255", "spritelayout_null"),
        (4, 1, "255", "spritelayout_null"),
        (4, 2, "255", "spritelayout_null"),
        (4, 3, "fish_farm_tile_1", "fish_farm_spritelayout_3"),
        (4, 4, "255", "spritelayout_null"),
        (4, 5, "255", "spritelayout_null"),
        (4, 6, "255", "spritelayout_null"),
        (5, 0, "255", "spritelayout_null"),
        (5, 1, "255", "spritelayout_null"),
        (5, 2, "255", "spritelayout_null"),
        (5, 3, "255", "spritelayout_null"),
        (5, 4, "255", "spritelayout_null"),
        (5, 5, "255", "spritelayout_null"),
        (5, 6, "255", "spritelayout_null"),
        (6, 0, "255", "spritelayout_null"),
        (6, 1, "255", "spritelayout_null"),
        (6, 2, "255", "spritelayout_null"),
        (6, 3, "255", "spritelayout_null"),
        (6, 4, "255", "spritelayout_null"),
        (6, 5, "255", "spritelayout_null"),
        (6, 6, "255", "spritelayout_null"),
    ],
)
コード例 #20
0
ファイル: vineyard.py プロジェクト: arikover/firs
    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"),
    ],
)
industry.add_industry_layout(
    id="vineyard_layout_2",
    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_1", "vineyard_slope_aware_ground_with_trees"),
        (0, 3, "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"),
コード例 #21
0
ファイル: sheep_farm.py プロジェクト: arikover/firs
    building_sprites=[spriteset_4],
    terrain_aware_ground=True,
)
industry.add_spritelayout(
    id="sheep_farm_spritelayout_5",
    ground_sprite=spriteset_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_5],
    terrain_aware_ground=True,
)

industry.add_industry_layout(
    id="sheep_farm_industry_layout_1",
    layout=[
        (0, 0, "sheep_farm_tile_1", "sheep_farm_spritelayout_3"),
        (1, 0, "sheep_farm_tile_1", "sheep_farm_spritelayout_2"),
        (1, 2, "sheep_farm_tile_1", "sheep_farm_spritelayout_4"),
        (3, 0, "sheep_farm_tile_1", "sheep_farm_spritelayout_1"),
        (3, 1, "sheep_farm_tile_1", "sheep_farm_spritelayout_5"),
    ],
)
industry.add_industry_layout(
    id="sheep_farm_industry_layout_2",
    layout=[
        (0, 0, "sheep_farm_tile_1", "sheep_farm_spritelayout_2"),
        (0, 1, "sheep_farm_tile_1", "sheep_farm_spritelayout_1"),
        (0, 2, "sheep_farm_tile_1", "sheep_farm_spritelayout_4"),
        (2, 0, "sheep_farm_tile_1", "sheep_farm_spritelayout_3"),
        (2, 2, "sheep_farm_tile_1", "sheep_farm_spritelayout_5"),
    ],
)
コード例 #22
0
ファイル: arable_farm.py プロジェクト: arikover/firs
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_4],
)
industry.add_spritelayout(
    id="arable_farm_spritelayout_5",
    ground_sprite=sprite_ground,
    ground_overlay=spriteset_ground_overlay,
    building_sprites=[spriteset_5],
)

industry.add_industry_layout(
    id="arable_farm_industry_layout_1",
    layout=[
        (0, 1, "arable_farm_tile_1", "arable_farm_spritelayout_5"),
        (0, 2, "arable_farm_tile_1", "arable_farm_spritelayout_3"),
        (1, 0, "arable_farm_tile_1", "arable_farm_spritelayout_1"),
        (1, 1, "arable_farm_tile_1", "arable_farm_spritelayout_2"),
        (2, 1, "arable_farm_tile_1", "arable_farm_spritelayout_4"),
    ],
)
industry.add_industry_layout(
    id="arable_farm_industry_layout_2",
    layout=[
        (0, 0, "arable_farm_tile_1", "arable_farm_spritelayout_5"),
        (0, 1, "arable_farm_tile_1", "arable_farm_spritelayout_4"),
        (1, 0, "arable_farm_tile_1", "arable_farm_spritelayout_1"),
        (1, 1, "arable_farm_tile_1", "arable_farm_spritelayout_2"),
        (2, 0, "arable_farm_tile_1", "arable_farm_spritelayout_3"),
    ],
)
industry.add_industry_layout(
コード例 #23
0
    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'),
            ]
)
industry.add_industry_layout(
    id='vineyard_layout_2',
    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_1', 'vineyard_slope_aware_ground_with_trees'),
            (0, 3, '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'),
            (1, 3, 'vineyard_tile_2', 'vineyard_house_spritelayout'),
            (1, 4, 'vineyard_tile_2', 'vineyard_shed_spritelayout'),
コード例 #24
0
ファイル: peatlands.py プロジェクト: Azusa257/XIS
    id='peatlands_spritelayout_peat_pile',
    ground_sprite=sprite_ground_tracks,
    ground_overlay=sprite_ground_tracks,
    building_sprites=[spriteset_7],
)

industry.add_industry_layout(
    id='peatlands_layout_1',
    layout=[
        (0, 0, 'peatlands_tile_2', 'peatlands_spritelayout_nissen_hut'),
        (0, 1, 'peatlands_tile_2', 'peatlands_spritelayout_peat_pile'),
        (0, 2, 'peatlands_tile_2', 'peatlands_spritelayout_crane'),
        (1, 0, 'peatlands_tile_2', 'peatlands_spritelayout_bare_ground'),
        (1, 1, 'peatlands_tile_1', 'peatlands_spritelayout_bare_ground'),
        (1, 2, 'peatlands_tile_2', 'peatlands_spritelayout_bare_ground'),
        (2, 0, 'peatlands_tile_2', 'peatlands_spritelayout_tractor'),
        (2, 1, 'peatlands_tile_1', 'peatlands_spritelayout_bare_ground'),
        (2, 2, 'peatlands_tile_2', 'peatlands_spritelayout_harvester'),
        (3, 0, 'peatlands_tile_2', 'peatlands_spritelayout_bare_ground'),
        (3, 1, 'peatlands_tile_1', 'peatlands_spritelayout_harvester'),
        (3, 2, 'peatlands_tile_2', 'peatlands_spritelayout_bare_ground'),
        (4, 0, 'peatlands_tile_2', 'peatlands_spritelayout_bare_ground'),
        (4, 1, 'peatlands_tile_2', 'peatlands_spritelayout_bare_ground'),
        (4, 2, 'peatlands_tile_2', 'peatlands_spritelayout_bare_ground'),
    ])
industry.add_industry_layout(
    id='peatlands_layout_2',
    layout=[
        (0, 0, 'peatlands_tile_2', 'peatlands_spritelayout_bare_ground'),
        (0, 1, 'peatlands_tile_2', 'peatlands_spritelayout_harvester'),
        (0, 2, 'peatlands_tile_2', 'peatlands_spritelayout_bare_ground'),