Fen Dweller 7 лет назад
Родитель
Сommit
24208832d2
2 измененных файлов: 23 добавлений и 2 удалений
  1. +1
    -1
      satiate.js
  2. +22
    -1
      stories/fen-snack.js

+ 1
- 1
satiate.js Просмотреть файл

@@ -3,7 +3,7 @@
let activeModal = null; let activeModal = null;


const newline = String.fromCharCode(160); const newline = String.fromCharCode(160);
const version = "pre-alpha";
const version = "0.1.0";


let state; let state;




+ 22
- 1
stories/fen-snack.js Просмотреть файл

@@ -2,11 +2,17 @@ stories.push({
id: "fen-snack", id: "fen-snack",
name: "Fen's Food", name: "Fen's Food",
tags: [ tags: [
"Prey",
"Player Prey",
"Digestion" "Digestion"
], ],
sounds: [ sounds: [
"sfx/digested-test.ogg", "sfx/digested-test.ogg",
"sfx/stomach-to-intestines.ogg",
"sfx/intestines-to-stomach.ogg",
"sfx/intestines-to-bowels.ogg",
"sfx/bowels-to-intestines.ogg",
"sfx/stomach-to-intestines-fail.ogg",
"sfx/intestines-to-stomach-forced.ogg",
"loop/fen-stomach.ogg", "loop/fen-stomach.ogg",
"loop/fen-intestines.ogg", "loop/fen-intestines.ogg",
"loop/fen-bowels.ogg" "loop/fen-bowels.ogg"
@@ -155,6 +161,7 @@ stories.push({
"desc": "Push yourself deeper into the crux", "desc": "Push yourself deeper into the crux",
move: (room, state) => { move: (room, state) => {
print(["You manage to push yourself down through the valve at the base of the crux's fetid stomach."]); print(["You manage to push yourself down through the valve at the base of the crux's fetid stomach."]);
playSfx("sfx/stomach-to-intestines.ogg");
}, },
hooks: [ hooks: [
(room, exit, state) => { (room, exit, state) => {
@@ -163,6 +170,7 @@ stories.push({
if (Math.random() > stamina/100) { if (Math.random() > stamina/100) {
stamina -= 50; stamina -= 50;
print(["Fen's stomach clenches and ripples, smothering your face in wet flesh and keeping you nice and trapped."]); print(["Fen's stomach clenches and ripples, smothering your face in wet flesh and keeping you nice and trapped."]);
playSfx("sfx/stomach-to-intestines-fail.ogg");
escape = false; escape = false;
} else { } else {
stamina -= 25; stamina -= 25;
@@ -201,6 +209,7 @@ stories.push({
print(["Your prison's walls ripple and grind, shoving you against the valve leading to the crux's boiling stomach - but you manage to resist the powerful pull."]); print(["Your prison's walls ripple and grind, shoving you against the valve leading to the crux's boiling stomach - but you manage to resist the powerful pull."]);
} else { } else {
print(["Too exhausted to resist, your slimy body is crammed into the crux's churning stomach by a powerful wave of peristalsis."]); print(["Too exhausted to resist, your slimy body is crammed into the crux's churning stomach by a powerful wave of peristalsis."]);
playSfx("sfx/intestines-to-stomach-forced.ogg");
goToRoom("stomach", state); goToRoom("stomach", state);
} }
} }
@@ -222,6 +231,10 @@ stories.push({
"up": { "up": {
target: "stomach", target: "stomach",
desc: "Writhe back into Fen's roiling stomach", desc: "Writhe back into Fen's roiling stomach",
move: (room, state) => {
print(["You push yourself back into the crux's fatal stomach."]);
playSfx("sfx/intestines-to-stomach.ogg");
},
conditions: [ conditions: [
(room, state) => { (room, state) => {
return !state.player.flags.submission; return !state.player.flags.submission;
@@ -231,6 +244,10 @@ stories.push({
"down": { "down": {
target: "bowels", target: "bowels",
desc: "Push yourself even deeper into your predator's body", desc: "Push yourself even deeper into your predator's body",
move: (room, state) => {
print(["You wriggle into the beast's bowels."]);
playSfx("sfx/intestines-to-bowels.ogg");
},
conditions: [ conditions: [
(room, state) => { (room, state) => {
return !state.player.flags.submission; return !state.player.flags.submission;
@@ -308,6 +325,10 @@ stories.push({
"up": { "up": {
target: "intestines", target: "intestines",
desc: "Squirm up higher", desc: "Squirm up higher",
move: (room, state) => {
print(["You squirm out from Fen's bowels, working your way back into his cramped guts."]);
playSfx("sfx/bowels-to-intestines.ogg");
},
conditions: [ conditions: [
(room, state) => { (room, state) => {
return !state.player.flags.submission; return !state.player.flags.submission;


Загрузка…
Отмена
Сохранить