소스 검색

Add a scene where Geta looks behind the pepper grinder if he gets too suspicious after you tap it

geta
Fen Dweller 6 년 전
부모
커밋
188379b9be
1개의 변경된 파일39개의 추가작업 그리고 16개의 파일을 삭제
  1. +39
    -16
      stories/geta-unaware.js

+ 39
- 16
stories/geta-unaware.js 파일 보기

@@ -171,7 +171,30 @@
desc: "Bang on the pepper shaker",
execute: (room, state) => {
print(["You thump the pepper shaker, making a dull thud."]);
checkSuspicion(state, 25);
const safe = checkSuspicion(state, 25);


if (safe && getStat("suspicion", state) > 50) {
print(["Geta leans in to have a closer look. He's going to catch you if you don't move!"]);

startTimer({
id: "pepper-investigate",
func: state => {
if (state.player.location == "pepper-grinder") {
print(["He catches you.", newline, "You're tossed into the fox's jaws."]);
goToRoom("maw", state);
} else {
print(["You evaded the fox."]);
}
},
delay: 3000,
loop: false,
classes: [
"free"
]
}, state);

}
},
show: [

@@ -412,22 +435,22 @@
}, state);

startTimer({
id: "maw-tease",
func: state => {
printRandom([
["Your captor teases you with a sharp, sloppy swallow, barely holding you back from plunging down that slick gullet."],
["You're sloshed to and fro, battered against the fox's gums by his undulating tongue."],
["Slobber drenches your body as you're smothered beneath Geta's hot tongue."]
]);
return Math.random() * 2000 + 3000;
},
delay: 3000,
loop: true,
classes: [
]
id: "maw-tease",
func: state => {
printRandom([
["Your captor teases you with a sharp, sloppy swallow, barely holding you back from plunging down that slick gullet."],
["You're sloshed to and fro, battered against the fox's gums by his undulating tongue."],
["Slobber drenches your body as you're smothered beneath Geta's hot tongue."]
]);
return Math.random() * 2000 + 3000;
},
delay: 3000,
loop: true,
classes: [
]
}, state);

},
"exit": (room, state) => {


불러오는 중...
취소
저장