Template:Dialogue

From Little-Known Galaxy Wiki
Jump to navigation Jump to search
Template-info.svg Documentation Edit this documentation at Template:Dialogue/doc.

This template displays dialogue between a character and the player.

Syntax

{{Dialogue
|npc = name of the NPC speaking
|emote = emotion they have. Default is neutral.
| Dialogue text
|emote2 = emotion they have while saying the second line. Default is neutral.
| Second dialogue text
|emote3 = emotion they have while saying the second line. Default is neutral.
| Third dialogue text
|emote4 = emotion they have while saying the second line. Default is neutral.
| Fourth dialogue text

<!-- If the NPC's dialogue has options for the player to select, the format is a little different.-->
|optionA   = Player's first choice
|emoteA    = NPC's emote from the first choice 
|responseA = NPC's response to the first choice
|optionB   = Player's second choice
emoteB     = NPC's emote from the second choice 
|responseB = NPC's response to the second choice
|Optional additional line after the choices.
}}

Examples

Explicit Emote

{{Dialogue|npc=Kaida|emote=neutral|Oh great, you accepted my bulletin request. Well, see what you can do to scare off those little guys.|emote2=stressed|Every time they knock over or steal one of my instruments, I end up analyzing all kinds of bad data.}}
Kaida.png
Oh great, you accepted my bulletin request. Well, see what you can do to scare off those little guys.
Kaida portrait stressed.png
Every time they knock over or steal one of my instruments, I end up analyzing all kinds of bad data.

Default emote

{{Dialogue|npc=Kaida|You finish my bulletin request? Awesome. Hopefully you gave them a good enough scare to keep their distance.|I'm not holding my breath though...}}
Kaida.png
You finish my bulletin request? Awesome. Hopefully you gave them a good enough scare to keep their distance.
Kaida.png
I'm not holding my breath though...

4 text set

{{Dialogue|npc=Lin|When I was a kid there weren't a lot of other kids around so I had an ant farm to keep me busy.|They were great little friends, kind of like you.|emote3=stressed|Not that you're like an ant, I mean...|...you're better than an ant of course.}}
Lin.png
When I was a kid there weren't a lot of other kids around so I had an ant farm to keep me busy.
Lin.png
They were great little friends, kind of like you.
Lin portrait stressed.png
Not that you're like an ant, I mean...
Lin.png
...you're better than an ant of course.

Option A and B

{{Dialogue|npc=Lin|Oh hey, Captain...
|optionA=Um, you got a little...
|emoteA=stressed
|responseA=*blushes* Oh really, I'm always such a mess...
|optionB=*ignore it* Hey, how you doing?
|emoteB=happy
|responseB=*excited* Great! I'm so glad I ran into you.
|I just finished potting the latest batch of hybrid seeds so cross your fingers for me.}}
Lin.png
Oh hey, Captain...
PLAYER: Um, you got a little...

Lin portrait stressed.png
*blushes* Oh really, I'm always such a mess...
PLAYER: *ignore it* Hey, how you doing?

Lin portrait happy.png
*excited* Great! I'm so glad I ran into you.
Lin.png
I just finished potting the latest batch of hybrid seeds so cross your fingers for me.

This one has additional options for more than one section.

{{Dialogue|npc=Kendall|Are you really a captain?|optionA=Yes|responseA=Wow, that's cool.|optionB=No|emoteB=confused|responseB=Are you some kind of fake then?|You don't believe in ghosts, do you?|emote2=confused|option2A=I believe.|emote2A=Stressed|response2A=Really? This ship makes some creaking noises at night, but I'm too afraid to get up and see what it is.|option2B=No way!|emote2B=Confused|response2B=Oh me neither! *looks away* I was just asking because sometimes I hear noises at night, but it's probably my imagi... imagination.|My grandpa says it's because this ship is so old and needs some repairs... but he's old and he doesn't make creaking sounds...}}
Kendall.png
Are you really a captain?
PLAYER: Yes

Kendall.png
Wow, that's cool.
PLAYER: No

Kendall portrait confused.png
Are you some kind of fake then?
Kendall portrait confused.png
You don't believe in ghosts, do you?
PLAYER: I believe.

Kendall portrait stressed.png
Really? This ship makes some creaking noises at night, but I'm too afraid to get up and see what it is.
PLAYER: No way!

Kendall portrait confused.png
Oh me neither! *looks away* I was just asking because sometimes I hear noises at night, but it's probably my imagi... imagination.
Kendall.png
My grandpa says it's because this ship is so old and needs some repairs... but he's old and he doesn't make creaking sounds...


Gifts

{{Dialogue|npc=Kendall|Captain, I wandered all over the ship picking up stuff you might be able to use.|reward=Recycled parts*10;Wires*2;Scrap metal block*1|I just wanted to help.}}
Kendall.png
Captain, I wandered all over the ship picking up stuff you might be able to use.
Player receives
Recycled parts.png Recycled parts × 10
Wires.png Wires × 2
Kendall.png
I just wanted to help.