Loading

Paste #pvoon5omk

  1. spriteset(wind_powerplant_set, "src/gfx/windfarm.png")  {
  2.     tmpl_wind_powerplant( 10,  10)
  3.     tmpl_wind_powerplant(110,  10)
  4.     tmpl_wind_powerplant(210,  10)
  5.     tmpl_wind_powerplant(310,  10)
  6.     tmpl_wind_powerplant(410,  10)
  7.     tmpl_wind_powerplant(510,  10)
  8.     tmpl_wind_powerplant(610,  10)
  9.     tmpl_wind_powerplant(710,  10)
  10.     tmpl_wind_powerplant( 10, 160)
  11.     tmpl_wind_powerplant(110, 160)
  12.     tmpl_wind_powerplant(210, 160)
  13.     tmpl_wind_powerplant(310, 160)
  14.     tmpl_wind_powerplant(410, 160)
  15.     tmpl_wind_powerplant(510, 160)
  16.     tmpl_wind_powerplant(610, 160)
  17.     [ 10+19, 10, 53, 113, -26, -96, "src/gfx/windfarm_ground.png"] // muddy base on ground
  18.     [110+19, 10, 53, 113, -26, -96, "src/gfx/windfarm_ground.png"] // swell on sea water
  19. }
  20.  
  21. spritelayout powerplant_station_layout {
  22.     ground { sprite: [GROUND_RAIL_X, GROUND_RAIL_Y]; }
  23.     building {
  24.         sprite: [wind_powerplant_set(14), wind_powerplant_set(15)];
  25.         recolour_mode: RECOLOUR_REMAP;
  26.         palette: PALETTE_USE_DEFAULT;
  27.         xextent: 16;
  28.         yextent: 16;
  29.         zextent: 96;
  30.     }
  31.     building {
  32.         sprite: [wind_powerplant_set(anim_stage*2), wind_powerplant_set(anim_stage*2 + 1)];
  33.         hide_sprite: 0;
  34.         recolour_mode: RECOLOUR_REMAP;
  35.         palette: PALETTE_USE_DEFAULT;
  36.         xextent: 16;
  37.         yextent: 16;
  38.         zextent: 24;
  39.     }
  40. }

Comments