Advertisement
Guest User

Untitled

a guest
Dec 27th, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 66.49 KB | None | 0 0
  1. #include <cstdlib>
  2. #include <iostream>
  3. #include <string.h>
  4. #include <stdlib.h>
  5. #include <unordered_set>
  6. #include <vector>
  7. #include <unordered_map>
  8. #include <fstream>
  9. #include <algorithm>
  10.  
  11. using namespace std;
  12.  
  13.  
  14. int fileExists (const char* fileName)
  15. {
  16.         FILE* plik;
  17.         plik = fopen(fileName, "r");
  18.         if ( plik )
  19.         {
  20.             fclose(plik);
  21.             return 1;
  22.         }
  23.         fclose(plik);
  24.         return 0;
  25. }
  26.  
  27.  
  28. /* run this program using the console pauser or add your own getch, system("pause") or input loop */
  29.  
  30. int main(int argc, char** argv) {
  31.  
  32.  
  33.     if ( fileExists("LootList.txt") )
  34.     {
  35.            remove("LootList.txt");
  36.     }
  37.  
  38.     string item;
  39.     string gold;
  40.     string potions;
  41.     string runes;
  42.     string ruchome;
  43.     string ammu;
  44.     string in;
  45.     string food;
  46.     char instrukcja;
  47.    
  48.    
  49.    
  50.    
  51.     string gold1 = "      <gold-coin>\n        <Id>3031</Id>\n        <Destination>";
  52.     string gold2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n";
  53.     string hunting_spear1 = "      <hunting-spear>\n        <Id>3347</Id>\n        <Destination>";
  54.     string hunting_spear2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </hunting-spear>\n";
  55.     string rusty_armor_semi_rare1 = "      <rusty-armor>\n        <Id>8895</Id>\n        <Destination>";
  56.     string rusty_armor_semi_rare2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </rusty-armor>\n";
  57.     string small_emerald1 = "      <small-emerald>\n        <Id>3032</Id>\n        <Destination>";
  58.     string small_emerald2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </small-emerald>\n";
  59.     string fish_fin1 = "      <fish-fin>\n        <Id>5895</Id>\n        <Destination>";
  60.     string fish_fin2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </fish-fin>\n";
  61.     string life_ring1 = "      <life-ring>\n        <Id>3052</Id>\n        <Destination>";
  62.     string life_ring2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </life-ring>\n";
  63.     string fish1 = "      <fish>\n        <Id>3578</Id>\n        <Destination>";
  64.     string fish2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </fish>\n";
  65.     string deepling_scales1 = "      <deepling-scales>\n        <Id>14017</Id>\n        <Destination>";
  66.     string deepling_scales2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </deepling-scales>\n";
  67.     string heavy_trident1 = "      <heavy-trident>\n        <Id>12683</Id>\n        <Destination>";
  68.     string heavy_trident2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </heavy-trident>\n";
  69.     string eye_of_a_deepling1 = "      <eye-of-a-deepling>\n        <Id>12730</Id>\n        <Destination>";
  70.     string eye_of_a_deepling2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </eye-of-a-deepling>\n";
  71.     string deepling_filet1 = "      <deepling-filet>\n        <Id>14085</Id>\n        <Destination>";
  72.     string deepling_filet2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </deepling-filet>\n";
  73.     string deepling_ridge1 = "      <deepling-ridge>\n        <Id>14041</Id>\n        <Destination>";
  74.     string deepling_ridge2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </deepling-ridge>\n";
  75.     string deepling_warts1 = "      <deepling-warts>\n        <Id>14012</Id>\n        <Destination>";
  76.     string deepling_warts2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </deepling-warts>\n";
  77.     string deeptags1 = "      <deeptags>\n        <Id>14013</Id>\n        <Destination>";
  78.     string deeptags2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </deeptags>\n";
  79.     string great_health_potion1 = "      <great-health-potion>\n        <Id>239</Id>\n        <Destination>";
  80.     string great_health_potion2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </great-health-potion>\n";
  81.     string great_mana_potion1 = "      <great-mana-potion>\n        <Id>238</Id>\n        <Destination>";
  82.     string great_mana_potion2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </great-mana-potion>\n";
  83.     string vortex_bolt1 = "      <vortex-bolt>\n        <Id>14252</Id>\n        <Destination>";
  84.     string vortex_bolt2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </vortex-bolt>\n";
  85.     string warriors_axe1 = "      <warrior's-axe>\n        <Id>14040</Id>\n        <Destination>";
  86.     string warriors_axe2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </warrior's-axe>\n";
  87.     string warriors_shield1 = "      <warrior's-shield>\n        <Id>14042</Id>\n        <Destination>";
  88.     string warriors_shield2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </warrior's-shield>\n";
  89.     string platinum_coin1 = "      <platinum-coin>\n        <Id>3035</Id>\n        <Destination>";
  90.     string platinum_coin2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </platinum-coin>\n";
  91.     string deepling_breaktime_snack1 = "      <deepling-breaktime-snack>\n        <Id>14011</Id>\n        <Destination>";
  92.     string deepling_breaktime_snack2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </deepling-breaktime-snack>\n";
  93.     string deepling_claw1 = "      <deepling-claw>\n        <Id>14044</Id>\n        <Destination>";
  94.     string deepling_claw2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </deepling-claw>\n";
  95.     string deepling_guard_belt_buckle1 = "      <deepling-guard-belt-buckle>\n        <Id>14010</Id>\n        <Destination>";
  96.     string deepling_guard_belt_buckle2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </deepling-guard-belt-buckle>\n";
  97.     string small_sapphire1 = "      <small-sapphire>\n        <Id>3029</Id>\n        <Destination>";
  98.     string small_sapphire2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </small-sapphire>\n";
  99.     string deepling_backpack1 = "      <deepling-backpack>\n        <Id>14248</Id>\n        <Destination>";
  100.     string deepling_backpack2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </deepling-backpack>\n";
  101.     string deepling_squelcher1 = "      <deepling-squelcher>\n        <Id>14250</Id>\n        <Destination>";
  102.     string deepling_squelcher2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </deepling-squelcher>\n";
  103.     string guardian_axe1 = "      <guardian-axe>\n        <Id>14043</Id>\n        <Destination>";
  104.     string guardian_axe2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </guardian-axe>\n";
  105.     string ornate_crossbow1 = "      <ornate-crossbow>\n        <Id>14247</Id>\n        <Destination>";
  106.     string ornate_crossbow2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </ornate-crossbow>\n";
  107.     string foxtail1 = "      <foxtail>\n        <Id>14142</Id>\n        <Destination>";
  108.     string foxtail2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </foxtail>\n";
  109.     string key_to_the_drowned_library1 = "      <key-to-the-Drowned-Library>\n        <Id>14009</Id>\n        <Destination>";
  110.     string key_to_the_drowned_library2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </key-to-the-Drowned-Library>\n";
  111.     string spellsingers_seal1 = "      <spellsinger's-seal>\n        <Id>14008</Id>\n        <Destination>";
  112.     string spellsingers_seal2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </spellsinger's-seal>\n";
  113.     string deepling_staff1 = "      <deepling-staff>\n        <Id>13987</Id>\n        <Destination>";
  114.     string deepling_staff2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </deepling-staff>\n";
  115.     string necklace_of_the_deep1 = "      <necklace-of-the-deep>\n        <Id>13990</Id>\n        <Destination>";
  116.     string necklace_of_the_deep2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </necklace-of-the-deep>\n";
  117.     string flask_of_rust_remover1 = "      <flask-of-rust-remover>\n        <Id>9016</Id>\n        <Destination>";
  118.     string flask_of_rust_remover2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </flask-of-rust-remover>\n";
  119.     string worm1 = "      <worm>\n        <Id>3492</Id>\n        <Destination>";
  120.     string worm2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </worm>\n";
  121.     string poisonous_slime1 = "      <poisonous-slime>\n        <Id>9640</Id>\n        <Destination>";
  122.     string poisonous_slime2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </poisonous-slime>\n";
  123.     string mace1 = "      <mace>\n        <Id>3286</Id>\n        <Destination>";
  124.     string mace2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </mace>\n";
  125.     string two_handed_sword1 = "      <two-handed-sword>\n        <Id>3265</Id>\n        <Destination>";
  126.     string two_handed_sword2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </two-handed-sword>\n";
  127.     string war_hammer1 = "      <war-hammer>\n        <Id>3279</Id>\n        <Destination>";
  128.     string war_hammer2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </war-hammer>\n";
  129.     string arrow1 = "      <arrow>\n        <Id>3447</Id>\n        <Destination>";
  130.     string arrow2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </arrow>\n";
  131.     string insectoid_eggs1 = "      <insectoid-eggs>\n        <Id>17457</Id>\n        <Destination>";
  132.     string insectoid_eggs2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </insectoid-eggs>\n";
  133.     string rope1 = "      <rope>\n        <Id>3003</Id>\n        <Destination>";
  134.     string rope2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </rope>\n";
  135.     string brass_helmet1 = "      <brass-helmet>\n        <Id>3354</Id>\n        <Destination>";
  136.     string brass_helmet2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </brass-helmet>\n";
  137.     string bow1 = "      <bow>\n        <Id>3350</Id>\n        <Destination>";
  138.     string bow2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </bow>\n";
  139.     string health_potion1 = "      <health-potion>\n        <Id>266</Id>\n        <Destination>";
  140.     string health_potion2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </health-potion>\n";
  141.     string scimitar1 = "      <scimitar>\n        <Id>3307</Id>\n        <Destination>";
  142.     string scimitar2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </scimitar>\n";
  143.     string quara_tentacle1 = "      <quara-tentacle>\n        <Id>11487</Id>\n        <Destination>";
  144.     string quara_tentacle2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </quara-tentacle>\n";
  145.     string longsword1 = "      <longsword>\n        <Id>3285</Id>\n        <Destination>";
  146.     string longsword2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </longsword>\n";
  147.     string shrimp1 = "      <shrimp>\n        <Id>3581</Id>\n        <Destination>";
  148.     string shrimp2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </shrimp>\n";
  149.     string brass_armor1 = "      <brass-armor>\n        <Id>3359</Id>\n        <Destination>";
  150.     string brass_armor2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </brass-armor>\n";
  151.     string small_amethyst1 = "      <small-amethyst>\n        <Id>3033</Id>\n        <Destination>";
  152.     string small_amethyst2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </small-amethyst>\n";
  153.     string quara_eye1 = "      <quara-eye>\n        <Id>11488</Id>\n        <Destination>";
  154.     string quara_eye2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </quara-eye>\n";
  155.     string white_pearl1 = "      <white-pearl>\n        <Id>3026</Id>\n        <Destination>";
  156.     string white_pearl2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </white-pearl>\n";
  157.     string black_pearl1 = "      <black-pearl>\n        <Id>3027</Id>\n        <Destination>";
  158.     string black_pearl2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </black-pearl>\n";
  159.     string ring_of_healing1 = "      <ring-of-healing>\n        <Id>3098</Id>\n        <Destination>";
  160.     string ring_of_healing2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </ring-of-healing>\n";
  161.     string wand_of_cosmic_energy1 = "      <wand-of-cosmic-energy>\n        <Id>3073</Id>\n        <Destination>";
  162.     string wand_of_cosmic_energy2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </wand-of-cosmic-energy>\n";
  163.     string knight_armor1 = "      <knight-armor>\n        <Id>3370</Id>\n        <Destination>";
  164.     string knight_armor2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </knight-armor>\n";
  165.     string halberd1 = "      <halberd>\n        <Id>3269</Id>\n        <Destination>";
  166.     string halberd2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </halberd>\n";
  167.     string mantassin_tail1 = "      <mantassin-tail>\n        <Id>11489</Id>\n        <Destination>";
  168.     string mantassin_tail2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </mantassin-tail>\n";
  169.     string stealth_ring1 = "      <stealth-ring>\n        <Id>3049</Id>\n        <Destination>";
  170.     string stealth_ring2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </stealth-ring>\n";
  171.     string strange_helmet1 = "      <strange-helmet>\n        <Id>3373</Id>\n        <Destination>";
  172.     string strange_helmet2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </strange-helmet>\n";
  173.     string blue_robe1 = "      <blue-robe>\n        <Id>3567</Id>\n        <Destination>";
  174.     string blue_robe2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </blue-robe>\n";
  175.     string quara_pincers1 = "      <quara-pincers>\n        <Id>11490</Id>\n        <Destination>";
  176.     string quara_pincers2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </quara-pincers>\n";
  177.     string small_ruby1 = "      <small-ruby>\n        <Id>3030</Id>\n        <Destination>";
  178.     string small_ruby2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </small-ruby>\n";
  179.     string warrior_helmet1 = "      <warrior-helmet>\n        <Id>3369</Id>\n        <Destination>";
  180.     string warrior_helmet2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </warrior-helmet>\n";
  181.     string crown_armor1 = "      <crown-armor>\n        <Id>3381</Id>\n        <Destination>";
  182.     string crown_armor2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </crown-armor>\n";
  183.     string giant_shrimp1 = "      <giant-shrimp>\n        <Id>12318</Id>\n        <Destination>";
  184.     string giant_shrimp2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </giant-shrimp>\n";
  185.     string glacier_robe1 = "      <glacier-robe>\n        <Id>824</Id>\n        <Destination>";
  186.     string glacier_robe2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </glacier-robe>\n";
  187.     string quara_bone1 = "      <quara-bone>\n        <Id>11491</Id>\n        <Destination>";
  188.     string quara_bone2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </quara-bone>\n";
  189.     string royal_spear1 = "      <royal-spear>\n        <Id>7378</Id>\n        <Destination>";
  190.     string royal_spear2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </royal-spear>\n";
  191.     string small_diamond1 = "      <small-diamond>\n        <Id>3028</Id>\n        <Destination>";
  192.     string small_diamond2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </small-diamond>\n";
  193.     string double_axe1 = "      <double-axe>\n        <Id>3275</Id>\n        <Destination>";
  194.     string double_axe2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </double-axe>\n";
  195.     string relic_sword1 = "      <relic-sword>\n        <Id>7383</Id>\n        <Destination>";
  196.     string relic_sword2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </relic-sword>\n";
  197.     string assassin_star1 = "      <assassin-star>\n        <Id>7368</Id>\n        <Destination>";
  198.     string assassin_star2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </assassin-star>\n";
  199.     string skull_helmet1 = "      <skull-helmet>\n        <Id>5741</Id>\n        <Destination>";
  200.     string skull_helmet2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </skull-helmet>\n";
  201.     string ham1 = "      <ham>\n        <Id>3582</Id>\n        <Destination>";
  202.     string ham2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </ham>\n";
  203.     string hydra_head1 = "      <hydra-head>\n        <Id>10282</Id>\n        <Destination>";
  204.     string hydra_head2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </hydra-head>\n";
  205.     string cucumber1 = "      <cucumber>\n        <Id>8014</Id>\n        <Destination>";
  206.     string cucumber2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </cucumber>\n";
  207.     string stone_skin_amulet1 = "      <stone-skin-amulet>\n        <Id>3081</Id>\n        <Destination>";
  208.     string stone_skin_amulet2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </stone-skin-amulet>\n";
  209.     string hydra_egg1 = "      <hydra-egg>\n        <Id>4839</Id>\n        <Destination>";
  210.     string hydra_egg2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </hydra-egg>\n";
  211.     string life_crystal1 = "      <life-crystal>\n        <Id>3061</Id>\n        <Destination>";
  212.     string life_crystal2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </life-crystal>\n";
  213.     string strong_mana_potion1 = "      <strong-mana-potion>\n        <Id>237</Id>\n        <Destination>";
  214.     string strong_mana_potion2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </strong-mana-potion>\n";
  215.     string medusa_shield1 = "      <medusa-shield>\n        <Id>3436</Id>\n        <Destination>";
  216.     string medusa_shield2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </medusa-shield>\n";
  217.     string royal_helmet1 = "      <royal-helmet>\n        <Id>3392</Id>\n        <Destination>";
  218.     string royal_helmet2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </royal-helmet>\n";
  219.     string boots_of_haste1 = "      <boots-of-haste>\n        <Id>3079</Id>\n        <Destination>";
  220.     string boots_of_haste2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </boots-of-haste>\n";
  221.     string plate_shield1 = "      <plate-shield>\n        <Id>3410</Id>\n        <Destination>";
  222.     string plate_shield2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </plate-shield>\n";
  223.     string battle_hammer1 = "      <battle-hammer>\n        <Id>3305</Id>\n        <Destination>";
  224.     string battle_hammer2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </battle-hammer>\n";
  225.     string tortoise_egg1 = "      <tortoise-egg>\n        <Id>5678</Id>\n        <Destination>";
  226.     string tortoise_egg2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </tortoise-egg>\n";
  227.     string turtle_shell1 = "      <turtle-shell>\n        <Id>5899</Id>\n        <Destination>";
  228.     string turtle_shell2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </turtle-shell>\n";
  229.     string tortoise_shield1 = "      <tortoise-shield>\n        <Id>6131</Id>\n        <Destination>";
  230.     string tortoise_shield2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </tortoise-shield>\n";
  231.     string thorn1 = "      <thorn>\n        <Id>9643</Id>\n        <Destination>";
  232.     string thorn2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </thorn>\n";
  233.     string brown_mushroom1 = "      <brown-mushroom>\n        <Id>3725</Id>\n        <Destination>";
  234.     string brown_mushroom2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </brown-mushroom>\n";
  235.     string white_mushroom1 = "      <white-mushroom>\n        <Id>3723</Id>\n        <Destination>";
  236.     string white_mushroom2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </white-mushroom>\n";
  237.     string piece_of_crocodile_leather1 = "      <piece-of-crocodile-leather>\n        <Id>10279</Id>\n        <Destination>";
  238.     string piece_of_crocodile_leather2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </piece-of-crocodile-leather>\n";
  239.     string bunch_of_ripe_rice1 = "      <bunch-of-ripe-rice>\n        <Id>10328</Id>\n        <Destination>";
  240.     string bunch_of_ripe_rice2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </bunch-of-ripe-rice>\n";
  241.     string obsidian_lance1 = "      <obsidian-lance>\n        <Id>3313</Id>\n        <Destination>";
  242.     string obsidian_lance2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </obsidian-lance>\n";
  243.     string giant_shimmering_pearl1 = "      <giant-shimmering-pearl>\n        <Id>281</Id>\n        <Destination>";
  244.     string giant_shimmering_pearl2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </giant-shimmering-pearl>\n";
  245.     string giant_shimmering_pearll1 = "      <giant-shimmering-pearll>\n        <Id>282</Id>\n        <Destination>";
  246.     string giant_shimmering_pearll2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </giant-shimmering-pearll>\n";
  247.     string crocodile_boots1 = "      <crocodile-boots>\n        <Id>3556</Id>\n        <Destination>";
  248.     string crocodile_boots2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </crocodile-boots>\n";
  249.     string brown_crystal_splinter1 = "      <brown-crystal-splinter>\n        <Id>16123</Id>\n        <Destination>";
  250.     string brown_crystal_splinter2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </brown-crystal-splinter>\n";
  251.     string green_crystal_splinter1 = "      <green-crystal-splinter>\n        <Id>16122</Id>\n        <Destination>";
  252.     string green_crystal_splinter2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </green-crystal-splinter>\n";
  253.     string blue_crystal_splinter1 = "      <blue-crystal-splinter>\n        <Id>16124</Id>\n        <Destination>";
  254.     string blue_crystal_splinter2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </blue-crystal-splinter>\n";
  255.     string crystalline_arrow1 = "      <crystalline-arrow>\n        <Id>15793</Id>\n        <Destination>";
  256.     string crystalline_arrow2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </crystalline-arrow>\n";
  257.     string crystalline_spikes1 = "      <crystalline-spikes>\n        <Id>16138</Id>\n        <Destination>";
  258.     string crystalline_spikes2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </crystalline-spikes>\n";
  259.     string battle_stone1 = "      <battle-stone>\n        <Id>11447</Id>\n        <Destination>";
  260.     string battle_stone2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </battle-stone>\n";
  261.     string drill_bolt1 = "      <drill-bolt>\n        <Id>16142</Id>\n        <Destination>";
  262.     string drill_bolt2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </drill-bolt>\n";
  263.     string envenomed_arrow1 = "      <envenomed-arrow>\n        <Id>16143</Id>\n        <Destination>";
  264.     string envenomed_arrow2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </envenomed-arrow>\n";
  265.     string green_crystal_fragment1 = "      <green-crystal-fragment>\n        <Id>16127</Id>\n        <Destination>";
  266.     string green_crystal_fragment2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </green-crystal-fragment>\n";
  267.     string mana_potion1 = "      <mana-potion>\n        <Id>268</Id>\n        <Destination>";
  268.     string mana_potion2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </mana-potion>\n";
  269.     string strong_health_potion1 = "      <strong-health-potion>\n        <Id>236</Id>\n        <Destination>";
  270.     string strong_health_potion2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </strong-health-potion>\n";
  271.     string terra_boots1 = "      <terra-boots>\n        <Id>813</Id>\n        <Destination>";
  272.     string terra_boots2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </terra-boots>\n";
  273.     string bonebreaker1 = "      <bonebreaker>\n        <Id>7428</Id>\n        <Destination>";
  274.     string bonebreaker2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </bonebreaker>\n";
  275.     string time_ring1 = "      <time-ring>\n        <Id>3053</Id>\n        <Destination>";
  276.     string time_ring2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </time-ring>\n";
  277.     string titan_axe1 = "      <titan-axe>\n        <Id>7413</Id>\n        <Destination>";
  278.     string titan_axe2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </titan-axe>\n";
  279.     string tower_shield1 = "      <tower-shield>\n        <Id>3428</Id>\n        <Destination>";
  280.     string tower_shield2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </tower-shield>\n";
  281.     string coal1 = "      <coal>\n        <Id>12600</Id>\n        <Destination>";
  282.     string coal2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </coal>\n";
  283.     string dragon_ham1 = "      <dragon-ham>\n        <Id>3583</Id>\n        <Destination>";
  284.     string dragon_ham2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </dragon-ham>\n";
  285.     string wyrm_scale1 = "      <wyrm-scale>\n        <Id>9665</Id>\n        <Destination>";
  286.     string wyrm_scale2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </wyrm-scale>\n";
  287.     string burst_arrow1 = "      <burst-arrow>\n        <Id>3449</Id>\n        <Destination>";
  288.     string burst_arrow2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </burst-arrow>\n";
  289.     string crossbow1 = "      <crossbow>\n        <Id>3349</Id>\n        <Destination>";
  290.     string crossbow2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </crossbow>\n";
  291.     string focus_cape1 = "      <focus-cape>\n        <Id>8043</Id>\n        <Destination>";
  292.     string focus_cape2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </focus-cape>\n";
  293.     string wand_of_draconia1 = "      <wand-of-draconia>\n        <Id>8093</Id>\n        <Destination>";
  294.     string wand_of_draconia2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </wand-of-draconia>\n";
  295.     string lightning_pendant1 = "      <lightning-pendant>\n        <Id>816</Id>\n        <Destination>";
  296.     string lightning_pendant2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </lightning-pendant>\n";
  297.     string wand_of_starstorm1 = "      <wand-of-starstorm>\n        <Id>8092</Id>\n        <Destination>";
  298.     string wand_of_starstorm2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </wand-of-starstorm>\n";
  299.     string hibiscus_dress1 = "      <hibiscus-dress>\n        <Id>8045</Id>\n        <Destination>";
  300.     string hibiscus_dress2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </hibiscus-dress>\n";
  301.     string dragonbone_staff1 = "      <dragonbone-staff>\n        <Id>7430</Id>\n        <Destination>";
  302.     string dragonbone_staff2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </dragonbone-staff>\n";
  303.     string shockwave_amulet1 = "      <shockwave-amulet>\n        <Id>9304</Id>\n        <Destination>";
  304.     string shockwave_amulet2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </shockwave-amulet>\n";
  305.     string composite_hornbow1 = "      <composite-hornbow>\n        <Id>8027</Id>\n        <Destination>";
  306.     string composite_hornbow2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </composite-hornbow>\n";
  307.     string soul_orb1 = "      <soul-orb>\n        <Id>5944</Id>\n        <Destination>";
  308.     string soul_orb2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </soul-orb>\n";
  309.     string lightning_legs1 = "      <lightning-legs>\n        <Id>822</Id>\n        <Destination>";
  310.     string lightning_legs2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </lightning-legs>\n";
  311.     string lightning_robe1 = "      <lightning-robe>\n        <Id>825</Id>\n        <Destination>";
  312.     string lightning_robe2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </lightning-robe>\n";
  313.     string shadow_sceptre1 = "      <shadow-sceptre>\n        <Id>7451</Id>\n        <Destination>";
  314.     string shadow_sceptre2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </shadow-sceptre>\n";
  315.     string lightning_boots1 = "      <lightning-boots>\n        <Id>820</Id>\n        <Destination>";
  316.     string lightning_boots2 = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </lightning-boots>\n";
  317.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  318.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  319.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  320.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  321.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  322.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  323.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  324.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  325.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  326.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  327.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  328.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  329.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  330.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  331.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  332.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  333.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  334.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  335.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  336.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  337.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  338.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  339.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  340.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  341.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  342.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  343.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  344.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  345.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  346.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  347.     string  = "      <>\n        <Id></Id>\n        <Destination>";
  348.     string  = "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </>\n";
  349.    
  350.    
  351.    
  352.    
  353.    
  354.    
  355.    
  356.    
  357.    
  358.    
  359.    
  360.    
  361.    
  362.    
  363.    
  364.    
  365.    
  366.    
  367.    
  368.    
  369.    
  370.    
  371.    
  372.    
  373.    
  374.    
  375.    
  376.    
  377.    
  378.  
  379.     cout << "                 Loot list creator for Ibot by Spens13 v.0.2 (alpha)" << endl << endl;
  380.     cout << "Befor we start, you need to fill up destinations of some kind of items." << endl;
  381.     cout << "Gold: ";
  382.     cin >> gold;
  383.     cout << "Potions: ";
  384.     cin >> potions;
  385.     cout << "Runes: ";
  386.     cin >> runes;
  387.     cout << "Stackable: ";
  388.     cin >> ruchome;
  389.     cout << "Normal items: ";
  390.     cin >> item;
  391.     cout << "Amunition: ";
  392.     cin >> ammu;
  393.     cout << "Food: ";
  394.     cin >> food;
  395.    
  396.     system("cls");
  397.  
  398.  
  399.     cout << "                 Loot list creator for Ibot by Spens13 v.0.2 (alpha)" << endl << endl;
  400.     cout << "User manual:" << endl;
  401.     cout << "'d' to add new monster" << endl;
  402.     cout << "'w' to show list of all loot" << endl;
  403.     cout << "'z' to close program" << endl;
  404.     cout << "'c' to clear console window (but not program memory)" << endl;
  405.     cout << "'s' to save list to .txt file (\"LootList.txt\")" << endl;
  406.     cout << "'m' to show list of all monsters which you can add" << endl;
  407.    
  408.     cout << endl;  
  409.    
  410.        
  411.  
  412.         unordered_map<string,vector<string>> komendy = {
  413. {"Bog_Raider", {"      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n", "      <paladin-armor>\n        <Id>8063</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </paladin-armor>\n", "      <springsprout-rod>\n        <Id>8084</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </springsprout-rod>\n", "      <ultimate-health-potion>\n        <Id>7643</Id>\n        <Destination>", potions, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </ultimate-health-potion>\n", "      <plate-legs>\n        <Id>3557</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </plate-legs>\n", "      <great-spirit-potion>\n        <Id>7642</Id>\n        <Destination>", potions, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </great-spirit-potion>\n", "      <great-health-potion>\n        <Id>239</Id>\n        <Destination>", potions, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </great-health-potion>\n", "      <boggy-dreads>\n        <Id>9667</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </boggy-dreads>\n"}},
  414. {"Rat", {"      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n", "      <cheese>\n        <Id>3607</Id>\n        <Destination>", food, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      <cheese/>\n"}},
  415. {"Orc", {"      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n", "      <axe>\n        <Id>3274</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </axe>\n", "      <meat>\n        <Id>3577</Id>\n        <Destination>", food, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </meat>\n", "      <sabre>\n        <Id>3273</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </sabre>\n", "      <studded-armor>\n        <Id>3378</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </studded-armor>\n", "      <studded-shield>\n        <Id>3426</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </studded-shield>\n", "      <studded-helmet>\n        <Id>3376</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </studded-helmet>\n", "      <orc-leather>\n        <Id>11479</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-leather>\n", "      <orc-tooth>\n        <Id>10196</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-tooth>\n"}},
  416. {"Orc_Berserker", {"      <old-and-used-backpack>\n        <Id>3244</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </old-and-used-backpack>\n", "      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n", "      <battle-axe>\n        <Id>3266</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </battle-axe>\n", "      <halberd>\n        <Id>3269</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </halberd>\n", "      <ham>\n        <Id>3582</Id>\n        <Destination>", food, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </ham>\n", "      <orcish-gear>\n        <Id>11477</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orcish-gear>\n", "      <hunting-spear>\n        <Id>3347</Id>\n        <Destination>", ammu, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </hunting-spear>\n", "      <chain-armor>\n        <Id>3358</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </chain-armor>\n", "      <orc-tooth>\n        <Id>10196</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-tooth>\n", "      <orc-leather>\n        <Id>11479</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-leather>\n"}},
  417. {"Orc_Leader", {"      <warrior-helmet>\n        <Id>3369</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </warrior-helmet>\n", "      <plate-legs>\n        <Id>3557</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </plate-legs>\n", "      <health-potion>\n        <Id>266</Id>\n        <Destination>", potions, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </health-potion>\n", "      <skull-belt>\n        <Id>11480</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </skull-belt>\n", "      <scimitar>\n        <Id>3307</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </scimitar>\n", "      <plate-armor>\n        <Id>3357</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </plate-armor>\n", "      <broadsword>\n        <Id>3301</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </broadsword>\n", "      <sword-ring>\n        <Id>3091</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </sword-ring>\n", "      <royal-spear>\n        <Id>7378</Id>\n        <Destination>", ammu, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </royal-spear>\n", "      <longsword>\n        <Id>3285</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </longsword>\n", "      <brass-legs>\n        <Id>3372</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </brass-legs>\n", "      <throwing-knife>\n        <Id>3298</Id>\n        <Destination>", ammu, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </throwing-knife>\n", "      <plate-shield>\n        <Id>3410</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </plate-shield>\n", "      <fish>\n        <Id>3578</Id>\n        <Destination>", food, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </fish>\n", "      <brown-mushroom>\n        <Id>3725</Id>\n        <Destination>", food, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </brown-mushroom>\n", "      <orc-tooth>\n        <Id>10196</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-tooth>\n", "      <orc-leather>\n        <Id>11479</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-leather>\n", "      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n"}},
  418. {"Orc_Marauder", {"      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n", "      <silkweaver-bow>\n        <Id>8029</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </silkweaver-bow>\n", "      <crossbow>\n        <Id>3349</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </crossbow>\n", "      <orcish-axe>\n        <Id>3316</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orcish-axe>\n", "      <obsidian-lance>\n        <Id>3313</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </obsidian-lance>\n", "      <broken-crossbow>\n        <Id>11451</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </broken-crossbow>\n", "      <shaggy-tail>\n        <Id>10407</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </shaggy-tail>\n", "      <bow>\n        <Id>3350</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </bow>\n", "      <meat>\n        <Id>3577</Id>\n        <Destination>", food, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </meat>\n", "      <orc-tooth>\n        <Id>10196</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-tooth>\n", "      <orc-leather>\n        <Id>11479</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-leather>\n"}},
  419. {"Orc_Rider", {"      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n", "      <scale-armor>\n        <Id>3377</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </scale-armor>\n", "      <battle-shield>\n        <Id>3413</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </battle-shield>\n", "      <wolf-tooth-chain>\n        <Id>3012</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </wolf-tooth-chain>\n", "      <warwolf-fur>\n        <Id>10318</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </warwolf-fur>\n", "      <meat>\n        <Id>3577</Id>\n        <Destination>", food, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </meat>\n", "      <orc-tooth>\n        <Id>10196</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-tooth>\n", "      <orc-leather>\n        <Id>11479</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-leather>\n", "      <orcish-axe>\n        <Id>3316</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orcish-axe>\n", "      <obsidian-lance>\n        <Id>3313</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </obsidian-lance>\n"}},
  420. {"Orc_Shaman", {"      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n", "      <wand-of-decay>\n        <Id>3072</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </wand-of-decay>\n", "      <spear>\n        <Id>3277</Id>\n        <Destination>", ammu, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </spear>\n", "      <shamanic-hood>\n        <Id>11478</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </shamanic-hood>\n", "      <corncob>\n        <Id>3597</Id>\n        <Destination>", food, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </corncob>\n", "      <broken-shamanic-staff>\n        <Id>11452</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </broken-shamanic-staff>\n", "      <chain-armor>\n        <Id>3358</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </chain-armor>\n", "      <orc-tooth>\n        <Id>10196</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-tooth>\n", "      <orc-leather>\n        <Id>11479</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-leather>\n"}},
  421. {"Orc_Spearman", {"      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n", "      <machete>\n        <Id>3308</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </machete>\n", "      <spear>\n        <Id>3277</Id>\n        <Destination>", ammu, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </spear>\n", "      <meat>\n        <Id>3577</Id>\n        <Destination>", food, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </meat>\n", "      <studded-helmet>\n        <Id>3376</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </studded-helmet>\n", "      <studded-legs>\n        <Id>3362</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </studded-legs>\n", "      <orc-tooth>\n        <Id>10196</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-tooth>\n", "      <orc-leather>\n        <Id>11479</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-leather>\n"}},
  422. {"Orc_Warlord", {"      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n", "      <amazon-shield>\n        <Id>3437</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </amazon-shield>\n", "      <amazon-armor>\n        <Id>3394</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </amazon-armor>\n", "      <amazon-helmet>\n        <Id>3393</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </amazon-helmet>\n", "      <orc-trophy>\n        <Id>7395</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-trophy>\n", "      <stealth-ring>\n        <Id>3049</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </stealth-ring>\n", "      <magma-boots>\n        <Id>818</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </magma-boots>\n", "      <dragon-hammer>\n        <Id>3322</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </dragon-hammer>\n", "      <crusader-helmet>\n        <Id>3391</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </crusader-helmet>\n", "      <two-handed-sword>\n        <Id>3265</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </two-handed-sword>\n", "      <dark-helmet>\n        <Id>3384</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </dark-helmet>\n", "      <brass-armor>\n        <Id>3359</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </brass-armor>\n", "      <protection-amulet>\n        <Id>3084</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </protection-amulet>\n", "      <throwing-star>\n        <Id>3287</Id>\n        <Destination>", ammu, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </throwing-star>\n", "      <broken-helmet>\n        <Id>1453</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </broken-helmet>\n", "      <fish>\n        <Id>3578</Id>\n        <Destination>", food, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </fish>\n", "      <orc-leather>\n        <Id>11479</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-leather>\n", "      <orc-tooth>\n        <Id>10196</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-tooth>\n", "      <orcish-axe>\n        <Id>3316</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orcish-axe>\n", "      <plate-armor>\n        <Id>3357</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </plate-armor>\n", "      <plate-legs>\n        <Id>3557</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </plate-legs>\n", "      <hunting-spear>\n        <Id>3347</Id>\n        <Destination>", ammu, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </hunting-spear>\n"}},
  423. {"Orc_Warrior", {"      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n", "      <broken-helmet>\n        <Id>1453</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </broken-helmet>\n", "      <chain-armor>\n        <Id>3358</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </chain-armor>\n", "      <meat>\n        <Id>3577</Id>\n        <Destination>", food, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </meat>\n", "      <orc-leather>\n        <Id>11479</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-leather>\n", "      <orc-tooth>\n        <Id>10196</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orc-tooth>\n", "      <skull-belt>\n        <Id>11480</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </skull-belt>\n", "      <copper-shield>\n        <Id>3430</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </copper-shield>\n", "      <poison-dagger>\n        <Id>3299</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </poison-dagger>\n"}},
  424. {"Rorc", {"      <gold-coin>\n        <Id>3031</Id>\n        <Destination>", gold, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </gold-coin>\n", "      <orcish-axe>\n        <Id>3316</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </orcish-axe>\n", "      <rorc-feather>\n        <Id>18993</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </rorc-feather>\n", "      <rorc-egg>\n        <Id>18996</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </rorc-egg>\n", "      <hatched-rorc-egg>\n        <Id>18997</Id>\n        <Destination>", ruchome, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </hatched-rorc-egg>\n", "      <wolf-tooth-chain>\n        <Id>3012</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </wolf-tooth-chain>\n", "      <plate-shield>\n        <Id>3410</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </plate-shield>\n", "      <obsidian-lance>\n        <Id>3313</Id>\n        <Destination>", item, "</Destination>\n        <AlarmOn>No Alarm</AlarmOn>\n      </obsidian-lance>\n"}},
  425. {"Groam", {gold1, gold, gold2, hunting_spear1, ammu, hunting_spear2, rusty_armor_semi_rare1, item, rusty_armor_semi_rare2, small_emerald1, ruchome, small_emerald2, fish_fin1, ruchome, fish_fin2, life_ring1, item, life_ring2}},
  426. {"Deepling_Brawler", {gold1, gold, gold2, deepling_scales1, ruchome, deepling_scales2, eye_of_a_deepling1, ruchome, eye_of_a_deepling2, fish1, food, fish2, heavy_trident1, item, heavy_trident2, fish_fin1, ruchome, fish_fin2}},
  427. {"Deepling_Elite", {gold1, gold, gold2, deepling_filet1, food, deepling_filet2, deepling_ridge1, ruchome, deepling_ridge2, deepling_warts1, ruchome, deepling_warts2, deeptags1, ruchome, deeptags2, eye_of_a_deepling1, ruchome, eye_of_a_deepling2, great_health_potion1, potions, great_health_potion2, great_mana_potion1, potions, great_mana_potion2, life_ring1, item, life_ring2, small_emerald1, ruchome, small_emerald2, vortex_bolt1, ammu, vortex_bolt2, fish_fin1, ruchome, fish_fin2, heavy_trident1, item, heavy_trident2, warriors_axe1, item, warriors_axe2, warriors_shield1, item, warriors_shield2}},
  428. {"Deepling_Guard", {gold1, gold, gold2, platinum_coin1, ruchome, platinum_coin2, deepling_breaktime_snack1, ruchome, deepling_breaktime_snack1, deepling_claw1, ruchome, deepling_claw2, deepling_guard_belt_buckle1, ruchome, deepling_guard_belt_buckle2, eye_of_a_deepling1, ruchome, eye_of_a_deepling2, great_mana_potion1, potions, great_mana_potion2, great_health_potion1, potions, great_health_potion2, small_sapphire1, ruchome, small_sapphire2, deepling_squelcher1, item, deepling_squelcher2, guardian_axe1, item, guardian_axe2, heavy_trident1, item, heavy_trident2, deepling_backpack1, item, deepling_backpack2, ornate_crossbow1, item, ornate_crossbow2, foxtail1, item, foxtail2}},
  429. {"Deepling_Master_Librarian", {gold1, gold, gold2, platinum_coin1, ruchome, platinum_coin2, deepling_filet1, food, deepling_filet2, eye_of_a_deepling1, ruchome, eye_of_a_deepling2, fish1, food, fish2, key_to_the_drowned_library1, ruchome, key_to_the_drowned_library2, small_sapphire1, ruchome, small_sapphire2, spellsingers_seal1, ruchome, spellsingers_seal2, deepling_staff1, item, deepling_staff2, life_ring1, item, life_ring2, fish_fin1, ruchome, fish_fin2, necklace_of_the_deep1, item, necklace_of_the_deep2, ornate_crossbow1, item, ornate_crossbow2}},
  430. {"Deepling_Scout", {gold1, gold, gold2, hunting_spear1, ammu, hunting_spear2, life_ring1, item, life_ring2, rusty_armor_semi_rare1, item, rusty_armor_semi_rare2, eye_of_a_deepling1, ruchome, eye_of_a_deepling2, fish_fin1, ruchome, fish_fin2, flask_of_rust_remover1, ruchome, flask_of_rust_remover2, heavy_trident1, item, heavy_trident2, small_emerald1, ruchome, small_emerald2}},
  431. {"Deepling_Spellsinger", {gold1, gold, gold2, platinum_coin1, ruchome, platinum_coin2, deepling_filet1, food, deepling_filet2, key_to_the_drowned_library1, ruchome, key_to_the_drowned_library2, spellsingers_seal1, ruchome, spellsingers_seal2, fish1, food, fish2, life_ring1, item, life_ring2, small_sapphire1, ruchome, small_sapphire2, deepling_staff1, item, deepling_staff2, fish_fin1, ruchome, fish_fin2, necklace_of_the_deep1, item, necklace_of_the_deep2, ornate_crossbow1, item, ornate_crossbow2}},
  432. {"Deepling_Tyrant", {gold1, gold, gold2, platinum_coin1, ruchome, platinum_coin2, deepling_breaktime_snack1, ruchome, deepling_breaktime_snack2, deepling_claw1, ruchome, deepling_claw2, deepling_guard_belt_buckle1, ruchome, deepling_guard_belt_buckle2, eye_of_a_deepling1, ruchome, eye_of_a_deepling2, great_health_potion1, potions, great_health_potion2, great_mana_potion1, potions, great_mana_potion2, small_sapphire1, ruchome, small_sapphire2, heavy_trident1, item, heavy_trident2, deepling_backpack1, item, deepling_backpack2, deepling_squelcher1, item, deepling_squelcher2, guardian_axe1, item, guardian_axe2, ornate_crossbow1, item, ornate_crossbow2, foxtail1, item, foxtail2}},
  433. {"Deepling_Warrior", {gold1, gold, gold2, deepling_filet1, food, deepling_filet2, deepling_ridge1, ruchome, deepling_ridge2, deepling_warts1, ruchome, deepling_warts2, deeptags1, ruchome, deeptags2, great_health_potion1, potions, great_health_potion2, great_mana_potion1, potions, great_mana_potion2, life_ring1, item, life_ring2, small_emerald1, ruchome, small_emerald2, vortex_bolt1, ammu, vortex_bolt2, eye_of_a_deepling1, ruchome, eye_of_a_deepling2, fish_fin1, ruchome, fish_fin2, heavy_trident1, item, heavy_trident2, warriors_axe1, item, warriors_axe2, warriors_shield1, item, warriors_shield2}},
  434. {"Deepling_Worker", {gold1, gold, gold2, fish1, food, fish2, heavy_trident1, item, heavy_trident2, eye_of_a_deepling1, ruchome, eye_of_a_deepling2, fish_fin1, ruchome, fish_fin2, small_emerald1, ruchome, small_emerald2}},
  435. {"Azure_Frog", {gold1, gold, gold2, worm1, ruchome, worm2}},
  436. {"Coral_Frog", {gold1, gold, gold2, worm1, ruchome, worm2}},
  437. {"Crimson_Frog", {gold1, gold, gold2, worm1, ruchome, worm2}},
  438. {"Filth_Toad", {gold1, gold, gold2, fish1, food, fish2, poisonous_slime1, ruchome, poisonous_slime2, mace1, item, mace2, two_handed_sword1, item, two_handed_sword2}},
  439. {"Infernal_Frog", {gold1, gold, gold2}},
  440. {"Orchid_Frog", {gold1, gold, gold2, worm1, ruchome, worm2}},
  441. {"Toad", {gold1, gold, gold2, fish1, food, fish2, mace1, item, mace2, poisonous_slime1, ruchome, poisonous_slime2, war_hammer1, item, war_hammer2}},
  442. {"Salamander", {gold1, gold, gold2, arrow1, ammu, arrow2, insectoid_eggs1, food, insectoid_eggs2, rope1, item, rope2, brass_helmet1, item, brass_helmet2, mace1, item, mace2, bow1, item, bow2, health_potion1, potions, health_potion2, scimitar1, item, scimitar2}},
  443. {"Quara_Constrictor", {gold1, gold, gold2, quara_tentacle1, ruchome, quara_tentacle2, longsword1, item, longsword2, shrimp1, food, shrimp2, brass_armor1, item, brass_armor2, small_amethyst1, ruchome, small_amethyst2, fish_fin1, ruchome, fish_fin2}},
  444. {"Quara_Hydromancer", {gold1, gold, gold2, quara_eye1, ruchome, quara_eye2, small_emerald1, ruchome, small_emerald2, white_pearl1, ruchome, white_pearl2, shrimp1, food, shrimp2, black_pearl1, ruchome, black_pearl2, great_mana_potion1, potions, great_mana_potion2, fish_fin1, ruchome, fish_fin2, ring_of_healing1, item, ring_of_healing2, wand_of_cosmic_energy1, item, wand_of_cosmic_energy2, knight_armor1, item, knight_armor2}},
  445. {"Quara_Mantassin", {gold1, gold, gold2, halberd1, item, halberd2, mantassin_tail1, ruchome, mantassin_tail2, shrimp1, food, shrimp2, fish_fin1, ruchome, fish_fin2, small_sapphire1, ruchome, small_sapphire2, stealth_ring1, item, stealth_ring2, two_handed_sword1, item, two_handed_sword2, strange_helmet1, item, strange_helmet2, blue_robe1, item, blue_robe2}},
  446. {"Quara_Pincher", {gold1, gold, gold2, platinum_coin1, ruchome, platinum_coin2, great_health_potion1, potions, great_health_potion2, halberd1, item, halberd2, quara_pincers1, ruchome, quara_pincers2, shrimp1, food, shrimp2, small_ruby1, ruchome, small_ruby2, fish_fin1, ruchome, fish_fin2, warrior_helmet1, item, warrior_helmet2, crown_armor1, item, crown_armor2, giant_shrimp1, item, giant_shrimp2, glacier_robe1, item, glacier_robe2}},
  447. {"Quara_Predator", {gold1, gold, gold2, quara_bone1, ruchome, quara_bone2, royal_spear1, ammu, royal_spear2, small_diamond1, ruchome, small_diamond2, shrimp1, food, shrimp2, double_axe1, item, double_axe2, fish_fin1, ruchome, fish_fin2, great_health_potion1, potions, great_health_potion2, relic_sword1, item, relic_sword2, assassin_star1, ammu, assassin_star2, glacier_robe1, item, glacier_robe2, skull_helmet1, item, skull_helmet2, giant_shrimp1, item, giant_shrimp2}},
  448. {"Hydra", {gold1, gold, gold2, ham1, food, ham2, platinum_coin1, ruchome, platinum_coin2, hydra_head1, ruchome, hydra_head2, small_sapphire1, ruchome, small_sapphire2, cucumber1, food, cucumber2, ring_of_healing1, item, ring_of_healing2, knight_armor1, item, knight_armor2, stone_skin_amulet1, item, stone_skin_amulet2, hydra_egg1, item, hydra_egg2, warrior_helmet1, item, warrior_helmet2, life_crystal1, ruchome, life_crystal2, strong_mana_potion1, potions, strong_mana_potion2, medusa_shield1, item, medusa_shield2, royal_helmet1, item, royal_helmet2, boots_of_haste1, item, boots_of_haste2}},
  449. {"Tortoise", {gold1, gold, gold2, fish1, food, fish2, plate_shield1, item, plate_shield2, battle_hammer1, item, battle_hammer2, tortoise_egg1, food, tortoise_egg2, turtle_shell1, ruchome, turtle_shell2, tortoise_shield1, item, tortoise_shield2}},
  450. {"Thornback_Tortoise", {gold1, gold, gold2, fish1, food, fish2, thorn1, ruchome, thorn2, health_potion1, potions, health_potion2, tortoise_egg1, food, tortoise_egg2, black_pearl1, ruchome, black_pearl2, brown_mushroom1, food, brown_mushroom2, turtle_shell1, ruchome, turtle_shell2, war_hammer1, item, war_hammer2, white_mushroom1, food, white_mushroom2, white_pearl1, ruchome, white_pearl2}},
  451. {"Armadile", {gold1, gold, gold2, platinum_coin1, ruchome, platinum_coin2, battle_stone1, ruchome, battle_stone2, coal1, ruchome, coal2, crystalline_spikes1, ruchome, crystalline_spikes2, drill_bolt1, ammu, drill_bolt2, envenomed_arrow1, ammu, envenomed_arrow2, great_health_potion1, potions, great_health_potion2, great_mana_potion1, potions, great_mana_potion2, green_crystal_fragment1, ruchome, green_crystal_fragment2, mana_potion1, potions, mana_potion2, strong_health_potion1, potions, strong_health_potion2, strong_mana_potion1, potions, strong_mana_potion2, green_crystal_splinter1, ruchome, green_crystal_splinter2, terra_boots1, item, terra_boots2, bonebreaker1, item, bonebreaker2, time_ring1, item, time_ring2, titan_axe1, item, titan_axe2, tower_shield1, item, tower_shield2, crystalline_arrow1, ammu, crystalline_arrow2}},
  452. {"Crocodile", {gold1, gold, gold2, ham1, food, ham2, piece_of_crocodile_leather1, ruchome, piece_of_crocodile_leather2, crocodile_boots1, item, crocodile_boots2}},
  453. {"Crystalcrusher", {gold1, gold, gold2, brown_crystal_splinter1, ruchome, brown_crystal_splinter2, green_crystal_splinter1, ruchome, green_crystal_splinter2, blue_crystal_splinter1, ruchome, blue_crystal_splinter2, crystalline_arrow1, ammu, crystalline_arrow2, crystalline_spikes1, ruchome, crystalline_spikes2}},
  454. {"Killer_Caiman", {gold1, gold, gold2, ham1, food, ham2, piece_of_crocodile_leather1, ruchome, piece_of_crocodile_leather2, small_emerald1, ruchome, small_emerald2, bunch_of_ripe_rice1, ruchome, bunch_of_ripe_rice2, obsidian_lance1, item, obsidian_lance2, giant_shimmering_pearl1, ruchome, giant_shimmering_pearl2, giant_shimmering_pearll1, ruchome, giant_shimmering_pearll2, crocodile_boots1, item, crocodile_boots2}},
  455. {"Wyrm", {gold1, gold, gold2, dragon_ham1, food, dragon_ham2, strong_health_potion1, potions, strong_health_potion2, strong_mana_potion1, potions, strong_mana_potion2, wyrm_scale1, ruchome, wyrm_scale2, burst_arrow1, ammu, burst_arrow2, crossbow1, item, crossbow2, focus_cape1, item, focus_cape2, wand_of_draconia1, item, wand_of_draconia2, small_diamond1, ruchome, small_diamond2, lightning_pendant1, item, lightning_pendant2, wand_of_starstorm1, item, wand_of_starstorm2, hibiscus_dress1, item, hibiscus_dress2, dragonbone_staff1, item, dragonbone_staff2, shockwave_amulet1, item, shockwave_amulet2, composite_hornbow1, item, composite_hornbow2}},
  456. {"Elder_Wyrm", {gold1, gold, gold2, dragon_ham1, food, dragon_ham2, platinum_coin1, ruchome, platinum_coin2, strong_mana_potion1, potions, strong_mana_potion2, strong_health_potion1, potions, strong_health_potion2, wyrm_scale1, ruchome, wyrm_scale2, crossbow1, item, crossbow2, small_diamond1, ruchome, small_diamond2, soul_orb1, ruchome, soul_orb2, lightning_legs1, item, lightning_legs2, wand_of_draconia1, item, wand_of_draconia2, lightning_pendant1, item, lightning_pendant2, wand_of_starstorm1, item, wand_of_starstorm2, lightning_robe1, item, lightning_robe2, shadow_sceptre1, item, shadow_sceptre2, composite_hornbow1, item, composite_hornbow2, lightning_boots1, item, lightning_boots2, shockwave_amulet1, item, shockwave_amulet2, focus_cape1, item, focus_cape2, dragonbone_staff1, item, dragonbone_staff2}},
  457. {"", {}},
  458. {"", {}},
  459. {"", {}},
  460. {"", {}},
  461. {"", {}},
  462. {"", {}},
  463. {"", {}},
  464. {"", {}},
  465. {"", {}},
  466. {"", {}},
  467. {"", {}},
  468. {"", {}},
  469. {"", {}},
  470. {"", {}},
  471. {"", {}},
  472. {"", {}},
  473. {"", {}},
  474. {"", {}},
  475. {"", {}},
  476. {"", {}},
  477. {"", {}},
  478. {"", {}},
  479. {"", {}},
  480. {"", {}},
  481. {"", {}},
  482. {"", {}},
  483. {"", {}},
  484. {"", {}},
  485. {"", {}},
  486. {"", {}},
  487. {"", {}},
  488. {"", {}},
  489. {"", {}},
  490. {"", {}},
  491. {"", {}},
  492. {"", {}},
  493. {"", {}},
  494. {"", {}},
  495. {"", {}},
  496. {"", {}},
  497. {"", {}},
  498. {"", {}},
  499. {"", {}},
  500. {"", {}},
  501. {"", {}},
  502. {"", {}},
  503. {"", {}},
  504. {"", {}},
  505. {"", {}},
  506. {"", {}},
  507. };
  508.  
  509. vector<string> lista;  
  510.    
  511.        
  512.     while (cin >> instrukcja)
  513.     {
  514.         switch(instrukcja)
  515.         {
  516.         case 'd':
  517.             cout << "Add new monster." << endl;
  518.                
  519.                         while(cin >> in){
  520.                         auto it = komendy.find(in);
  521.                         if(it == end(komendy)) continue;
  522.  
  523.                         //lista.insert(end(lista),begin(it->second),end(it->second));
  524.                        
  525.                         for(string const& s : it->second){
  526.                             /*if(s == item)
  527.                             {
  528.                                 lista.push_back(s);
  529.                             }*/
  530.                         auto znaleziono = find(begin(lista),end(lista),s);
  531.                         /*if(s == item)
  532.                             {
  533.                                 lista.push_back(s);
  534.                             }*/
  535.                         if((znaleziono == end(lista)) || s == item || s == runes || s == gold || s == potions || s == ruchome || s == ammu)
  536.                         {
  537.                             lista.push_back(s);
  538.                         }
  539.                         //if(znaleziono == end(lista)) lista.insert(end(lista),begin(it->second),end(it->second));
  540.                         }
  541.                         break;
  542.                         }
  543.                
  544.                 break;
  545.                 case 'w':
  546.                     cout << "Loot list:" << endl << endl;
  547.  
  548.                     for(string const& s : lista) cout << s;
  549.  
  550.  
  551.                     break;
  552.                     case 'z':
  553.                         system("PAUSE");
  554.                         return 0;
  555.                         return EXIT_SUCCESS;
  556.                         break;
  557.                             default:
  558.                                 cout << "You have to chose something!" << endl;
  559.                                 break;
  560.                                     case 'c':
  561.                                         system("cls");
  562.                                         cout << "                 Loot list creator for Ibot by Spens13 v.0.2 (alpha)" << endl << endl;
  563.                                         cout << "User manual:" << endl;
  564.                                         cout << "'d' to add new monster" << endl;
  565.                                         cout << "'w' to show list of all loot" << endl;
  566.                                         cout << "'z' to close program" << endl;
  567.                                         cout << "'c' to clear console window (but not program memory)" << endl;
  568.                                         cout << "'s' to save list to .txt file (\"LootList.txt\")" << endl;
  569.                                         cout << "'m' to show list of all monsters which you can add" << endl;
  570.    
  571.                                         cout << endl;  
  572.                                        
  573.                                         cout << endl;
  574.                                         break;
  575.                                         case 'm':
  576.                                                 cout << "List of all monsters which you can add." << endl << endl;
  577.                                                 cout << "Armadile" << endl;
  578.                                                 cout << "Azure_Frog" << endl;
  579.                                                 cout << "Bog_Raider" << endl;
  580.                                                 cout << "Coral_Frog" << endl;
  581.                                                 cout << "Crimson_Frog" << endl;
  582.                                                 cout << "Crocodile" << endl;
  583.                                                 cout << "Crystalcrusher" << endl;
  584.                                                 cout << "Deepling_Brawler"<< endl;
  585.                                                 cout << "Deepling_Elite"<< endl;
  586.                                                 cout << "Deepling_Guard"<< endl;
  587.                                                 cout << "Deepling_Master_Librarian"<< endl;
  588.                                                 cout << "Deepling_Scout"<< endl;
  589.                                                 cout << "Deepling_Spellsinger"<< endl;
  590.                                                 cout << "Deepling_Tyrant"<< endl;
  591.                                                 cout << "Deepling_Warrior"<< endl;
  592.                                                 cout << "Deepling_Worker"<< endl;
  593.                                                 cout << "Elder_Wyrm" << endl;
  594.                                                 cout << "Filth_Toad" << endl;
  595.                                                 cout << "Groam" << endl;
  596.                                                 cout << "Hydra" << endl;
  597.                                                 cout << "Infernal_Frog" << endl;
  598.                                                 cout << "Killer_Caiman" << endl;
  599.                                                 cout << "Orc" << endl;
  600.                                                 cout << "Orc_Berserker" << endl;
  601.                                                 cout << "Orc_Leader" << endl;
  602.                                                 cout << "Orc_Marauder" << endl;
  603.                                                 cout << "Orc_Rider" << endl;
  604.                                                 cout << "Orc_Shaman" << endl;
  605.                                                 cout << "Orc_Spearman" << endl;
  606.                                                 cout << "Orc_Warlord" << endl;
  607.                                                 cout << "Orc_Warrior" << endl;
  608.                                                 cout << "Orchid_Frog" << endl;
  609.                                                 cout << "Quara_Constrictor" << endl;
  610.                                                 cout << "Quara_Hydromancer" << endl;
  611.                                                 cout << "Quara_Mantassin" << endl;
  612.                                                 cout << "Quara_Pincher" << endl;
  613.                                                 cout << "Quara_Predator" << endl;
  614.                                                 cout << "Rorc" << endl;
  615.                                                 cout << "Rat" << endl;
  616.                                                 cout << "Salamander" << endl;
  617.                                                 cout << "Thornback_Tortoise" << endl;
  618.                                                 cout << "Toad" << endl;
  619.                                                 cout << "Tortoise" << endl;
  620.                                                 cout << "Wyrm" << endl;
  621.                                                
  622.                                                
  623.                                                 break;
  624.                                                 case 's':
  625.                                                     cout << "Save to file." << endl << endl;
  626.                                                     ofstream myfile ("LootList.txt");
  627.                                                     if (myfile.is_open())
  628.                                                     {
  629.                                                         for(string const& s : lista) myfile << s;
  630.                                                  
  631.                                                      myfile.close();
  632.                                                     cout << "Done!" << endl;
  633.                                                     cout << "Remember about runing \"Fixer.exe\"." << endl;
  634.                                                     }
  635.                                                     else cout << "Unable to open file.";
  636.                                                     break;
  637.         }
  638.     }
  639.    
  640.    
  641.    
  642.    
  643.    
  644.     system("PAUSE");
  645.     return 0;
  646.     return EXIT_SUCCESS;
  647. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement