Przeglądaj źródła

End the maw struggle with Geta drinking the rest of the bowl

geta
Fen Dweller 5 lat temu
rodzic
commit
4ce8c2c337
1 zmienionych plików z 8 dodań i 0 usunięć
  1. +8
    -0
      stories/geta-unaware.js

+ 8
- 0
stories/geta-unaware.js Wyświetl plik

@@ -465,6 +465,7 @@

state.geta.slurps = 0;
state.geta.chews = 0;
state.geta.swallowsLeft = 3 + Math.floor(Math.random() * 3);

startTimer({
id: "maw-random-movement",
@@ -494,6 +495,12 @@
return false;
}

if (state.geta.swallowsLeft <= 0) {
print(["Geta picks up his bowl of cereal and drinks it down, swallowing you in the process."]);
goToRoom("throat", state);
return false;
}

let choice;

if (Math.random() > state.geta.slurps / 3) {
@@ -514,6 +521,7 @@
changeStat("mawPos", -0.25, state);
state.geta.slurps = 0;
state.geta.chews = 0;
state.geta.swallowsLeft -= 1;
return Math.random() * 1500 + 2500;
}



Ładowanie…
Anuluj
Zapisz