Sfoglia il codice sorgente

Started self-indulgent story

tags/v0.1.0
Fen Dweller 6 anni fa
parent
commit
52e67c1d44
2 ha cambiato i file con 28 aggiunte e 0 eliminazioni
  1. +1
    -0
      satiate.html
  2. +27
    -0
      stories/fen-snack.js

+ 1
- 0
satiate.html Vedi File

@@ -8,6 +8,7 @@
<script src="entity.js"></script>
<script src="game.js"></script>
<script src="stories/demo.js"></script>
<script src="stories/fen-snack.js"></script>
<script src="world.js"></script>
<script src="satiate.js"></script>
<meta name="theme-color" content="#000000" />


+ 27
- 0
stories/fen-snack.js Vedi File

@@ -0,0 +1,27 @@
stories.push({
id: "fen-snack",
name: "Fen's Food",
sounds: [
"loop/fen-stomach.ogg",
"loop/fen-intestines.ogg",
"loop/fen-bowels.ogg"
],
intro: {
start: "stomach"
},
world: {
stomach: {
id: "stomach",
name: "Stomach",
desc: "A hot, wet, steamy prison.",
move: (room, state) => {
print(["You slide into Fen's humid stomach."]);
},
hooks: [
(room, state) => {
playLoop("loop/fen-stomach.ogg");
}
]
}
}
});

Loading…
Annulla
Salva