Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
cptr142_group_project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aaron Sturtevant
cptr142_group_project
Commits
07181c7d
Commit
07181c7d
authored
Mar 19, 2018
by
Kameron Kinsey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize repository
parent
ed978199
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
127 additions
and
62 deletions
+127
-62
Monster.cpp
Monster.cpp
+127
-62
No files found.
Monster.cpp
View file @
07181c7d
...
...
@@ -281,66 +281,131 @@ void Monster::giveItems(int encounterNum, Inventory inventory) {
}
void
Monster
::
monsterResponse
(
int
encounterNum
,
int
playerWon
)
{
switch
(
encounterNum
)
{
case
1
:
// Toilet
cout
<<
"You have successfully defeated the Toilet, better wash your clothes afterward though. . ."
<<
endl
;
case
2
:
// Green Bar
cout
<<
"You now feel doubly accomplished at the defeat of the Green Bar"
<<
endl
;
case
3
:
// Potato
cout
<<
"You have defeated the potato, it wasn't that difficult, but y'know"
<<
ednl
;
case
4
:
// Nazi
cout
<<
"You have defeated the Nazi. He deserved it anyways"
<<
endl
;
case
5
:
// Waffles
cout
<<
"They were just waffles. . . really. . . you monster"
<<
endl
;
case
6
:
// Not so Obvious Trap
cout
<<
"You have successfully defeated the woman, she blows you a kiss"
<<
endl
;
case
7
:
// Game Devs
cout
<<
"You have been allowed to defeat us"
<<
endl
;
case
8
:
// Human
cout
<<
"You have successfully defeated the human"
<<
endl
;
case
9
:
// Mirror
cout
<<
"Ok that was rude I'll be honest but wow, you kinda went overboard on that mirror"
<<
endl
;
case
10
:
// Door
cout
<<
"You have successfully escaped that situation"
<<
endl
;
case
11
:
// Princess
cout
<<
"You have successfully stayed on task"
<<
endl
;
case
12
:
// EA
cout
<<
"You have defeated EA for now, but they'll be back. They'll always be back"
<<
endl
;
case
13
:
// Ghost
cout
<<
"You have defeated Carl in a Sheet"
<<
endl
;
case
14
:
// Textbook
cout
<<
"You have defeated the shame of ignoring your studies"
<<
endl
;
case
15
:
// Hobo
cout
<<
"You have defeated the Hobo"
<<
endl
;
case
16
:
// 1 Direction
cout
<<
"You have defeated 1 Direction"
<<
endl
;
case
17
:
// Doll
cout
<<
"You have deafeated the doll"
<<
endl
;
case
18
:
// Real Slim Shady
cout
<<
"You have defeated the Real Slim Shady"
<<
endl
;
case
19
:
// Depression
cout
<<
"You have defeated depression. . . for now. . ."
<<
endl
;
case
20
:
// Blue
cout
<<
"The color Blue has been defeated"
<<
endl
;
if
(
playerWon
==
true
)
{
switch
(
encounterNum
)
{
case
1
:
// Toilet
cout
<<
"You have successfully defeated the Toilet, better wash your clothes afterward though. . ."
<<
endl
;
case
2
:
// Green Bar
cout
<<
"You now feel doubly accomplished at the defeat of the Green Bar"
<<
endl
;
case
3
:
// Potato
cout
<<
"You have defeated the potato, it wasn't that difficult, but y'know"
<<
ednl
;
case
4
:
// Nazi
cout
<<
"You have defeated the Nazi. He deserved it anyways"
<<
endl
;
case
5
:
// Waffles
cout
<<
"They were just waffles. . . really. . . you monster"
<<
endl
;
case
6
:
// Not so Obvious Trap
cout
<<
"You have successfully defeated the woman, she blows you a kiss"
<<
endl
;
case
7
:
// Game Devs
cout
<<
"You have been allowed to defeat us"
<<
endl
;
case
8
:
// Human
cout
<<
"You have successfully defeated the human"
<<
endl
;
case
9
:
// Mirror
cout
<<
"Ok that was rude I'll be honest but wow, you kinda went overboard on that mirror"
<<
endl
;
case
10
:
// Door
cout
<<
"You have successfully escaped that situation"
<<
endl
;
case
11
:
// Princess
cout
<<
"You have successfully stayed on task"
<<
endl
;
case
12
:
// EA
cout
<<
"You have defeated EA for now, but they'll be back. They'll always be back"
<<
endl
;
case
13
:
// Ghost
cout
<<
"You have defeated Carl in a Sheet"
<<
endl
;
case
14
:
// Textbook
cout
<<
"You have defeated the shame of ignoring your studies"
<<
endl
;
case
15
:
// Hobo
cout
<<
"You have defeated the Hobo"
<<
endl
;
case
16
:
// 1 Direction
cout
<<
"You have defeated 1 Direction"
<<
endl
;
case
17
:
// Doll
cout
<<
"You have deafeated the doll"
<<
endl
;
case
18
:
// Real Slim Shady
cout
<<
"You have defeated the Real Slim Shady"
<<
endl
;
case
19
:
// Depression
cout
<<
"You have defeated depression. . . for now. . ."
<<
endl
;
case
20
:
// Blue
cout
<<
"The color Blue has been defeated"
<<
endl
;
}
}
else
{
switch
(
encounterNum
)
{
case
1
:
// Toilet
cout
<<
"The stench is killing you, slowly, but still killing you"
<<
endl
;
case
2
:
// Green Bar
cout
<<
"the Math hurts your brain"
<<
endl
;
case
3
:
// Potato
cout
<<
"You feel the Potato stare into your soul"
<<
ednl
;
case
4
:
// Nazi
cout
<<
"The Nazi slaps you"
<<
endl
;
case
5
:
// Waffles
cout
<<
"The syrup saps your life, these are not normal waffles"
<<
endl
;
case
6
:
// Not so Obvious Trap
cout
<<
"She smacks you for peeking at her"
<<
endl
;
case
7
:
// Game Devs
cout
<<
"Why do you hate us?"
<<
endl
;
case
8
:
// Human
cout
<<
"The human hurts you, but on the inside"
<<
endl
;
case
9
:
// Mirror
cout
<<
"Stop hitting yourself, stop hitting yourself"
<<
endl
;
case
10
:
// Door
cout
<<
"Your sure the door looks at you as it hangs there"
<<
endl
;
case
11
:
// Princess
cout
<<
"The Princess distracts your life away"
<<
endl
;
case
12
:
// EA
cout
<<
"EA charges your life force instead"
<<
endl
;
case
13
:
// Ghost
cout
<<
"Carl almost scared you to death"
<<
endl
;
case
14
:
// Textbook
cout
<<
"The books shames your health lower"" << endl;
case 15:
// Hobo
cout << "
The
Hobo
changes
your
health
value
" << endl;
case 16:
// 1 Direction
cout << "
1
Direction
sings
your
life
force
down
" << endl;
case 17:
// Doll
cout << "
The
Doll
strikes
you
with
its
mind
" << endl;
case 18:
// Real Slim Shady
cout << "
The
Real
Slim
Shady
rips
you
a
new
one
" << endl;
case 19:
// Depression
cout << "
Depression
strikes
you
" << endl;
case 20:
// Blue
cout << "
The
color
Blue
attacks
you
" << endl;
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment