04-teahouse.nml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // ####################
  2. // # -- SPRITESETS -- #
  3. // ####################
  4. spriteset (spriteset_teahouse, "gfx/teahouse.png") {
  5. [ 0, 0, 64, 39, -31, -8, NOCROP]
  6. }
  7. // #######################
  8. // # -- SPRITELAYOUTS -- #
  9. // #######################
  10. // # Teahouse Building #
  11. // #####################
  12. spritelayout spritelayout_teahouse {
  13. ground { sprite: GROUNDSPRITE_CONCRETE; }
  14. building { sprite: spriteset_teahouse; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
  15. }
  16. // #######################
  17. // # -- INDUSTRYTILES -- #
  18. // #######################
  19. item (FEAT_INDUSTRYTILES, item_industry_teahouse_tile) {
  20. property { substitute: 27; special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); }
  21. graphics { default: spritelayout_teahouse; }
  22. }
  23. // #####################
  24. // # -- TILELAYOUTS -- #
  25. // #####################
  26. // # Teahouse #
  27. // ############
  28. tilelayout item_industry_teahouse_tilelayout {
  29. 0, 0: item_industry_teahouse_tile;
  30. }
  31. // ####################
  32. // # -- INDUSTRIES -- #
  33. // ####################
  34. item (FEAT_INDUSTRIES, item_industry_teahouse) {
  35. property {
  36. substitute: INDUSTRYTYPE_COAL_MINE;
  37. name: string(STR_TEAHOUSE_INDUSTRY_NAME);
  38. nearby_station_name: string(STR_STATION, string(STR_TOWN), string(STR_TEAHOUSE_INDUSTRY_NAME));
  39. life_type: IND_LIFE_TYPE_BLACK_HOLE;
  40. cargo_types:[
  41. accept_cargo("TEAB")
  42. ];
  43. layouts:[
  44. item_industry_teahouse_tilelayout,
  45. ];
  46. prob_map_gen: 1;
  47. prob_in_game: 4;
  48. spec_flags: bitmask(IND_FLAG_ONLY_IN_LARGE_TOWNS);
  49. map_colour: 89;
  50. }
  51. }