123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466 |
- // ####################
- // # -- SPRITESETS -- #
- // ####################
- spriteset (spriteset_teatree_farm_building, "gfx/tea-farm-building.png") {
- [ 0, 0, 64, 43, -31, -12, NOCROP]
- [ 64, 0, 64, 43, -31, -12, NOCROP]
- [128, 0, 64, 43, -31, -12, NOCROP]
- [192, 0, 64, 43, -31, -12, NOCROP]
- }
- spriteset (spriteset_teatree_farm_field, "gfx/tea-farm-field.png") {
- [ 0, 0, 64, 32, -31, -2, NOCROP]
- [ 64, 0, 64, 32, -31, -2, NOCROP]
- [ 128, 0, 64, 32, -31, -2, NOCROP]
- [ 192, 0, 64, 32, -31, -2, NOCROP]
- [ 256, 0, 64, 32, -31, -2, NOCROP]
- [ 320, 0, 64, 32, -31, -2, NOCROP]
- [ 384, 0, 64, 32, -31, -2, NOCROP]
- [ 448, 0, 64, 32, -31, -2, NOCROP]
- [ 512, 0, 64, 32, -31, -2, NOCROP]
- [ 576, 0, 64, 32, -31, -2, NOCROP]
- [ 640, 0, 64, 32, -31, -2, NOCROP]
- [ 704, 0, 64, 32, -31, -2, NOCROP]
- [ 768, 0, 64, 32, -31, -2, NOCROP]
- [ 832, 0, 64, 32, -31, -2, NOCROP]
- [ 896, 0, 64, 32, -31, -2, NOCROP]
- [ 960, 0, 64, 32, -31, -2, NOCROP]
- [1024, 0, 64, 32, -31, -2, NOCROP]
- [1088, 0, 64, 32, -31, -2, NOCROP]
- [1152, 0, 64, 32, -31, -2, NOCROP]
- [1216, 0, 64, 32, -31, -2, NOCROP]
- [1280, 0, 64, 32, -31, -2, NOCROP]
- [1344, 0, 64, 32, -31, -2, NOCROP]
- [1408, 0, 64, 32, -31, -2, NOCROP]
- [1472, 0, 64, 32, -31, -2, NOCROP]
- [1536, 0, 64, 32, -31, -2, NOCROP]
- [1600, 0, 64, 32, -31, -2, NOCROP]
- [1664, 0, 64, 32, -31, -2, NOCROP]
- [1728, 0, 64, 32, -31, -2, NOCROP]
- [1792, 0, 64, 32, -31, -2, NOCROP]
- [1856, 0, 64, 32, -31, -2, NOCROP]
- [1920, 0, 64, 32, -31, -2, NOCROP]
- [1984, 0, 64, 32, -31, -2, NOCROP]
- [2048, 0, 64, 32, -31, -2, NOCROP]
- [2112, 0, 64, 32, -31, -2, NOCROP]
- [2176, 0, 64, 32, -31, -2, NOCROP]
- [2240, 0, 64, 32, -31, -2, NOCROP]
- [2304, 0, 64, 32, -31, -2, NOCROP]
- [2368, 0, 64, 32, -31, -2, NOCROP]
- [2432, 0, 64, 32, -31, -2, NOCROP]
- [2496, 0, 64, 32, -31, -2, NOCROP]
- [2560, 0, 64, 32, -31, -2, NOCROP]
- [2624, 0, 64, 32, -31, -2, NOCROP]
- [2688, 0, 64, 32, -31, -2, NOCROP]
- [2752, 0, 64, 32, -31, -2, NOCROP]
- [2816, 0, 64, 32, -31, -2, NOCROP]
- [2880, 0, 64, 32, -31, -2, NOCROP]
- [2944, 0, 64, 32, -31, -2, NOCROP]
- [3008, 0, 64, 32, -31, -2, NOCROP]
- }
- // #######################
- // # -- SPRITELAYOUTS -- #
- // #######################
- // # Farm Buildings #
- // ##################
- spritelayout spritelayout_teatree_farm_building_1 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_building(0); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_building_2 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_building(1); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_building_3 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_building(2); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_building_4 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_building(3); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- // # Animated Farm Fields #
- // ########################
- spritelayout spritelayout_teatree_farm_field_0 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(0); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_1 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(1); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_2 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(2); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_3 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(3); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_4 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(4); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_5 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(5); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_6 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(6); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_7 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(7); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_8 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(8); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_9 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(9); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_10 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(10); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_11 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(11); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_12 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(12); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_13 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(13); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_14 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(14); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_15 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(15); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_16 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(16); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_17 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(17); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_18 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(18); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_19 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(19); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_20 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(20); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_21 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(21); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_22 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(22); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_23 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(23); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_24 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(24); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_25 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(25); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_26 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(26); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_27 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(27); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_28 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(28); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_29 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(29); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_30 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(30); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_31 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(31); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_32 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(32); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_33 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(33); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_34 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(34); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_35 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(35); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_36 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(36); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_37 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(37); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_38 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(38); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_39 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(39); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_40 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(40); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_41 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(41); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_42 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(42); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_43 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(43); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_44 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(44); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_45 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(45); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_46 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(46); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- spritelayout spritelayout_teatree_farm_field_47 {
- ground { sprite: GROUNDSPRITE_CLEARED; }
- building { sprite: spriteset_teatree_farm_field(47); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; }
- }
- // ###########################
- // # -- ANIMATION CONTROL -- #
- // ###########################
- switch (FEAT_INDUSTRYTILES, SELF, switch_teatree_farm_field_animation, animation_frame) {
- 0: spritelayout_teatree_farm_field_0;
- 1: spritelayout_teatree_farm_field_1;
- 2: spritelayout_teatree_farm_field_2;
- 3: spritelayout_teatree_farm_field_3;
- 4: spritelayout_teatree_farm_field_4;
- 5: spritelayout_teatree_farm_field_5;
- 6: spritelayout_teatree_farm_field_6;
- 7: spritelayout_teatree_farm_field_7;
- 8: spritelayout_teatree_farm_field_8;
- 9: spritelayout_teatree_farm_field_9;
- 10: spritelayout_teatree_farm_field_10;
- 11: spritelayout_teatree_farm_field_11;
- 12: spritelayout_teatree_farm_field_12;
- 13: spritelayout_teatree_farm_field_13;
- 14: spritelayout_teatree_farm_field_14;
- 15: spritelayout_teatree_farm_field_15;
- 16: spritelayout_teatree_farm_field_16;
- 17: spritelayout_teatree_farm_field_17;
- 18: spritelayout_teatree_farm_field_18;
- 19: spritelayout_teatree_farm_field_19;
- 20: spritelayout_teatree_farm_field_20;
- 21: spritelayout_teatree_farm_field_21;
- 22: spritelayout_teatree_farm_field_22;
- 23: spritelayout_teatree_farm_field_23;
- 24: spritelayout_teatree_farm_field_24;
- 25: spritelayout_teatree_farm_field_25;
- 26: spritelayout_teatree_farm_field_26;
- 27: spritelayout_teatree_farm_field_27;
- 28: spritelayout_teatree_farm_field_28;
- 29: spritelayout_teatree_farm_field_29;
- 30: spritelayout_teatree_farm_field_30;
- 31: spritelayout_teatree_farm_field_31;
- 32: spritelayout_teatree_farm_field_32;
- 33: spritelayout_teatree_farm_field_33;
- 34: spritelayout_teatree_farm_field_34;
- 35: spritelayout_teatree_farm_field_35;
- 36: spritelayout_teatree_farm_field_36;
- 37: spritelayout_teatree_farm_field_37;
- 38: spritelayout_teatree_farm_field_38;
- 39: spritelayout_teatree_farm_field_39;
- 40: spritelayout_teatree_farm_field_40;
- 41: spritelayout_teatree_farm_field_41;
- 42: spritelayout_teatree_farm_field_42;
- 43: spritelayout_teatree_farm_field_43;
- 44: spritelayout_teatree_farm_field_44;
- 45: spritelayout_teatree_farm_field_45;
- 46: spritelayout_teatree_farm_field_46;
- 47: spritelayout_teatree_farm_field_47;
- }
- random_switch(FEAT_INDUSTRYTILES, SELF, random_switch_teatree_farm_field_animation_trigger) {
- 1: return 0; 1: return 1; 1: return 2; 1: return 3;
- 1: return 4; 1: return 5; 1: return 6; 1: return 7;
- 1: return 8; 1: return 9; 1: return 10; 1: return 11;
- 1: return 12; 1: return 13; 1: return 14; 1: return 15;
- 1: return 16; 1: return 17; 1: return 18; 1: return 19;
- 1: return 20; 1: return 21; 1: return 22; 1: return 23;
- 1: return 24; 1: return 25; 1: return 26; 1: return 27;
- 1: return 28; 1: return 29; 1: return 30; 1: return 31;
- 1: return 32; 1: return 33; 1: return 34; 1: return 35;
- 1: return 36; 1: return 37; 1: return 38; 1: return 39;
- 1: return 40; 1: return 41; 1: return 42; 1: return 43;
- 1: return 44; 1: return 45; 1: return 46; 1: return 47;
- }
- // #######################
- // # -- INDUSTRYTILES -- #
- // #######################
- item (FEAT_INDUSTRYTILES, item_industry_teatree_farm_building_tile_1) {
- property { substitute: 27; }
- graphics { default: spritelayout_teatree_farm_building_1; }
- }
- item (FEAT_INDUSTRYTILES, item_industry_teatree_farm_building_tile_2) {
- property { substitute: 27; }
- graphics { default: spritelayout_teatree_farm_building_2; }
- }
- item (FEAT_INDUSTRYTILES, item_industry_teatree_farm_building_tile_3) {
- property { substitute: 27; }
- graphics { default: spritelayout_teatree_farm_building_3; }
- }
- item (FEAT_INDUSTRYTILES, item_industry_teatree_farm_building_tile_4) {
- property { substitute: 27; }
- graphics { default: spritelayout_teatree_farm_building_4; }
- }
- item (FEAT_INDUSTRYTILES, item_industry_teatree_farm_field_tile) {
- property {
- substitute: 27;
- animation_info: [ANIMATION_LOOPING,48];
- animation_speed: 4;
- animation_triggers: bitmask(ANIM_TRIGGER_INDTILE_CONSTRUCTION_STATE);
- special_flags: bitmask(INDTILE_FLAG_RANDOM_ANIMATION);
- }
- graphics {
- anim_control: random_switch_teatree_farm_field_animation_trigger;
- switch_teatree_farm_field_animation;
- }
- }
- // #####################
- // # -- TILELAYOUTS -- #
- // #####################
- // # Farm #
- // ########
- tilelayout item_industry_teatree_farm_tilelayout_1 {
- 0, 1: item_industry_teatree_farm_field_tile;
- 2, 0: item_industry_teatree_farm_field_tile;
- 3, 2: item_industry_teatree_farm_field_tile;
- 2, 3: item_industry_teatree_farm_field_tile;
- 0, 3: item_industry_teatree_farm_field_tile;
- 1, 1: item_industry_teatree_farm_building_tile_1;
- 1, 2: item_industry_teatree_farm_building_tile_2;
- 0, 2: item_industry_teatree_farm_building_tile_4;
- }
- tilelayout item_industry_teatree_farm_tilelayout_2 {
- 1, 2: item_industry_teatree_farm_field_tile;
- 2, 0: item_industry_teatree_farm_field_tile;
- 3, 2: item_industry_teatree_farm_field_tile;
- 2, 3: item_industry_teatree_farm_field_tile;
- 0, 3: item_industry_teatree_farm_field_tile;
- 0, 0: item_industry_teatree_farm_building_tile_3;
- 1, 0: item_industry_teatree_farm_building_tile_1;
- 0, 1: item_industry_teatree_farm_building_tile_2;
- }
- tilelayout item_industry_teatree_farm_tilelayout_3 {
- 1, 0: item_industry_teatree_farm_field_tile;
- 2, 2: item_industry_teatree_farm_field_tile;
- 3, 3: item_industry_teatree_farm_field_tile;
- 3, 1: item_industry_teatree_farm_field_tile;
- 0, 2: item_industry_teatree_farm_field_tile;
- 1, 2: item_industry_teatree_farm_building_tile_3;
- 1, 3: item_industry_teatree_farm_building_tile_2;
- 0, 3: item_industry_teatree_farm_building_tile_4;
- }
- tilelayout item_industry_teatree_farm_tilelayout_4 {
- 0, 0: item_industry_teatree_farm_field_tile;
- 1, 1: item_industry_teatree_farm_field_tile;
- 3, 1: item_industry_teatree_farm_field_tile;
- 3, 3: item_industry_teatree_farm_field_tile;
- 0, 3: item_industry_teatree_farm_field_tile;
- 2, 0: item_industry_teatree_farm_building_tile_1;
- 1, 2: item_industry_teatree_farm_building_tile_2;
- 0, 2: item_industry_teatree_farm_building_tile_4;
- }
- // ####################
- // # -- INDUSTRIES -- #
- // ####################
- item (FEAT_INDUSTRIES, item_industry_teatree_farm) {
- property {
- substitute: INDUSTRYTYPE_COAL_MINE;
- name: string(STR_FARM_INDUSTRY_NAME);
- nearby_station_name: string(STR_STATION, string(STR_TOWN), string(STR_FARM_INDUSTRY_NAME));
- life_type: IND_LIFE_TYPE_ORGANIC;
- cargo_types:[
- produce_cargo("TEAL", 12)
- ];
- layouts:[
- item_industry_teatree_farm_tilelayout_1,
- item_industry_teatree_farm_tilelayout_2,
- item_industry_teatree_farm_tilelayout_3,
- item_industry_teatree_farm_tilelayout_4
- ];
- min_cargo_distr: 4;
- prob_map_gen: 8;
- prob_in_game: 5;
- map_colour: 86;
- }
- }
|