Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- #include <string.h>
- #include <stdlib.h>
- #include <unordered_set>
- #include <vector>
- #include <unordered_map>
- #include <fstream>
- #include <algorithm>
- using namespace std;
- int fileExists (const char* fileName)
- {
- FILE* plik;
- plik = fopen(fileName, "r");
- if ( plik )
- {
- fclose(plik);
- return 1;
- }
- fclose(plik);
- return 0;
- }
- /* run this program using the console pauser or add your own getch, system("pause") or input loop */
- int main(int argc, char** argv) {
- if ( fileExists("LootList.txt") )
- {
- remove("LootList.txt");
- }
- string item;
- string gold;
- string potions;
- string runes;
- string ruchome;
- string ammu;
- string in;
- string food;
- char instrukcja;
- string gold1 = " <gold-coin>\n <Id>3031</Id>\n <Destination>";
- string gold2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </gold-coin>\n";
- string hunting_spear1 = " <hunting-spear>\n <Id>3347</Id>\n <Destination>";
- string hunting_spear2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </hunting-spear>\n";
- string rusty_armor_semi_rare1 = " <rusty-armor>\n <Id>8895</Id>\n <Destination>";
- string rusty_armor_semi_rare2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </rusty-armor>\n";
- string small_emerald1 = " <small-emerald>\n <Id>3032</Id>\n <Destination>";
- string small_emerald2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </small-emerald>\n";
- string fish_fin1 = " <fish-fin>\n <Id>5895</Id>\n <Destination>";
- string fish_fin2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </fish-fin>\n";
- string life_ring1 = " <life-ring>\n <Id>3052</Id>\n <Destination>";
- string life_ring2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </life-ring>\n";
- string fish1 = " <fish>\n <Id>3578</Id>\n <Destination>";
- string fish2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </fish>\n";
- string deepling_scales1 = " <deepling-scales>\n <Id>14017</Id>\n <Destination>";
- string deepling_scales2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </deepling-scales>\n";
- string heavy_trident1 = " <heavy-trident>\n <Id>12683</Id>\n <Destination>";
- string heavy_trident2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </heavy-trident>\n";
- string eye_of_a_deepling1 = " <eye-of-a-deepling>\n <Id>12730</Id>\n <Destination>";
- string eye_of_a_deepling2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </eye-of-a-deepling>\n";
- string deepling_filet1 = " <deepling-filet>\n <Id>14085</Id>\n <Destination>";
- string deepling_filet2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </deepling-filet>\n";
- string deepling_ridge1 = " <deepling-ridge>\n <Id>14041</Id>\n <Destination>";
- string deepling_ridge2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </deepling-ridge>\n";
- string deepling_warts1 = " <deepling-warts>\n <Id>14012</Id>\n <Destination>";
- string deepling_warts2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </deepling-warts>\n";
- string deeptags1 = " <deeptags>\n <Id>14013</Id>\n <Destination>";
- string deeptags2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </deeptags>\n";
- string great_health_potion1 = " <great-health-potion>\n <Id>239</Id>\n <Destination>";
- string great_health_potion2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </great-health-potion>\n";
- string great_mana_potion1 = " <great-mana-potion>\n <Id>238</Id>\n <Destination>";
- string great_mana_potion2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </great-mana-potion>\n";
- string vortex_bolt1 = " <vortex-bolt>\n <Id>14252</Id>\n <Destination>";
- string vortex_bolt2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </vortex-bolt>\n";
- string warriors_axe1 = " <warrior's-axe>\n <Id>14040</Id>\n <Destination>";
- string warriors_axe2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </warrior's-axe>\n";
- string warriors_shield1 = " <warrior's-shield>\n <Id>14042</Id>\n <Destination>";
- string warriors_shield2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </warrior's-shield>\n";
- string platinum_coin1 = " <platinum-coin>\n <Id>3035</Id>\n <Destination>";
- string platinum_coin2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </platinum-coin>\n";
- string deepling_breaktime_snack1 = " <deepling-breaktime-snack>\n <Id>14011</Id>\n <Destination>";
- string deepling_breaktime_snack2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </deepling-breaktime-snack>\n";
- string deepling_claw1 = " <deepling-claw>\n <Id>14044</Id>\n <Destination>";
- string deepling_claw2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </deepling-claw>\n";
- string deepling_guard_belt_buckle1 = " <deepling-guard-belt-buckle>\n <Id>14010</Id>\n <Destination>";
- string deepling_guard_belt_buckle2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </deepling-guard-belt-buckle>\n";
- string small_sapphire1 = " <small-sapphire>\n <Id>3029</Id>\n <Destination>";
- string small_sapphire2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </small-sapphire>\n";
- string deepling_backpack1 = " <deepling-backpack>\n <Id>14248</Id>\n <Destination>";
- string deepling_backpack2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </deepling-backpack>\n";
- string deepling_squelcher1 = " <deepling-squelcher>\n <Id>14250</Id>\n <Destination>";
- string deepling_squelcher2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </deepling-squelcher>\n";
- string guardian_axe1 = " <guardian-axe>\n <Id>14043</Id>\n <Destination>";
- string guardian_axe2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </guardian-axe>\n";
- string ornate_crossbow1 = " <ornate-crossbow>\n <Id>14247</Id>\n <Destination>";
- string ornate_crossbow2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </ornate-crossbow>\n";
- string foxtail1 = " <foxtail>\n <Id>14142</Id>\n <Destination>";
- string foxtail2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </foxtail>\n";
- string key_to_the_drowned_library1 = " <key-to-the-Drowned-Library>\n <Id>14009</Id>\n <Destination>";
- string key_to_the_drowned_library2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </key-to-the-Drowned-Library>\n";
- string spellsingers_seal1 = " <spellsinger's-seal>\n <Id>14008</Id>\n <Destination>";
- string spellsingers_seal2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </spellsinger's-seal>\n";
- string deepling_staff1 = " <deepling-staff>\n <Id>13987</Id>\n <Destination>";
- string deepling_staff2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </deepling-staff>\n";
- string necklace_of_the_deep1 = " <necklace-of-the-deep>\n <Id>13990</Id>\n <Destination>";
- string necklace_of_the_deep2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </necklace-of-the-deep>\n";
- string flask_of_rust_remover1 = " <flask-of-rust-remover>\n <Id>9016</Id>\n <Destination>";
- string flask_of_rust_remover2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </flask-of-rust-remover>\n";
- string worm1 = " <worm>\n <Id>3492</Id>\n <Destination>";
- string worm2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </worm>\n";
- string poisonous_slime1 = " <poisonous-slime>\n <Id>9640</Id>\n <Destination>";
- string poisonous_slime2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </poisonous-slime>\n";
- string mace1 = " <mace>\n <Id>3286</Id>\n <Destination>";
- string mace2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </mace>\n";
- string two_handed_sword1 = " <two-handed-sword>\n <Id>3265</Id>\n <Destination>";
- string two_handed_sword2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </two-handed-sword>\n";
- string war_hammer1 = " <war-hammer>\n <Id>3279</Id>\n <Destination>";
- string war_hammer2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </war-hammer>\n";
- string arrow1 = " <arrow>\n <Id>3447</Id>\n <Destination>";
- string arrow2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </arrow>\n";
- string insectoid_eggs1 = " <insectoid-eggs>\n <Id>17457</Id>\n <Destination>";
- string insectoid_eggs2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </insectoid-eggs>\n";
- string rope1 = " <rope>\n <Id>3003</Id>\n <Destination>";
- string rope2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </rope>\n";
- string brass_helmet1 = " <brass-helmet>\n <Id>3354</Id>\n <Destination>";
- string brass_helmet2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </brass-helmet>\n";
- string bow1 = " <bow>\n <Id>3350</Id>\n <Destination>";
- string bow2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </bow>\n";
- string health_potion1 = " <health-potion>\n <Id>266</Id>\n <Destination>";
- string health_potion2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </health-potion>\n";
- string scimitar1 = " <scimitar>\n <Id>3307</Id>\n <Destination>";
- string scimitar2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </scimitar>\n";
- string quara_tentacle1 = " <quara-tentacle>\n <Id>11487</Id>\n <Destination>";
- string quara_tentacle2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </quara-tentacle>\n";
- string longsword1 = " <longsword>\n <Id>3285</Id>\n <Destination>";
- string longsword2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </longsword>\n";
- string shrimp1 = " <shrimp>\n <Id>3581</Id>\n <Destination>";
- string shrimp2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </shrimp>\n";
- string brass_armor1 = " <brass-armor>\n <Id>3359</Id>\n <Destination>";
- string brass_armor2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </brass-armor>\n";
- string small_amethyst1 = " <small-amethyst>\n <Id>3033</Id>\n <Destination>";
- string small_amethyst2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </small-amethyst>\n";
- string quara_eye1 = " <quara-eye>\n <Id>11488</Id>\n <Destination>";
- string quara_eye2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </quara-eye>\n";
- string white_pearl1 = " <white-pearl>\n <Id>3026</Id>\n <Destination>";
- string white_pearl2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </white-pearl>\n";
- string black_pearl1 = " <black-pearl>\n <Id>3027</Id>\n <Destination>";
- string black_pearl2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </black-pearl>\n";
- string ring_of_healing1 = " <ring-of-healing>\n <Id>3098</Id>\n <Destination>";
- string ring_of_healing2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </ring-of-healing>\n";
- string wand_of_cosmic_energy1 = " <wand-of-cosmic-energy>\n <Id>3073</Id>\n <Destination>";
- string wand_of_cosmic_energy2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </wand-of-cosmic-energy>\n";
- string knight_armor1 = " <knight-armor>\n <Id>3370</Id>\n <Destination>";
- string knight_armor2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </knight-armor>\n";
- string halberd1 = " <halberd>\n <Id>3269</Id>\n <Destination>";
- string halberd2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </halberd>\n";
- string mantassin_tail1 = " <mantassin-tail>\n <Id>11489</Id>\n <Destination>";
- string mantassin_tail2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </mantassin-tail>\n";
- string stealth_ring1 = " <stealth-ring>\n <Id>3049</Id>\n <Destination>";
- string stealth_ring2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </stealth-ring>\n";
- string strange_helmet1 = " <strange-helmet>\n <Id>3373</Id>\n <Destination>";
- string strange_helmet2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </strange-helmet>\n";
- string blue_robe1 = " <blue-robe>\n <Id>3567</Id>\n <Destination>";
- string blue_robe2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </blue-robe>\n";
- string quara_pincers1 = " <quara-pincers>\n <Id>11490</Id>\n <Destination>";
- string quara_pincers2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </quara-pincers>\n";
- string small_ruby1 = " <small-ruby>\n <Id>3030</Id>\n <Destination>";
- string small_ruby2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </small-ruby>\n";
- string warrior_helmet1 = " <warrior-helmet>\n <Id>3369</Id>\n <Destination>";
- string warrior_helmet2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </warrior-helmet>\n";
- string crown_armor1 = " <crown-armor>\n <Id>3381</Id>\n <Destination>";
- string crown_armor2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </crown-armor>\n";
- string giant_shrimp1 = " <giant-shrimp>\n <Id>12318</Id>\n <Destination>";
- string giant_shrimp2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </giant-shrimp>\n";
- string glacier_robe1 = " <glacier-robe>\n <Id>824</Id>\n <Destination>";
- string glacier_robe2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </glacier-robe>\n";
- string quara_bone1 = " <quara-bone>\n <Id>11491</Id>\n <Destination>";
- string quara_bone2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </quara-bone>\n";
- string royal_spear1 = " <royal-spear>\n <Id>7378</Id>\n <Destination>";
- string royal_spear2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </royal-spear>\n";
- string small_diamond1 = " <small-diamond>\n <Id>3028</Id>\n <Destination>";
- string small_diamond2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </small-diamond>\n";
- string double_axe1 = " <double-axe>\n <Id>3275</Id>\n <Destination>";
- string double_axe2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </double-axe>\n";
- string relic_sword1 = " <relic-sword>\n <Id>7383</Id>\n <Destination>";
- string relic_sword2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </relic-sword>\n";
- string assassin_star1 = " <assassin-star>\n <Id>7368</Id>\n <Destination>";
- string assassin_star2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </assassin-star>\n";
- string skull_helmet1 = " <skull-helmet>\n <Id>5741</Id>\n <Destination>";
- string skull_helmet2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </skull-helmet>\n";
- string ham1 = " <ham>\n <Id>3582</Id>\n <Destination>";
- string ham2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </ham>\n";
- string hydra_head1 = " <hydra-head>\n <Id>10282</Id>\n <Destination>";
- string hydra_head2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </hydra-head>\n";
- string cucumber1 = " <cucumber>\n <Id>8014</Id>\n <Destination>";
- string cucumber2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </cucumber>\n";
- string stone_skin_amulet1 = " <stone-skin-amulet>\n <Id>3081</Id>\n <Destination>";
- string stone_skin_amulet2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </stone-skin-amulet>\n";
- string hydra_egg1 = " <hydra-egg>\n <Id>4839</Id>\n <Destination>";
- string hydra_egg2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </hydra-egg>\n";
- string life_crystal1 = " <life-crystal>\n <Id>3061</Id>\n <Destination>";
- string life_crystal2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </life-crystal>\n";
- string strong_mana_potion1 = " <strong-mana-potion>\n <Id>237</Id>\n <Destination>";
- string strong_mana_potion2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </strong-mana-potion>\n";
- string medusa_shield1 = " <medusa-shield>\n <Id>3436</Id>\n <Destination>";
- string medusa_shield2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </medusa-shield>\n";
- string royal_helmet1 = " <royal-helmet>\n <Id>3392</Id>\n <Destination>";
- string royal_helmet2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </royal-helmet>\n";
- string boots_of_haste1 = " <boots-of-haste>\n <Id>3079</Id>\n <Destination>";
- string boots_of_haste2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </boots-of-haste>\n";
- string plate_shield1 = " <plate-shield>\n <Id>3410</Id>\n <Destination>";
- string plate_shield2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </plate-shield>\n";
- string battle_hammer1 = " <battle-hammer>\n <Id>3305</Id>\n <Destination>";
- string battle_hammer2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </battle-hammer>\n";
- string tortoise_egg1 = " <tortoise-egg>\n <Id>5678</Id>\n <Destination>";
- string tortoise_egg2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </tortoise-egg>\n";
- string turtle_shell1 = " <turtle-shell>\n <Id>5899</Id>\n <Destination>";
- string turtle_shell2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </turtle-shell>\n";
- string tortoise_shield1 = " <tortoise-shield>\n <Id>6131</Id>\n <Destination>";
- string tortoise_shield2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </tortoise-shield>\n";
- string thorn1 = " <thorn>\n <Id>9643</Id>\n <Destination>";
- string thorn2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </thorn>\n";
- string brown_mushroom1 = " <brown-mushroom>\n <Id>3725</Id>\n <Destination>";
- string brown_mushroom2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </brown-mushroom>\n";
- string white_mushroom1 = " <white-mushroom>\n <Id>3723</Id>\n <Destination>";
- string white_mushroom2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </white-mushroom>\n";
- string piece_of_crocodile_leather1 = " <piece-of-crocodile-leather>\n <Id>10279</Id>\n <Destination>";
- string piece_of_crocodile_leather2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </piece-of-crocodile-leather>\n";
- string bunch_of_ripe_rice1 = " <bunch-of-ripe-rice>\n <Id>10328</Id>\n <Destination>";
- string bunch_of_ripe_rice2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </bunch-of-ripe-rice>\n";
- string obsidian_lance1 = " <obsidian-lance>\n <Id>3313</Id>\n <Destination>";
- string obsidian_lance2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </obsidian-lance>\n";
- string giant_shimmering_pearl1 = " <giant-shimmering-pearl>\n <Id>281</Id>\n <Destination>";
- string giant_shimmering_pearl2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </giant-shimmering-pearl>\n";
- string giant_shimmering_pearll1 = " <giant-shimmering-pearll>\n <Id>282</Id>\n <Destination>";
- string giant_shimmering_pearll2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </giant-shimmering-pearll>\n";
- string crocodile_boots1 = " <crocodile-boots>\n <Id>3556</Id>\n <Destination>";
- string crocodile_boots2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </crocodile-boots>\n";
- string brown_crystal_splinter1 = " <brown-crystal-splinter>\n <Id>16123</Id>\n <Destination>";
- string brown_crystal_splinter2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </brown-crystal-splinter>\n";
- string green_crystal_splinter1 = " <green-crystal-splinter>\n <Id>16122</Id>\n <Destination>";
- string green_crystal_splinter2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </green-crystal-splinter>\n";
- string blue_crystal_splinter1 = " <blue-crystal-splinter>\n <Id>16124</Id>\n <Destination>";
- string blue_crystal_splinter2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </blue-crystal-splinter>\n";
- string crystalline_arrow1 = " <crystalline-arrow>\n <Id>15793</Id>\n <Destination>";
- string crystalline_arrow2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </crystalline-arrow>\n";
- string crystalline_spikes1 = " <crystalline-spikes>\n <Id>16138</Id>\n <Destination>";
- string crystalline_spikes2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </crystalline-spikes>\n";
- string battle_stone1 = " <battle-stone>\n <Id>11447</Id>\n <Destination>";
- string battle_stone2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </battle-stone>\n";
- string drill_bolt1 = " <drill-bolt>\n <Id>16142</Id>\n <Destination>";
- string drill_bolt2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </drill-bolt>\n";
- string envenomed_arrow1 = " <envenomed-arrow>\n <Id>16143</Id>\n <Destination>";
- string envenomed_arrow2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </envenomed-arrow>\n";
- string green_crystal_fragment1 = " <green-crystal-fragment>\n <Id>16127</Id>\n <Destination>";
- string green_crystal_fragment2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </green-crystal-fragment>\n";
- string mana_potion1 = " <mana-potion>\n <Id>268</Id>\n <Destination>";
- string mana_potion2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </mana-potion>\n";
- string strong_health_potion1 = " <strong-health-potion>\n <Id>236</Id>\n <Destination>";
- string strong_health_potion2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </strong-health-potion>\n";
- string terra_boots1 = " <terra-boots>\n <Id>813</Id>\n <Destination>";
- string terra_boots2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </terra-boots>\n";
- string bonebreaker1 = " <bonebreaker>\n <Id>7428</Id>\n <Destination>";
- string bonebreaker2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </bonebreaker>\n";
- string time_ring1 = " <time-ring>\n <Id>3053</Id>\n <Destination>";
- string time_ring2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </time-ring>\n";
- string titan_axe1 = " <titan-axe>\n <Id>7413</Id>\n <Destination>";
- string titan_axe2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </titan-axe>\n";
- string tower_shield1 = " <tower-shield>\n <Id>3428</Id>\n <Destination>";
- string tower_shield2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </tower-shield>\n";
- string coal1 = " <coal>\n <Id>12600</Id>\n <Destination>";
- string coal2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </coal>\n";
- string dragon_ham1 = " <dragon-ham>\n <Id>3583</Id>\n <Destination>";
- string dragon_ham2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </dragon-ham>\n";
- string wyrm_scale1 = " <wyrm-scale>\n <Id>9665</Id>\n <Destination>";
- string wyrm_scale2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </wyrm-scale>\n";
- string burst_arrow1 = " <burst-arrow>\n <Id>3449</Id>\n <Destination>";
- string burst_arrow2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </burst-arrow>\n";
- string crossbow1 = " <crossbow>\n <Id>3349</Id>\n <Destination>";
- string crossbow2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </crossbow>\n";
- string focus_cape1 = " <focus-cape>\n <Id>8043</Id>\n <Destination>";
- string focus_cape2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </focus-cape>\n";
- string wand_of_draconia1 = " <wand-of-draconia>\n <Id>8093</Id>\n <Destination>";
- string wand_of_draconia2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </wand-of-draconia>\n";
- string lightning_pendant1 = " <lightning-pendant>\n <Id>816</Id>\n <Destination>";
- string lightning_pendant2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </lightning-pendant>\n";
- string wand_of_starstorm1 = " <wand-of-starstorm>\n <Id>8092</Id>\n <Destination>";
- string wand_of_starstorm2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </wand-of-starstorm>\n";
- string hibiscus_dress1 = " <hibiscus-dress>\n <Id>8045</Id>\n <Destination>";
- string hibiscus_dress2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </hibiscus-dress>\n";
- string dragonbone_staff1 = " <dragonbone-staff>\n <Id>7430</Id>\n <Destination>";
- string dragonbone_staff2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </dragonbone-staff>\n";
- string shockwave_amulet1 = " <shockwave-amulet>\n <Id>9304</Id>\n <Destination>";
- string shockwave_amulet2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </shockwave-amulet>\n";
- string composite_hornbow1 = " <composite-hornbow>\n <Id>8027</Id>\n <Destination>";
- string composite_hornbow2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </composite-hornbow>\n";
- string soul_orb1 = " <soul-orb>\n <Id>5944</Id>\n <Destination>";
- string soul_orb2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </soul-orb>\n";
- string lightning_legs1 = " <lightning-legs>\n <Id>822</Id>\n <Destination>";
- string lightning_legs2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </lightning-legs>\n";
- string lightning_robe1 = " <lightning-robe>\n <Id>825</Id>\n <Destination>";
- string lightning_robe2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </lightning-robe>\n";
- string shadow_sceptre1 = " <shadow-sceptre>\n <Id>7451</Id>\n <Destination>";
- string shadow_sceptre2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </shadow-sceptre>\n";
- string lightning_boots1 = " <lightning-boots>\n <Id>820</Id>\n <Destination>";
- string lightning_boots2 = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </lightning-boots>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- string = " <>\n <Id></Id>\n <Destination>";
- string = "</Destination>\n <AlarmOn>No Alarm</AlarmOn>\n </>\n";
- cout << " Loot list creator for Ibot by Spens13 v.0.2 (alpha)" << endl << endl;
- cout << "Befor we start, you need to fill up destinations of some kind of items." << endl;
- cout << "Gold: ";
- cin >> gold;
- cout << "Potions: ";
- cin >> potions;
- cout << "Runes: ";
- cin >> runes;
- cout << "Stackable: ";
- cin >> ruchome;
- cout << "Normal items: ";
- cin >> item;
- cout << "Amunition: ";
- cin >> ammu;
- cout << "Food: ";
- cin >> food;
- system("cls");
- cout << " Loot list creator for Ibot by Spens13 v.0.2 (alpha)" << endl << endl;
- cout << "User manual:" << endl;
- cout << "'d' to add new monster" << endl;
- cout << "'w' to show list of all loot" << endl;
- cout << "'z' to close program" << endl;
- cout << "'c' to clear console window (but not program memory)" << endl;
- cout << "'s' to save list to .txt file (\"LootList.txt\")" << endl;
- cout << "'m' to show list of all monsters which you can add" << endl;
- cout << endl;
- unordered_map<string,vector<string>> komendy = {
- {"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"}},
- {"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"}},
- {"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"}},
- {"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"}},
- {"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"}},
- {"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"}},
- {"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"}},
- {"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"}},
- {"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"}},
- {"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"}},
- {"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"}},
- {"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"}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"Azure_Frog", {gold1, gold, gold2, worm1, ruchome, worm2}},
- {"Coral_Frog", {gold1, gold, gold2, worm1, ruchome, worm2}},
- {"Crimson_Frog", {gold1, gold, gold2, worm1, ruchome, worm2}},
- {"Filth_Toad", {gold1, gold, gold2, fish1, food, fish2, poisonous_slime1, ruchome, poisonous_slime2, mace1, item, mace2, two_handed_sword1, item, two_handed_sword2}},
- {"Infernal_Frog", {gold1, gold, gold2}},
- {"Orchid_Frog", {gold1, gold, gold2, worm1, ruchome, worm2}},
- {"Toad", {gold1, gold, gold2, fish1, food, fish2, mace1, item, mace2, poisonous_slime1, ruchome, poisonous_slime2, war_hammer1, item, war_hammer2}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"Crocodile", {gold1, gold, gold2, ham1, food, ham2, piece_of_crocodile_leather1, ruchome, piece_of_crocodile_leather2, crocodile_boots1, item, crocodile_boots2}},
- {"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}},
- {"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}},
- {"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}},
- {"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}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- {"", {}},
- };
- vector<string> lista;
- while (cin >> instrukcja)
- {
- switch(instrukcja)
- {
- case 'd':
- cout << "Add new monster." << endl;
- while(cin >> in){
- auto it = komendy.find(in);
- if(it == end(komendy)) continue;
- //lista.insert(end(lista),begin(it->second),end(it->second));
- for(string const& s : it->second){
- /*if(s == item)
- {
- lista.push_back(s);
- }*/
- auto znaleziono = find(begin(lista),end(lista),s);
- /*if(s == item)
- {
- lista.push_back(s);
- }*/
- if((znaleziono == end(lista)) || s == item || s == runes || s == gold || s == potions || s == ruchome || s == ammu)
- {
- lista.push_back(s);
- }
- //if(znaleziono == end(lista)) lista.insert(end(lista),begin(it->second),end(it->second));
- }
- break;
- }
- break;
- case 'w':
- cout << "Loot list:" << endl << endl;
- for(string const& s : lista) cout << s;
- break;
- case 'z':
- system("PAUSE");
- return 0;
- return EXIT_SUCCESS;
- break;
- default:
- cout << "You have to chose something!" << endl;
- break;
- case 'c':
- system("cls");
- cout << " Loot list creator for Ibot by Spens13 v.0.2 (alpha)" << endl << endl;
- cout << "User manual:" << endl;
- cout << "'d' to add new monster" << endl;
- cout << "'w' to show list of all loot" << endl;
- cout << "'z' to close program" << endl;
- cout << "'c' to clear console window (but not program memory)" << endl;
- cout << "'s' to save list to .txt file (\"LootList.txt\")" << endl;
- cout << "'m' to show list of all monsters which you can add" << endl;
- cout << endl;
- cout << endl;
- break;
- case 'm':
- cout << "List of all monsters which you can add." << endl << endl;
- cout << "Armadile" << endl;
- cout << "Azure_Frog" << endl;
- cout << "Bog_Raider" << endl;
- cout << "Coral_Frog" << endl;
- cout << "Crimson_Frog" << endl;
- cout << "Crocodile" << endl;
- cout << "Crystalcrusher" << endl;
- cout << "Deepling_Brawler"<< endl;
- cout << "Deepling_Elite"<< endl;
- cout << "Deepling_Guard"<< endl;
- cout << "Deepling_Master_Librarian"<< endl;
- cout << "Deepling_Scout"<< endl;
- cout << "Deepling_Spellsinger"<< endl;
- cout << "Deepling_Tyrant"<< endl;
- cout << "Deepling_Warrior"<< endl;
- cout << "Deepling_Worker"<< endl;
- cout << "Elder_Wyrm" << endl;
- cout << "Filth_Toad" << endl;
- cout << "Groam" << endl;
- cout << "Hydra" << endl;
- cout << "Infernal_Frog" << endl;
- cout << "Killer_Caiman" << endl;
- cout << "Orc" << endl;
- cout << "Orc_Berserker" << endl;
- cout << "Orc_Leader" << endl;
- cout << "Orc_Marauder" << endl;
- cout << "Orc_Rider" << endl;
- cout << "Orc_Shaman" << endl;
- cout << "Orc_Spearman" << endl;
- cout << "Orc_Warlord" << endl;
- cout << "Orc_Warrior" << endl;
- cout << "Orchid_Frog" << endl;
- cout << "Quara_Constrictor" << endl;
- cout << "Quara_Hydromancer" << endl;
- cout << "Quara_Mantassin" << endl;
- cout << "Quara_Pincher" << endl;
- cout << "Quara_Predator" << endl;
- cout << "Rorc" << endl;
- cout << "Rat" << endl;
- cout << "Salamander" << endl;
- cout << "Thornback_Tortoise" << endl;
- cout << "Toad" << endl;
- cout << "Tortoise" << endl;
- cout << "Wyrm" << endl;
- break;
- case 's':
- cout << "Save to file." << endl << endl;
- ofstream myfile ("LootList.txt");
- if (myfile.is_open())
- {
- for(string const& s : lista) myfile << s;
- myfile.close();
- cout << "Done!" << endl;
- cout << "Remember about runing \"Fixer.exe\"." << endl;
- }
- else cout << "Unable to open file.";
- break;
- }
- }
- system("PAUSE");
- return 0;
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement