1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- // ####################
- // # -- SPRITESETS -- #
- // ####################
- spriteset (spriteset_teahouse, "gfx/teahouse.png") {
- [ 0, 0, 64, 39, -31, -8, NOCROP]
- }
- // #######################
- // # -- SPRITELAYOUTS -- #
- // #######################
- // # Teahouse Building #
- // #####################
- spritelayout spritelayout_teahouse {
- ground { sprite: GROUNDSPRITE_CONCRETE; }
- building { sprite: spriteset_teahouse; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- // #######################
- // # -- INDUSTRYTILES -- #
- // #######################
- item (FEAT_INDUSTRYTILES, item_industry_teahouse_tile) {
- property { substitute: 27; special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); }
- graphics { default: spritelayout_teahouse; }
- }
- // #####################
- // # -- TILELAYOUTS -- #
- // #####################
- // # Teahouse #
- // ############
- tilelayout item_industry_teahouse_tilelayout {
- 0, 0: item_industry_teahouse_tile;
- }
- // ####################
- // # -- INDUSTRIES -- #
- // ####################
- item (FEAT_INDUSTRIES, item_industry_teahouse) {
- property {
- // Because we substitute Bank the Teahouse will only be built
- // in towns with at least 1200 pop.
- substitute: INDUSTRYTYPE_TEMPERATE_BANK;
- name: string(STR_TEAHOUSE_INDUSTRY_NAME);
- nearby_station_name: string(STR_STATION, string(STR_TOWN), string(STR_TEAHOUSE_INDUSTRY_NAME));
- life_type: IND_LIFE_TYPE_BLACK_HOLE;
- cargo_types:[
- accept_cargo("TEAB")
- ];
- layouts:[
- item_industry_teahouse_tilelayout,
- ];
- prob_map_gen: 1;
- prob_in_game: 4;
- map_colour: 89;
- }
- }
|