tilelayout small_airport_layout_seaplane_north { rotation: DIRECTION_NORTH; 0, 0: seaplane_dock_negative_tile; 1, 0: water_tile; 2, 0: seaplane_dock_negative_tile; 3, 0: small_airport_hangar_seaplane_r1_tile; 0, 1: water_tile; 1, 1: water_tile; 2, 1: water_tile; 3, 1: water_tile; 0, 2: water_tile; 1, 2: water_tile; 2, 2: water_tile; 3, 2: water_tile; } tilelayout small_airport_layout_seaplane_east { rotation: DIRECTION_EAST; 0, 3: seaplane_dock_positive_tile; 0, 2: water_tile; 0, 1: seaplane_dock_positive_tile; 0, 0: small_airport_hangar_seaplane_r2_tile; 1, 3: water_tile; 1, 2: water_tile; 1, 1: water_tile; 1, 0: water_tile; 2, 3: water_tile; 2, 2: water_tile; 2, 1: water_tile; 2, 0: water_tile; } tilelayout small_airport_layout_seaplane_south { rotation: DIRECTION_SOUTH; 0, 0: water_tile; 1, 0: water_tile; 2, 0: water_tile; 3, 0: water_tile; 0, 1: water_tile; 1, 1: water_tile; 2, 1: water_tile; 3, 1: water_tile; 0, 2: small_airport_hangar_seaplane_r3_tile; 1, 2: water_tile; 2, 2: seaplane_dock_negative_tile; 3, 2: seaplane_dock_negative_tile; } tilelayout small_airport_layout_seaplane_west { rotation: DIRECTION_WEST; 2, 0: seaplane_dock_positive_tile; 2, 1: water_tile; 2, 2: seaplane_dock_positive_tile; 2, 3: small_airport_hangar_seaplane_r4_tile; 1, 0: water_tile; 1, 1: water_tile; 1, 2: water_tile; 1, 3: water_tile; 0, 0: water_tile; 0, 1: water_tile; 0, 2: water_tile; 0, 3: water_tile; } spriteset(spr_preview_small_seaplane_r1, "sprites/pcx/preview_small_seaplane.png") { tmpl_preview_small( 20, 20 ) } spriteset(spr_preview_small_seaplane_r2, "sprites/pcx/preview_small_seaplane.png") { tmpl_preview_small( 20, 166 ) } spriteset(spr_preview_small_seaplane_r3, "sprites/pcx/preview_small_seaplane.png") { tmpl_preview_small( 20, 312 ) } spriteset(spr_preview_small_seaplane_r4, "sprites/pcx/preview_small_seaplane.png") { tmpl_preview_small( 20, 458 ) } switch (FEAT_AIRPORTS, SELF, small_seaplane_preview_switch, layout) { 1: spr_preview_small_seaplane_r2; 2: spr_preview_small_seaplane_r3; 3: spr_preview_small_seaplane_r4; spr_preview_small_seaplane_r1; } item(FEAT_AIRPORTS, small_seaplane_airport) { property { override: 0; name: string(STR_SMALL_SEAPLANE_PORT); years_available: [1912, 0xFFFF]; maintenance_cost: 1; layouts: [ small_airport_layout_seaplane_north, small_airport_layout_seaplane_east, small_airport_layout_seaplane_south, small_airport_layout_seaplane_west, ]; } if (disable_noise_level) { property { noise_level: 0; } } if (disable_date_restrictions) { property { years_available: [0, 0xFFFF]; } } graphics { layout_name: generic_name_switch; default: small_seaplane_preview_switch; } }