-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c482df
commit 90ce6c7
Showing
6 changed files
with
83 additions
and
1 deletion.
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,14 @@ | ||
import { interactionHandler } from '../handler.interactions'; | ||
import { displayDialogue } from '../../utils'; | ||
|
||
export const campusTreeInteraction = (player, k) => { | ||
interactionHandler(player, 'campus_tree', k, async () => { | ||
displayDialogue({ | ||
k, | ||
player, | ||
text: [ | ||
'The tree seems to emit a faint glow. There are carvings on its trunk, suggesting that students from years past have left messages or markings here.', | ||
], | ||
}); | ||
}); | ||
}; |
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,14 @@ | ||
import { interactionHandler } from '../handler.interactions'; | ||
import { displayDialogue } from '../../utils'; | ||
|
||
export const fountainInteraction = (player, k) => { | ||
interactionHandler(player, 'fountain', k, async () => { | ||
displayDialogue({ | ||
k, | ||
player, | ||
text: [ | ||
'The fountain\'s gentle flow seems to whisper, "May your journey be as calm as these waters."', | ||
], | ||
}); | ||
}); | ||
}; |
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 |
---|---|---|
@@ -1,6 +1,19 @@ | ||
import { enterMapCityLeft } from './enterMapCityLeft.interactions'; | ||
import { enterMapCityTop } from './enterMapCityTop.interactions'; | ||
import { campusTreeInteraction } from './campusTreeInteraction.interactions'; | ||
import { fountainInteraction } from './fountainInteraction.interactions'; | ||
import { signLeftInteraction } from './signLeftInteraction.interactions'; | ||
import { signRightInteraction } from './signRightInteraction.interactions'; | ||
import { treeSignInteraction } from './treeSignInteraction.interactions'; | ||
|
||
const interactions = [enterMapCityLeft, enterMapCityTop]; | ||
const interactions = [ | ||
enterMapCityLeft, | ||
enterMapCityTop, | ||
campusTreeInteraction, | ||
fountainInteraction, | ||
signLeftInteraction, | ||
signRightInteraction, | ||
treeSignInteraction, | ||
]; | ||
|
||
export default interactions; |
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,12 @@ | ||
import { interactionHandler } from '../handler.interactions'; | ||
import { displayDialogue } from '../../utils'; | ||
|
||
export const signLeftInteraction = (player, k) => { | ||
interactionHandler(player, 'sign_left', k, async () => { | ||
displayDialogue({ | ||
k, | ||
player, | ||
text: ['"Finding your dream home, one step at a time."'], | ||
}); | ||
}); | ||
}; |
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,14 @@ | ||
import { interactionHandler } from '../handler.interactions'; | ||
import { displayDialogue } from '../../utils'; | ||
|
||
export const signRightInteraction = (player, k) => { | ||
interactionHandler(player, 'sign_right', k, async () => { | ||
displayDialogue({ | ||
k, | ||
player, | ||
text: [ | ||
'"Your future awaits—let us help you find the perfect place to call home."', | ||
], | ||
}); | ||
}); | ||
}; |
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,15 @@ | ||
import { interactionHandler } from '../handler.interactions'; | ||
import { displayDialogue } from '../../utils'; | ||
|
||
export const treeSignInteraction = (player, k) => { | ||
interactionHandler(player, 'tree_sign', k, async () => { | ||
displayDialogue({ | ||
k, | ||
player, | ||
text: [ | ||
'These trees were planted by students, each one a symbol of growth, resilience, and hope for the future.', | ||
'May they stand tall and strong, shading those who come after.', | ||
], | ||
}); | ||
}); | ||
}; |