Quellcode durchsuchen

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

geta
Fen Dweller vor 6 Jahren
Ursprung
Commit
4ce8c2c337
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
  1. +8
    -0
      stories/geta-unaware.js

+ 8
- 0
stories/geta-unaware.js Datei anzeigen

@@ -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;
}



Laden…
Abbrechen
Speichern