Loading

cats.nml

  1. grf {
  2.   grfid: "CATS";
  3.   name: string(STR_GRF_NAME);
  4.   desc: string(STR_GRF_DESC);
  5.   url: string(STR_GRF_URL);
  6.   version: 1;
  7.   min_compatible_version: 1;
  8. }
  9.  
  10.  
  11.  
  12. spriteset(sprites, "graphics/CATS_GROUND_OUTPUT_8bpp.png") {
  13.   [0, 2145, 64, 31, -31, 0, NOCROP]
  14.   [0, 2273, 64, 31, -31, 0, NOCROP]
  15. }
  16.  
  17.  
  18.  
  19. spritelayout concrete_platform_layout {
  20.   ground { sprite: GROUNDSPRITE_TRACK; orientation_offset: -1; }
  21.   building {
  22.     sprite: sprites(0);
  23.     yextent: 4;
  24.   }
  25.   building {
  26.     sprite: sprites(0);
  27.     yoffset: 12;
  28.     yextent: 4;
  29.   }
  30. }
  31.  
  32.  
  33.  
  34. item(FEAT_STATIONS, concrete_platform) {
  35.   property {
  36.     station_class: "CATS";
  37.     disabled_platform_widths: bitmask(0, 2, 3, 4, 5, 6, 7);
  38.     disabled_platform_lengths: bitmask(0, 4, 5, 6, 7);
  39.     loaded_threshold: 256;
  40.     enabled_pylons: bitmask(0, 1, 2, 3, 4, 5, 6, 7);
  41.     //#cargo_random_triggers: [PASS, MAIL]
  42.     //#station_flags: bitmask(STATION_FLAG_DIVIDE_CARGO)
  43.     disabled_wires: bitmask(4, 6);
  44.     train_access: bitmask(1, 3);
  45.     animation_info: [ANIMATION_LOOPING, 4];
  46.     animation_speed: 1;
  47.     animation_triggers: bitmask(ANIM_TRIGGER_STATION_CARGO_TAKEN, ANIM_TRIGGER_STATION_TRAIN_LOADS);
  48.   }
  49.   graphics {
  50.     concrete_platform_layout;
  51.   }
  52. }

Comments