Browse Source

Added new sounds

tags/v0.1.0
Fen Dweller 6 years ago
parent
commit
24208832d2
2 changed files with 23 additions and 2 deletions
  1. +1
    -1
      satiate.js
  2. +22
    -1
      stories/fen-snack.js

+ 1
- 1
satiate.js View File

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

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

let state;



+ 22
- 1
stories/fen-snack.js View File

@@ -2,11 +2,17 @@ stories.push({
id: "fen-snack",
name: "Fen's Food",
tags: [
"Prey",
"Player Prey",
"Digestion"
],
sounds: [
"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-intestines.ogg",
"loop/fen-bowels.ogg"
@@ -155,6 +161,7 @@ stories.push({
"desc": "Push yourself deeper into the crux",
move: (room, state) => {
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: [
(room, exit, state) => {
@@ -163,6 +170,7 @@ stories.push({
if (Math.random() > stamina/100) {
stamina -= 50;
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;
} else {
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."]);
} else {
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);
}
}
@@ -222,6 +231,10 @@ stories.push({
"up": {
target: "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: [
(room, state) => {
return !state.player.flags.submission;
@@ -231,6 +244,10 @@ stories.push({
"down": {
target: "bowels",
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: [
(room, state) => {
return !state.player.flags.submission;
@@ -308,6 +325,10 @@ stories.push({
"up": {
target: "intestines",
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: [
(room, state) => {
return !state.player.flags.submission;


Loading…
Cancel
Save