|
|
|
@@ -1,4 +1,4 @@ |
|
|
|
import { Place, Choice, Direction } from '../world' |
|
|
|
import { Place, Choice, Direction, World } from '../world' |
|
|
|
import { ProperNoun, ImproperNoun, MalePronouns, FemalePronouns, TheyPronouns } from '../language' |
|
|
|
import { Encounter, Stat, Damage, DamageType, Vigor } from '../combat' |
|
|
|
import * as Creatures from '../creatures' |
|
|
|
@@ -95,7 +95,10 @@ export const Town = (): Place => { |
|
|
|
"yolo", |
|
|
|
(world, executor) => { |
|
|
|
world.encounter = new Encounter( |
|
|
|
{ name: "You punched a wolf" }, |
|
|
|
{ |
|
|
|
name: "You punched a wolf", |
|
|
|
intro: (world: World) => new LogLine(`You punched a wolf. The wolf is angry.`) |
|
|
|
}, |
|
|
|
[executor, new Creatures.Wolf()] |
|
|
|
) |
|
|
|
|
|
|
|
@@ -110,7 +113,10 @@ export const Town = (): Place => { |
|
|
|
"yolo", |
|
|
|
(world, executor) => { |
|
|
|
world.encounter = new Encounter( |
|
|
|
{ name: "You punched a dragon" }, |
|
|
|
{ |
|
|
|
name: "You punched a dragon", |
|
|
|
intro: (world: World) => new LogLine(`You punched a dragon. The dragon is angry.`) |
|
|
|
}, |
|
|
|
[executor, new Creatures.Dragon()] |
|
|
|
) |
|
|
|
|
|
|
|
@@ -121,15 +127,15 @@ export const Town = (): Place => { |
|
|
|
|
|
|
|
const bossEncounters = [ |
|
|
|
new Encounter( |
|
|
|
{ name: "Withers & Kenzie" }, |
|
|
|
{ name: "Withers & Kenzie", intro: (world: World) => nilLog }, |
|
|
|
makeParty().concat([new Creatures.Withers(), new Creatures.Kenzie()]) |
|
|
|
), |
|
|
|
new Encounter( |
|
|
|
{ name: "Goldeneye" }, |
|
|
|
{ name: "Goldeneye", intro: (world: World) => nilLog }, |
|
|
|
makeParty().concat([new Creatures.Goldeneye()]) |
|
|
|
), |
|
|
|
new Encounter( |
|
|
|
{ name: "Large Wah" }, |
|
|
|
{ name: "Large Wah", intro: (world: World) => nilLog }, |
|
|
|
makeParty().concat([new Creatures.Shingo()]) |
|
|
|
) |
|
|
|
] |
|
|
|
|