// buildings (snow aware) building { sprite: machine_shop_spriteset_1_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_1_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_1_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_1_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_1_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_1_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_1_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_1_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_1_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_1_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_1_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_1_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_2 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_2_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_2_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_2_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_2_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_2_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_2_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_2_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_2_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_2_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_2_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_2_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_2_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_2_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_2_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_2_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_3 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_3_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_3_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_3_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_3_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_3_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_3_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_3_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_3_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_3_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_3_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_3_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_3_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_3_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_3_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_3_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_4 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_4_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_4_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_4_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_4_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_4_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_4_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_4_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_4_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_4_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_4_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_4_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_4_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_4_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_4_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_4_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_5 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_5_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_5_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_5_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_5_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_5_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_5_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_5_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_5_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_5_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_5_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_5_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_5_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_5_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_5_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_5_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_6 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_6_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_6_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_6_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_6_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_6_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_6_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_6_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_6_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_6_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_6_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_6_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_6_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_6_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_6_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_6_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_7 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_7_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_7_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_7_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_7_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_7_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_7_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_7_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_7_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_7_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_7_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_7_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_7_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_7_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_7_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_7_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_8 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_8_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_8_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_8_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_8_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_8_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_8_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_8_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_8_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_8_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_8_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_8_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_8_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_8_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_8_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_8_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites building { sprite: 2040 + (animation_frame / 4); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 13; yoffset: 0; zoffset: 73+ animation_frame; xextent: 11; yextent: 16; zextent: 7; hide_sprite: animation_frame > 19; } // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_9 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_9_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_9_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_9_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_9_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_9_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_9_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_9_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_9_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_9_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_9_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_9_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_9_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_9_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_9_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_9_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_10 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_10_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_10_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_10_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_10_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_10_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_10_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_10_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_10_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_10_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_10_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_10_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_10_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_10_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_10_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_10_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_11 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_11_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_11_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_11_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_11_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_11_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_11_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_11_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_11_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_11_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_11_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_11_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_11_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_11_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_11_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_11_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_12 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_12_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_12_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_12_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_12_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_12_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_12_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_12_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_12_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_12_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_12_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_12_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_12_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_12_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_12_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_12_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_13 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_13_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_13_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_13_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_13_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_13_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_13_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_13_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_13_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_13_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_13_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_13_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_13_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_13_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_13_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_13_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; }