- spritelayout aluminium_plant_spritelayout_1 {
- // industry-specific ground (snow aware)
- // normal
- childsprite {
- sprite: aluminium_plant_spriteset_ground_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: aluminium_plant_spriteset_ground_overlay_0(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (LOAD_TEMP(13));
- always_draw: 1;
- }
- // snow
- childsprite {
- sprite: aluminium_plant_spriteset_ground_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- always_draw: 1;
- }
- childsprite {
- sprite: aluminium_plant_spriteset_ground_overlay_0_snow(0);
- recolour_mode: RECOLOUR_REMAP;
- palette: PALETTE_USE_DEFAULT;
- hide_sprite: (!LOAD_TEMP(13));
- 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: aluminium_plant_spriteset_1_0(0);
- 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: aluminium_plant_spriteset_1_0(0);
- 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: aluminium_plant_spriteset_1_0(0);
- 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: aluminium_plant_spriteset_1_0(0);
- 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: (LOAD_TEMP(255));
- }
- building {
- sprite: aluminium_plant_spriteset_1_0_snow(0);
- 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: (LOAD_TEMP(245));
- }
- building {
- sprite: aluminium_plant_spriteset_1_1(0);
- 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: (LOAD_TEMP(254));
- }
- building {
- sprite: aluminium_plant_spriteset_1_1_snow(0);
- 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: (LOAD_TEMP(244));
- }
- building {
- sprite: aluminium_plant_spriteset_1_2(0);
- 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: (LOAD_TEMP(253));
- }
- building {
- sprite: aluminium_plant_spriteset_1_2_snow(0);
- 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: (LOAD_TEMP(243));
- }
- // 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;
- }
- }