Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <tchar.h>
- #define _tWinMain wWinMain
- #include <iostream>
- #include <ctime>
- #include <string>
- using namespace std;
- int _tmain()
- {
- int number;
- srand(time(NULL));
- double random;
- random = (rand() % (100) + 1);
- double gold;
- gold = (random * 5);
- double d10;
- double d102;
- double weapon;
- weapon = (rand() % (10) + 1);
- d10 = (rand() % (10) + 1);
- d102 = (rand() % (10) + 1);
- bool formal = "";
- double quartz;
- double quartz2;
- double quartz3;
- double insect;
- double oak;
- double fault;
- double dragon;
- double scales;
- double cactus;
- double blooms;
- double moredust;
- double moreshell;
- double morescales;
- double moreblooms;
- double ruby;
- double silver;
- double hide;
- double enchant;
- double enchant2;
- quartz = (rand() % ((10) + 1)*5);
- quartz2 = (rand() % (10 + 1)*10);
- quartz3 = (rand() % (10 + 1)*20);
- insect = (rand() % (10) + 1);
- oak = (rand() % (10 + 1))/2;
- fault = (rand() % (10 + 1)/3);
- dragon = (rand() % (10 + 1)/5);
- scales = (rand() % (10 + 1));
- cactus = (rand() % (10 + 1));
- blooms = (rand() % (10 + 1) *2);
- moredust = (rand() % (10 + 1)/2);
- moreshell = (rand() % (10 + 1)/3);
- moreblooms = (rand() % (10 + 1)*3);
- ruby = (rand() % ((10) + 1))/5;
- silver = (rand() % (10 + 1)/5);
- hide = (rand() % ((10) + 1)/5);
- enchant = (rand() % (10 + 1) / 3);
- enchant2 = (rand() % (10 + 1) / 2);
- morescales = (rand() % (10 + 1) * 2);
- cout << "How many times are we rolling today?";
- std::cin >> number;
- for (int x = 0; x < number; x++)
- {
- cout << "You rolled " << random << endl;
- if (random >= 1 & random <= 20)
- {
- cout << "You get " << gold << "Gold";
- }
- else if (random > 20 & random <= 40)
- {
- cout << "You get a formal vessel! Rolling to see what kind of vessel you get: " << endl;
- if (d10 == 1)
- {
- cout << "You get a dagger! Rolling to see what kind of dagger you get \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Dagger!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Dagger!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Dagger!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Dagger!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Dagger!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Dagger!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Dagger!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Dagger!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Dagger!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Dagger!";
- }
- }
- else if (d10 == 2)
- {
- cout << "You get a Shortsword! Rolling to see what kind of Shortsword you get: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Shortsword!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Shortsword!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Shortsword!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Shortsword!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Shortsword!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Shortsword!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Shortsword!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Shortsword!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Shortsword!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Shortsword!";
- }
- }
- else if (d10 == 3)
- {
- cout << "You get a Longsword or Spear! Rolling to see what kind of Longsword or Spear you get: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Longsword or Spear!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Longsword or Spear!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Longsword or Spear!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Longsword or Spear!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Longsword or Spear!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Longsword or Spear!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Longsword or Spear!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Longsword or Spear!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Longsword or Spear!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Longsword or Spear!";
- }
- }
- else if (d10 == 4)
- {
- cout << "You get a Mace or Hammer! Rolling to see what kind of Mace or Hammer you get: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Mace or Hammer!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Mace or Hammer!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Mace or Hammer!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Mace or Hammer!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Mace or Hammer!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Mace or Hammer!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Mace or Hammer!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Mace or Hammer!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Mace or Hammer!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Mace or Hammer!";
- }
- }
- else if (d10 == 5)
- {
- cout << "You get a piece of jewelry! Rolling to see what material your jewelry is made out of: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron piece of jewelry!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron piece of jewelry!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver piece of jewelry!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver piece of jewelry!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal piece of jewelry!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal piece of jewelry!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold piece of jewelry!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold piece of jewelry!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone piece of jewelry!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone piece of jewelry!";
- }
- }
- else if (d10 == 6)
- {
- cout << "You get a piece of jewelry! Rolling to see what material your jewelry is made out of: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron piece of jewelry!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron piece of jewelry!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver piece of jewelry!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver piece of jewelry!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal piece of jewelry!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal piece of jewelry!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold piece of jewelry!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold piece of jewelry!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone piece of jewelry!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone piece of jewelry!";
- }
- }
- else if (d10 == 7)
- {
- cout << "You get a Wand! Rolling to see what kind of Wand you get: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Wand!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Wand!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Wand!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Wand!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Wand!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Wand!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Wand!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Wand!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Wand!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Wand!";
- }
- }
- else if (d10 == 8)
- {
- cout << "You get a two handed weapon! (player's choice). Rolling to see what material your weapon is: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron two handed weapon!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron two handed weapon!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver two handed weapon!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver two handed weapon!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal two handed weapon!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal two handed weapon!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold two handed weapon!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold two handed weapon!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone two handed weapon!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone two handed weapon!";
- }
- }
- else if (d10 == 9)
- {
- cout << "You get a two handed weapon! (player's choice). Rolling to see what material your weapon is: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron two handed weapon!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought two handed weapon!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver two handed weapon!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver two handed weapon!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal two handed weapon!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal two handed weapon!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold two handed weapon!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold two handed weapon!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone two handed weapon!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone two handed weapon!";
- }
- }
- else if (d10 == 10)
- {
- cout << "You get a shield! Rolling to see what material your shield is: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Shield!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Shield!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Shield!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Shield!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Shield!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Shield!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Shield!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Shield";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Shield!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Shield!";
- }
- }
- }
- else if (random > 40 & random <= 60)
- {
- cout << "You get some formal components! Please choose between Earth or Celestial components: " << endl;
- cin >> formal;
- if (formal = "Earth")
- {
- cout << "Rolling to see what kind of Earth components you get: "<< endl;
- if (d10 == 1)
- {
- cout << "You get " << quartz << " quartz!";
- }
- else if (d10 == 2)
- {
- cout << "You get " << quartz2 << " quarts!";
- }
- else if (d10 == 3)
- {
- cout << "You get " << quartz3 << " quartz!";
- }
- else if (d10 == 4)
- {
- cout << "You get " << insect << " insects trapped in Amber!";
- }
- else if (d10 == 5)
- {
- cout << "You get " << oak << " hearts of a 100 year old oak!";
- }
- else if (d10 == 6)
- {
- cout << "You get " << fault << " dust from a fault line!";
- }
- else if (d10 == 7)
- {
- cout << "You get " << dragon << " shells of a dragon turtle!";
- }
- else if (d10 == 8)
- {
- cout << "You get " << scales << " dragon scales!";
- }
- else if (d10 == 9)
- {
- cout << "You get " << cactus << " blooms of a Century Cactus!";
- }
- else if (d10 == 10)
- {
- cout << "You get " << blooms << " blooms of a Century Cactus!";
- }
- }
- else if (formal = "Celestial")
- {
- cout << "Rolling to see what kind of Celestial components you get ";
- if (d10 == 1)
- {
- cout << "You get " << quartz << " pumice!";
- }
- else if (d10 == 2)
- {
- cout << "You get " << quartz2 << " pumice!";
- }
- else if (d10 == 3)
- {
- cout << "You get " << quartz3 << " pumice!";
- }
- else if (d10 == 4)
- {
- cout << "You get " << insect << " unbroken quartz geode!";
- }
- else if (d10 == 5)
- {
- cout << "You get " << oak << " Celestial dust!";
- }
- else if (d10 == 6)
- {
- cout << "You get " << fault << " dust from a fault line!";
- }
- else if (d10 == 7)
- {
- cout << "You get " << dragon << " Celestial sundials!";
- }
- else if (d10 == 8)
- {
- cout << "You get " << scales << " Bronze razor wire!";
- }
- else if (d10 == 9)
- {
- cout << "You get " << cactus << " Phoenix feathers!";
- }
- else if (d10 == 10)
- {
- cout << "You get " << blooms << " Phoenix feathers!";
- }
- }
- }
- else if (random > 60 & random <= 70)
- {
- cout << "You get a formal vessel! Rolling to see what kind of vessel you get: " << endl;
- if (weapon == 1)
- {
- cout << "You get a dagger! Rolling to see what kind of dagger you get: \n";
- if (d10 == 1)
- {
- cout << "You get a silver dagger!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal dagger!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden dagger!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden dagger!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone dagger!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone dagger!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden dagger!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden dagger!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden dagger!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden dagger!";
- }
- }
- else if (weapon == 2)
- {
- cout << "You get a Shortsword! Rolling to see what kind of Shortsword you get: \n";
- if (d10 == 1)
- {
- cout << "You get a silver shortsword!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal shortsword!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden shortsword!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden shortsword!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone shortsword!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone shortsword!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden shortsword!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden shortsword!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden shortsword!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden shortsword!";
- }
- }
- else if (weapon == 3)
- {
- cout << "You get a Longsword or spear (Player's Choice)! Rolling to see what kind of material it's made out of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver longsword or spear!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal longsword or spear!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden longsword or spear!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden longsword or spear!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone longsword or spear!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone longsword or spear!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden longsword or spear!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden longsword or spear!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden longsword or spear!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden longsword or spear!";
- }
- }
- else if (weapon == 4)
- {
- cout << "You get a Mace or a Hammer! (Player's Choice) Rolling to see what material it's made out of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver Mace or Hammer!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal Mace or Hammer!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone Mace or Hammer!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone Mace or Hammer!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- }
- else if (weapon == 5)
- {
- cout << "You get a piece of jewelry! Rolling to see what material it's made out of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver piece of jewelry!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal piece of jewelry!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone piece of jewelry!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone piece of jewelry!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden piece of jewelry!";
- }
- }
- else if (weapon == 6)
- {
- cout << "You get a piece of jewelry! Rolling to see what it's made out of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver piece of jewelry!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal piece of jewelry!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone piece of jewelry!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone piece of jewelry!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden piece of jewelry!";
- }
- }
- else if (weapon == 8)
- {
- cout << "You get a two handed weapon! (Player's choice) Rolling to see what material the weapon is made of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver two handed weapon!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal two handed weapon!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone two handed weapon!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone two handed weapon!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden two handed weapon!";
- }
- }
- else if (weapon == 9)
- {
- cout << "You get a two handed weapon! (Player's choice) Rolling to see what kind of material it's made out of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver two handed weapon!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal two handed weapon!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone two handed weapon!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone two handed weapon!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden two handed weapon!";
- }
- }
- else if (weapon == 10)
- {
- cout << "You get a shield! Rolling to see what kind of shield it is: \n";
- if (d10 == 1)
- {
- cout << "You get a silver shield!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal shield!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden shield!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden shield!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone shield!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone shield!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden shield!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden shield!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden shield!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden shield!";
- }
- }
- }
- else if (random > 70 & random <= 80)
- {
- cout << "You get some formal components! Please specify Earth or Celestial components " << endl;
- cin >> formal;
- if (formal = "Earth")
- {
- cout << "Rolling to see what kind of Earth components you get: \n";
- if (d10 == 1)
- {
- cout << "You get " << quartz3 << " Quartz!";
- }
- else if (d10 == 2)
- {
- cout << "You get " << insect << " insects trapped in Amber!";
- }
- else if (d10 == 3)
- {
- cout << "You get " << moredust << " dust from a fault line!";
- }
- else if (d10 == 4)
- {
- cout << "You get " << moreshell << " shells of a dragon turtle!";
- }
- else if (d10 == 5)
- {
- cout << "You get " << morescales << " Dragon scales!";
- }
- else if (d10 == 6)
- {
- cout << "You get " << blooms << " blooms of a century cactus!";
- }
- else if (d10 == 7)
- {
- cout << "You get " << moreblooms << "blooms of a century cactus!";
- }
- else if (d10 == 8)
- {
- cout << "You get " << ruby << " perfect rubies!";
- }
- else if (d10 == 9)
- {
- cout << "You get " << silver << " volcanic silver!";
- }
- else if (d10 == 10)
- {
- cout << "You get " << hide << " hides of a Greater Stone Drake! Congratulations!";
- }
- }
- else if (formal = "Celestial")
- {
- cout << "Rolling to see what kind of Celestial components you get: \n";
- if (d10 == 1)
- {
- cout << "You get " << quartz2 << " Pumice!";
- }
- else if (d10 == 2)
- {
- cout << "You get " << insect << " unbroken quartz geode!";
- }
- else if (d10 == 3)
- {
- cout << "You get " << moredust << " dust from a fault line!";
- }
- else if (d10 == 4)
- {
- cout << "You get " << moreshell << " Celestial Sundials!";
- }
- else if (d10 == 5)
- {
- cout << "You get " << morescales << " Bronze Razor Wires!";
- }
- else if (d10 == 6)
- {
- cout << "You get " << blooms << " Phoenix feathers!!";
- }
- else if (d10 == 7)
- {
- cout << "You get " << moreblooms << " Phoenix feathers!!";
- }
- else if (d10 == 8)
- {
- cout << "You get " << ruby << " Perfect Sapphires!";
- }
- else if (d10 == 9)
- {
- cout << "You get " << silver << " Meteoric Silver!";
- }
- else if (d10 == 10)
- {
- cout << "You get " << hide << " Mantle of a Swan Ray! Congratulations!";
- }
- }
- }
- else if (random > 80 & random <= 87)
- {
- cout << "You get your choice of Formal vessels, up to Gold level! (Plot exceptions apply)" << endl;
- }
- else if (random > 87 & random <= 94)
- {
- cout << "You get your choice of formal component from Quartz, Insect trapped in Amber, 100 year old Oak, Dust from a Fault Line, Shell of a Dragon Turtle, Dragon Scale, Bloom of a Century Cactus, Pumice, Unbroken Quartz Geode, Celestial Dust, Celestial Sundial, Bronze Razor Wire, or Phoenix Feather. " << endl;
- }
- else if (random > 94 & random <= 97)
- {
- cout << "You get a weapon with enchantments on it! Rolling to see what kind of weapon with how many enchants are on it: ";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Dagger!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Dagger!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Dagger!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Dagger!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Dagger!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Dagger!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Dagger!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Dagger!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Dagger!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Dagger!";
- }
- }
- else if (d10 == 2)
- {
- cout << "You get a Shortsword! Rolling to see what kind of Shortsword you get: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Shortsword!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Shortsword!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Shortsword!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Shortsword!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Shortsword!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Shortsword!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Shortsword!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Shortsword!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Shortsword!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Shortsword!";
- }
- }
- else if (d10 == 3)
- {
- cout << "You get a Longsword or Spear! Rolling to see what kind of Longsword or Spear you get: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Longsword or Spear!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Longsword or Spear!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Longsword or Spear!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Longsword or Spear!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Longsword or Spear!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Longsword or Spear!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Longsword or Spear!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Longsword or Spear!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Longsword or Spear!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Longsword or Spear!";
- }
- }
- else if (d10 == 4)
- {
- cout << "You get a Mace or Hammer! Rolling to see what kind of Mace or Hammer you get: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Mace or Hammer!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Mace or Hammer!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Mace or Hammer!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Mace or Hammer!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Mace or Hammer!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Mace or Hammer!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Mace or Hammer!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Mace or Hammer!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Mace or Hammer!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Mace or Hammer!";
- }
- }
- else if (d10 == 5)
- {
- cout << "You get a piece of jewelry! Rolling to see what material your jewelry is made out of: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron piece of jewelry!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron piece of jewelry!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver piece of jewelry!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver piece of jewelry!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal piece of jewelry!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal piece of jewelry!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold piece of jewelry!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold piece of jewelry!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone piece of jewelry!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone piece of jewelry!";
- }
- }
- else if (d10 == 6)
- {
- cout << "You get a piece of jewelry! Rolling to see what material your jewelry is made out of: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron piece of jewelry!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron piece of jewelry!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver piece of jewelry!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver piece of jewelry!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal piece of jewelry!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal piece of jewelry!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold piece of jewelry!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold piece of jewelry!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone piece of jewelry!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone piece of jewelry!";
- }
- }
- else if (d10 == 7)
- {
- cout << "You get a Wand! Rolling to see what kind of Wand you get: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Wand!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Wand!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Wand!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Wand!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Wand!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Wand!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Wand!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Wand!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Wand!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Wand!";
- }
- }
- else if (d10 == 8)
- {
- cout << "You get a two handed weapon! (player's choice). Rolling to see what material your weapon is: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron two handed weapon!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron two handed weapon!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver two handed weapon!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver two handed weapon!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal two handed weapon!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal two handed weapon!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold two handed weapon!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold two handed weapon!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone two handed weapon!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone two handed weapon!";
- }
- }
- else if (d10 == 9)
- {
- cout << "You get a two handed weapon! (player's choice). Rolling to see what material your weapon is: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron two handed weapon!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought two handed weapon!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver two handed weapon!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver two handed weapon!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal two handed weapon!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal two handed weapon!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold two handed weapon!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold two handed weapon!";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone two handed weapon!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone two handed weapon!";
- }
- }
- else if (d10 == 10)
- {
- cout << "You get a shield! Rolling to see what material your shield is: \n";
- if (weapon == 1)
- {
- cout << "You get a Cold Wrought Iron Shield!";
- }
- else if (weapon == 2)
- {
- cout << "You get a Cold Wrought Iron Shield!";
- }
- else if (weapon == 3)
- {
- cout << "You get a Silver Shield!";
- }
- else if (weapon == 4)
- {
- cout << "You get a Silver Shield!";
- }
- else if (weapon == 5)
- {
- cout << "You get a Crystal Shield!";
- }
- else if (weapon == 6)
- {
- cout << "You get a Crystal Shield!";
- }
- else if (weapon == 7)
- {
- cout << "You get a Gold Shield!";
- }
- else if (weapon == 8)
- {
- cout << "You get a Gold Shield";
- }
- else if (weapon == 9)
- {
- cout << "You get a Gemstone Shield!";
- }
- else if (weapon == 10)
- {
- cout << "You get a Gemstone Shield!";
- }
- cout << "You get " << enchant << " enchantments on it! Please manually roll these.";
- }
- else if (random > 97 & random <= 99)
- {
- cout << "You get a weapon with enchantments! Rolling to specify: ";
- if (d10 == 1)
- {
- cout << "You get a silver dagger!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal dagger!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden dagger!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden dagger!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone dagger!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone dagger!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden dagger!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden dagger!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden dagger!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden dagger!";
- }
- }
- else if (weapon == 2)
- {
- cout << "You get a Shortsword! Rolling to see what kind of Shortsword you get: \n";
- if (d10 == 1)
- {
- cout << "You get a silver shortsword!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal shortsword!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden shortsword!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden shortsword!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone shortsword!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone shortsword!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden shortsword!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden shortsword!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden shortsword!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden shortsword!";
- }
- }
- else if (weapon == 3)
- {
- cout << "You get a Longsword or spear (Player's Choice)! Rolling to see what kind of material it's made out of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver longsword or spear!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal longsword or spear!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden longsword or spear!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden longsword or spear!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone longsword or spear!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone longsword or spear!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden longsword or spear!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden longsword or spear!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden longsword or spear!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden longsword or spear!";
- }
- }
- else if (weapon == 4)
- {
- cout << "You get a Mace or a Hammer! (Player's Choice) Rolling to see what material it's made out of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver Mace or Hammer!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal Mace or Hammer!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone Mace or Hammer!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone Mace or Hammer!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden Mace or Hammer!";
- }
- }
- else if (weapon == 5)
- {
- cout << "You get a piece of jewelry! Rolling to see what material it's made out of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver piece of jewelry!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal piece of jewelry!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone piece of jewelry!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone piece of jewelry!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden piece of jewelry!";
- }
- }
- else if (weapon == 6)
- {
- cout << "You get a piece of jewelry! Rolling to see what it's made out of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver piece of jewelry!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal piece of jewelry!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone piece of jewelry!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone piece of jewelry!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden piece of jewelry!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden piece of jewelry!";
- }
- }
- else if (weapon == 8)
- {
- cout << "You get a two handed weapon! (Player's choice) Rolling to see what material the weapon is made of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver two handed weapon!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal two handed weapon!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone two handed weapon!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone two handed weapon!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden two handed weapon!";
- }
- }
- else if (weapon == 9)
- {
- cout << "You get a two handed weapon! (Player's choice) Rolling to see what kind of material it's made out of: \n";
- if (d10 == 1)
- {
- cout << "You get a silver two handed weapon!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal two handed weapon!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone two handed weapon!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone two handed weapon!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden two handed weapon!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden two handed weapon!";
- }
- }
- else if (weapon == 10)
- {
- cout << "You get a shield! Rolling to see what kind of shield it is: \n";
- if (d10 == 1)
- {
- cout << "You get a silver shield!";
- }
- else if (d10 == 2)
- {
- cout << "You get a crystal shield!";
- }
- else if (d10 == 3)
- {
- cout << "You get a golden shield!";
- }
- else if (d10 == 4)
- {
- cout << "You get a golden shield!";
- }
- else if (d10 == 5)
- {
- cout << "You get a gemstone shield!";
- }
- else if (d10 == 6)
- {
- cout << "You get a gemstone shield!";
- }
- else if (d10 == 7)
- {
- cout << "You get a golden shield!";
- }
- else if (d10 == 8)
- {
- cout << "You get a golden shield!";
- }
- else if (d10 == 9)
- {
- cout << "You get a golden shield!";
- }
- else if (d10 == 10)
- {
- cout << "You get a golden shield!";
- }
- cout << " \n You get " << enchant2 << " enchantments on it! Please manually roll these";
- }
- else if (random == 100)
- {
- cout << "You get a free group pull! Congratulations!";
- }
- system("PAUSE");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement