Commit bb1b5454 authored by Kameron Kinsey's avatar Kameron Kinsey

Initialize repository

parent e4298704
......@@ -15,7 +15,8 @@ using namespace std;
class Boss {
private:
int fight, talk;
int fight;
int talk;
public:
// Get Functions
int getFight(int floorNum);
......
......@@ -212,4 +212,71 @@ int Monster::setTalk(int encounterNum) {
case 20:
// Blue
return talk = 10;
}
\ No newline at end of file
}
void Monster::giveItems(int encounterNum, Inventory inventory) {
switch(encounterNum) {
case 1:
// Toilet
inventory.gainNewItem("Porcelin Throne", 1, 1);
case 2:
// Green Bar
inventory.gainNewItem("Sense of Accomplishment", 2, -1);
case 3:
// Potato
inventory.gainNewItem("Eye of Potato", -1, 2);
case 4:
// Nazi
inventory.gainNewItem("Nazi Uniform", 3, -10);
case 5:
// Waffles
inventory.gainNewItem("Syrup Bottle", -2, 3);
case 6:
// Not so Obvious Trap
inventory.gainNewItem("Mousetrap", 3, 1);
case 7:
// Game Devs
inventory.gainNewItem("Sanity", -2, 4);
case 8:
// Human
inventory.gainNewItem("The Right to Bear Arms", 5, -5);
case 9:
// Mirror
inventory.gainNewItem("Silver Mirror", -3, 4);
case 10:
// Door
inventory.gainNewItem("Golden Key", -1, 3);
case 11:
// Princess
inventory.gainNewItem("Regal Tiara", -3, 5);
case 12:
// EA
inventory.gainNewItem("Deep Pockets", -3, 5);
case 13:
// Ghost
inventory.gainNewItem("Sheet", 1, 2);
case 14:
// Textbook
inventory.gainNewItem("Textbook", 5, 0);
case 15:
// Hobo
case 16:
cout << "1 Direction stands before you, they deserve this, we won't tell anyone" << endl;
case 17:
cout << "A Doll stands before you, porcelain eyes staring into your soul" << endl;
case 18:
cout << "A Real Slim Shady Gentleman sits before you, he stands up at your approach" << endl;
case 19:
cout << "Depression hits you as soon as you enter the room, this will be an uphill battle" << endl;
case 20:
cout << "The Color Blue stands before you. . . I don’t know ok? I lost my sanity 10 encounters back so here. Fight against, Flee from, or Talk to the Color Blue" << endl;
}
}
......@@ -15,13 +15,12 @@ using namespace std;
class Player {
private:
int fight = 10,
talk = 10,
string playerName;
int fight;
int talk;
string playerName;
public:
//
int health = 100;
// Get Functions
int getFight() { return fight; }
int getTalk() { return talk; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment