Skip to content

Commit 697b0c1

Browse files
authored
attack Raven Smith
1 parent c89f47b commit 697b0c1

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

escape/GAMER.ts

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,39 @@ function northPath(): StageInfo {
6767
if (!ravenCompassTaken) {
6868
I.description += "<span style='color: #E5989B'>a small, round object protrudes from his pocket. a compass, perhaps?</span> ";
6969
}
70+
I.choices["attack Ravensmith"] = ()=>{
71+
return "attacking Ravensmith now will softlock you from the game. i cant let that happen. "
72+
}
7073
if (!inventory.has(sushiItem) || ravenCompassTaken) {
7174
I.choices["talk to Ravensmith"] = () => {
7275
return "Ravensmith does not bother with small talk. he humphs at you and turns his head away. "
7376
}
77+
7478
} else {
7579
I.choices["talk to Ravensmith"] = () => {
7680
inventory.add(compassItem)
7781
inventory.remove(sushiItem, 1);
7882
ravenCompassTaken = true;
7983
return "you ask for his compass, offering a piece of sushi. he obliges. +1 compass "
8084
}
85+
8186
}
87+
if (ravenCompassTaken){
88+
I.choices["attack Ravensmith"] =()=>{
89+
startBattle({
90+
attackTime:200,
91+
description:'dumbass.',
92+
attackStrength:3,
93+
totalEnemyHealth:1000,
94+
totalMeHealth:100,
95+
enemyImage:'./assets/rat.png',hasWeapon:true,theirattackStrength:10,theirattackTime:1000,
96+
myAttackSound: '../ass/ets/hit-slap.mp3',
97+
theirAttackSound: '../ass/ets/hit-slap.mp3',
98+
})
99+
return"wtf."
100+
}
101+
}
102+
82103
}
83104
if (Math.random() < 0.5 || grassPicked < 2) {
84105
I.choices["pick grass"] = () => {
@@ -387,4 +408,4 @@ function rubberRoomExit2(): StageInfo {
387408
choices: { 'make me crazy': BEGINNING },
388409
theme: 'fountainRats'
389410
};
390-
}
411+
}

0 commit comments

Comments
 (0)