123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- // ####################
- // # -- SPRITESETS -- #
- // ####################
- spriteset (spriteset_tea_factory_building, "gfx/tea-factory.png") {
- [ 0, 0, 64, 42, -31, -11, NOCROP]
- [ 64, 0, 64, 42, -31, -11, NOCROP]
- [128, 0, 64, 42, -31, -11, NOCROP]
- [192, 0, 64, 42, -31, -11, NOCROP]
- }
- // #######################
- // # -- SPRITELAYOUTS -- #
- // #######################
- // # Factory Buildings #
- // ##################
- spritelayout spritelayout_tea_factory_building_1 {
- ground { sprite: GROUNDSPRITE_CONCRETE; }
- building { sprite: spriteset_tea_factory_building(0); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_tea_factory_building_2 {
- ground { sprite: GROUNDSPRITE_CONCRETE; }
- building { sprite: spriteset_tea_factory_building(1); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_tea_factory_building_3 {
- ground { sprite: GROUNDSPRITE_CONCRETE; }
- building { sprite: spriteset_tea_factory_building(2); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_tea_factory_building_4 {
- ground { sprite: GROUNDSPRITE_CONCRETE; }
- building { sprite: spriteset_tea_factory_building(3); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_tea_factory_building_5 {
- ground { sprite: GROUNDSPRITE_CONCRETE; }
- building { sprite: GROUNDSPRITE_CONCRETE; }
- }
- // #######################
- // # -- INDUSTRYTILES -- #
- // #######################
- item (FEAT_INDUSTRYTILES, item_industry_tea_factory_building_tile_1) {
- property { substitute: 27; special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); }
- graphics { default: spritelayout_tea_factory_building_1; }
- }
- item (FEAT_INDUSTRYTILES, item_industry_tea_factory_building_tile_2) {
- property { substitute: 27; special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); }
- graphics { default: spritelayout_tea_factory_building_2; }
- }
- item (FEAT_INDUSTRYTILES, item_industry_tea_factory_building_tile_3) {
- property { substitute: 27; special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); }
- graphics { default: spritelayout_tea_factory_building_3; }
- }
- item (FEAT_INDUSTRYTILES, item_industry_tea_factory_building_tile_4) {
- property { substitute: 27; special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); }
- graphics { default: spritelayout_tea_factory_building_4; }
- }
- item (FEAT_INDUSTRYTILES, item_industry_tea_factory_building_tile_5) {
- property { substitute: 27; special_flags: bitmask(INDTILE_FLAG_ACCEPT_ALL); }
- graphics { default: spritelayout_tea_factory_building_5; }
- }
- // #####################
- // # -- TILELAYOUTS -- #
- // #####################
- // # Factory #
- // ###########
- tilelayout item_industry_tea_factory_tilelayout_1 {
- 0, 0: item_industry_tea_factory_building_tile_3;
- 1, 0: item_industry_tea_factory_building_tile_1;
- 0, 1: item_industry_tea_factory_building_tile_5;
- 1, 1: item_industry_tea_factory_building_tile_4;
- }
- tilelayout item_industry_tea_factory_tilelayout_2 {
- 0, 0: item_industry_tea_factory_building_tile_2;
- 1, 0: item_industry_tea_factory_building_tile_4;
- 0, 1: item_industry_tea_factory_building_tile_3;
- 1, 1: item_industry_tea_factory_building_tile_5;
- }
- tilelayout item_industry_tea_factory_tilelayout_3 {
- 0, 0: item_industry_tea_factory_building_tile_3;
- 1, 0: item_industry_tea_factory_building_tile_1;
- 0, 1: item_industry_tea_factory_building_tile_2;
- 1, 1: item_industry_tea_factory_building_tile_4;
- }
- // ####################
- // # -- INDUSTRIES -- #
- // ####################
- item (FEAT_INDUSTRIES, item_industry_tea_factory) {
- property {
- substitute: INDUSTRYTYPE_COAL_MINE;
- name: string(STR_FACTORY_INDUSTRY_NAME);
- nearby_station_name: string(STR_STATION, string(STR_TOWN), string(STR_FACTORY_INDUSTRY_NAME));
- life_type: IND_LIFE_TYPE_PROCESSING;
- cargo_types:[
- accept_cargo("TEAL", produce_cargo("TEAB", 1))
- ];
- layouts:[
- item_industry_tea_factory_tilelayout_1,
- item_industry_tea_factory_tilelayout_2,
- item_industry_tea_factory_tilelayout_3,
- ];
- min_cargo_distr: 4;
- prob_map_gen: 3;
- prob_in_game: 2;
- map_colour: 62;
- }
- }
|