-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from xFranco99/feature/conversation-courtesy-p…
…hrases ADD - added courtesy phrases to silent npc
- Loading branch information
Showing
5 changed files
with
137 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.gdx.game.common; | ||
|
||
public class Constats { | ||
|
||
public static final String FOE = "FOE"; | ||
|
||
public static final String COURTESY_PHRASES_PATH = "conversations/conversation_courtesy.json"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 84 additions & 0 deletions
84
core/src/main/resources/conversations/conversation_courtesy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
conversations: { | ||
1: { | ||
id: 1 | ||
dialog: Hi. | ||
} | ||
2: { | ||
id: 2 | ||
dialog: What a beautiful day! | ||
} | ||
3: { | ||
id: 3, | ||
dialog: Greetings stranger. | ||
} | ||
4: { | ||
id: 4, | ||
dialog: Well met traveler! | ||
} | ||
5: { | ||
id: 5, | ||
dialog: May the winds guide you on your journey | ||
} | ||
6: { | ||
id: 6 | ||
dialog: See you later traveler! | ||
} | ||
} | ||
associatedChoices: { | ||
1: [ | ||
{ | ||
class: com.gdx.game.dialog.ConversationChoice | ||
sourceId: 1 | ||
destinationId: 7 | ||
choicePhrase: "Bye." | ||
conversationCommandEvent: EXIT_CONVERSATION | ||
} | ||
], | ||
2: [ | ||
{ | ||
class: com.gdx.game.dialog.ConversationChoice | ||
sourceId: 1 | ||
destinationId: 7 | ||
choicePhrase: "Bye." | ||
conversationCommandEvent: EXIT_CONVERSATION | ||
} | ||
], | ||
3: [ | ||
{ | ||
class: com.gdx.game.dialog.ConversationChoice | ||
sourceId: 1 | ||
destinationId: 7 | ||
choicePhrase: "Bye." | ||
conversationCommandEvent: EXIT_CONVERSATION | ||
} | ||
], | ||
4: [ | ||
{ | ||
class: com.gdx.game.dialog.ConversationChoice | ||
sourceId: 1 | ||
destinationId: 7 | ||
choicePhrase: "Bye." | ||
conversationCommandEvent: EXIT_CONVERSATION | ||
} | ||
], | ||
5: [ | ||
{ | ||
class: com.gdx.game.dialog.ConversationChoice | ||
sourceId: 1 | ||
destinationId: 7 | ||
choicePhrase: "Bye." | ||
conversationCommandEvent: EXIT_CONVERSATION | ||
} | ||
], | ||
6: [ | ||
{ | ||
class: com.gdx.game.dialog.ConversationChoice | ||
sourceId: 1 | ||
destinationId: 7 | ||
choicePhrase: "Bye." | ||
conversationCommandEvent: EXIT_CONVERSATION | ||
} | ||
] | ||
} | ||
} |