Przeglądaj źródła

Sheen Lives!

master
Samuel Dweller 3 lat temu
rodzic
commit
bb00dc9f6e
1 zmienionych plików z 19 dodań i 0 usunięć
  1. +19
    -0
      src/game/maps/Newtown.ts

+ 19
- 0
src/game/maps/Newtown.ts Wyświetl plik

@@ -12,6 +12,7 @@ import { DeliciousPerk } from '@/game/combat/perks'
import Samuel from '../creatures/characters/Samuel' import Samuel from '../creatures/characters/Samuel'
import Human from '../creatures/human' import Human from '../creatures/human'
import Werewolf from '../creatures/monsters/werewolf' import Werewolf from '../creatures/monsters/werewolf'
import SheenTheGryph from '../creatures/characters/SheenTheGryph'


function makeParty (): Creature[] { function makeParty (): Creature[] {
const fighter = new Human(new ProperNoun("Redgar"), MalePronouns, { const fighter = new Human(new ProperNoun("Redgar"), MalePronouns, {
@@ -119,6 +120,24 @@ export const Newtown = (): Place => {
new ProperNoun("Deep Woods"), new ProperNoun("Deep Woods"),
"Extra scary" "Extra scary"
) )
southTownStreet.choices.push(
new Choice(
"Fight Sheen",
"Go fight Sheen!",
(world, executor) => {
const enemy = new SheenTheGryph()
const encounter = new Encounter(
{
name: "Fight some tough nerd",
intro: () => new LogLine(`Sheen Approaches!`)
},
[world.player, enemy].concat(world.party)
)
world.encounter = encounter
return nilLog
}
)
)
deepwoods.choices.push( deepwoods.choices.push(
new Choice( new Choice(
"Fight Werewolf", "Fight Werewolf",


Ładowanie…
Anuluj
Zapisz