diff --git a/src/world/encounters.ts b/src/world/encounters.ts index 5d646b7..f387898 100644 --- a/src/world/encounters.ts +++ b/src/world/encounters.ts @@ -1,4 +1,5 @@ import type { EncounterDef } from './types' +import { narration } from './loader' export const encounters: Record = { rat: { @@ -7,17 +8,17 @@ export const encounters: Record = { initialPhase: 'lurking', phases: { lurking: { - description: 'A heavy rat watches you from the third step. Its eyes catch the light.', + description: narration('rat', 'lurking'), transitions: [ { verb: 'attack', target: 'rat', - narration: 'You stamp. The rat squeals and is gone into the dark.', + narration: narration('rat', 'attack-rat-resolved'), to: 'resolved', }, { verb: 'wait', - narration: 'The rat does not move. Neither do you.', + narration: narration('rat', 'wait-stays'), to: 'lurking', }, ],