Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gstuitje
RingMaster
Commits
69382462
Commit
69382462
authored
Feb 13, 2019
by
astatham
Browse files
Started Simon's dialogue
parent
bf48e072
Changes
2
Hide whitespace changes
Inline
Side-by-side
RingMaster/RingMaster/.vs/RingMaster/v15/sqlite3/storage.ide
View file @
69382462
No preview for this file type
RingMaster/RingMaster/Assets/Scripts/DaytimeScripts/CharacterSpeech/SimonSpeech.cs
View file @
69382462
...
...
@@ -22,12 +22,12 @@ public class SimonSpeech : MonoBehaviour, Character {
loadConversation
();
if
((
int
)
GameManager
.
getLevel
(
getName
())
==
1
)
{
currentResponses
=
new
string
[]
{
"Wow a bear"
};
return
"(happy)
g
rr"
;
currentResponses
=
new
string
[]
{
"Wow
,
a bear
!
"
};
return
"(happy)
G
rr"
;
}
else
if
((
int
)
GameManager
.
getLevel
(
getName
())
==
2
)
{
currentResponses
=
new
string
[]
{
"
stage 2 greeting response
"
};
return
"
stage 2
(
h
ello
) grr
"
;
currentResponses
=
new
string
[]
{
"
Can I get my fez now?
"
};
return
"
Grr!
(
H
ello
again! Back for some more trivia?)
"
;
}
else
if
((
int
)
GameManager
.
getLevel
(
getName
())
==
3
)
{
currentResponses
=
new
string
[]
{
"stage 3 greeting response"
};
...
...
@@ -42,24 +42,24 @@ public class SimonSpeech : MonoBehaviour, Character {
}
public
string
GoodbyeMessage
(){
currentResponses
=
new
string
[]
{
};
return
"(relieved)
g
rr"
;
return
"(relieved)
G
rr"
;
}
public
string
ProximityMessage
(){
currentResponses
=
new
string
[]
{
};
return
"(thoughtful)
g
rr"
;
return
"(thoughtful)
G
rr
?
"
;
}
public
string
butthurtGoodbye
(){
currentResponses
=
new
string
[]
{
};
return
"(angry) GRR"
;
return
"(angry) GRR
!
"
;
}
public
string
nothingMoreToSay
()
{
currentResponses
=
new
string
[]
{
};
if
(
Random
.
Range
(
0
,
1f
)
<
0.8
)
{
return
"
g
rr?"
;
return
"
G
rr?"
;
}
else
{
return
"*cough cough* ...
u
mm ... GRR"
;
return
"*cough cough* ...
U
mm ... GRR"
;
}
}
...
...
@@ -97,32 +97,47 @@ public class SimonSpeech : MonoBehaviour, Character {
private
void
conversationStage1
()
{
if
(
GameManager
.
HasTalkedToAhava
)
{
conversation
.
Enqueue
(
"grR"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"..."
});
conversation
.
Enqueue
(
"grR
(It's great to have some new blood in the circus!)
"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"..."
,
"Come again?"
});
conversation
.
Enqueue
(
"GrR"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"
u
mm"
});
conversation
.
Enqueue
(
"GrR
(My name is Anton Grrkov, but people around here call me Simon for some reason)
"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"
U
mm"
,
"I don't speak Bear"
});
conversation
.
Enqueue
(
"gRR"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"
y
ou sound funny"
});
conversation
.
Enqueue
(
"gRR
(Would you like to hear some interesting facts? I'm like a trivia machine!)
"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"
Y
ou sound funny"
,
"I like your fez"
});
conversation
.
Enqueue
(
"GRr"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"
s
orta
,
non
bearish"
});
conversation
.
Enqueue
(
"GRr
(Did you know that polar bears are the largest terrestrial carnivores on Earth?)
"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"
S
orta
...
non
-
bearish"
,
"Will I get a fez too?"
});
conversation
.
Enqueue
(
"GRR"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"..."
});
conversation
.
Enqueue
(
"GRR
(Have you heard of monocycles? They've got one wheel like my unicycle, except you sit INSIDE the wheel!)
"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"..."
,
"Do you have fezes in colours other than red?"
});
conversation
.
Enqueue
(
"grr"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"..."
});
conversation
.
Enqueue
(
"grr
(Feel free to come talk to me if you ever want to hear more fascinating facts!)
"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GRR"
,
"..."
,
"I think a green fez would really suit me"
});
}
else
{
conversation
.
Enqueue
(
"grr (
y
ou should talk to the BEARded lady over there)"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"
o
kay"
});
conversation
.
Enqueue
(
"grr (
Y
ou should talk to the BEARded lady over there)"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"
O
kay"
});
}
}
private
void
conversationStage2
()
{
conversation
.
Enqueue
(
"gRr (What would you like to learn about today?)"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GrrR"
,
"Space!"
,
"What's with all the trivia?"
});
conversation
.
Enqueue
(
"grrrr (If the largest known star was where the sun is, it would reach to Jupiter's orbit!)"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"GrRrR"
,
"That's huge!"
,
"Could I ask you s-"
});
conversation
.
Enqueue
(
"Grr (In the 18th and 19th centuries, the Russian monarchy spoke French instead of Russian!"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"Grr?"
,
"That's...random"
,
"Just let me say t-"
});
conversation
.
Enqueue
(
"grr (Did you know that there's a kind of shark that lives for up to 500 years?)"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"stage 2 grr?"
});
conversation
.
Enqueue
(
"grr (in stage 2)"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"stage 2 grr?"
});
conversation
.
Enqueue
(
"grr... (I like you, I feel like I could really start opening up to you!)"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"stage 2 grr?"
});
}
private
void
conversationStage3
()
{
...
...
@@ -146,13 +161,13 @@ public class SimonSpeech : MonoBehaviour, Character {
conversation
.
Enqueue
(
"*confused grr* (Who are you? Where is our pie thrower?)"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"okay"
});
conversation
.
Enqueue
(
"GRr (
w
ell its too late now, looks like youll have to be our pie thrower tonight)"
);
conversation
.
Enqueue
(
"GRr (
W
ell it
'
s too late now, looks like you
'
ll have to be our pie thrower tonight)"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"okay"
});
conversation
.
Enqueue
(
"GRR (Just hold down on SPACEBAR to select an angle)"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"okay"
});
conversation
.
Enqueue
(
"grr (Great! Now release SPACEBAR to select your
P
ower and fire the pie)"
);
conversation
.
Enqueue
(
"grr (Great! Now release SPACEBAR to select your
p
ower and fire the pie
!
)"
);
responseQueue
.
Enqueue
(
new
string
[]
{
"okay"
});
conversation
.
Enqueue
(
"grR (Well Done! See if you can hit the rest)"
);
...
...
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