Просмотр исходного кода

Add some (pointless) pleading in the stomach; turn the screen red as health drops

geta
Fen Dweller 6 лет назад
Родитель
Сommit
0f6becabc7
1 измененных файлов: 63 добавлений и 0 удалений
  1. +63
    -0
      stories/geta-unaware.js

+ 63
- 0
stories/geta-unaware.js Просмотреть файл

@@ -234,6 +234,9 @@
"preload": [ "preload": [


], ],
"refresh": () => {
setBackgroundColor(50 - state.player.stats.health.value / 2, 0, 0);
},
"world": { "world": {
"pepper-grinder": { "pepper-grinder": {
"id": "pepper-grinder", "id": "pepper-grinder",
@@ -981,6 +984,66 @@
], ],
conditions: [ conditions: [


]
},
{
name: "Beg",
desc: "Plead for your life",
execute: (room) => {
printRandom([
[
"\"PLEASE!\" you scream, thumping on the walls of the vulpine's gut. \"Let me out!\"",
]
])

if (Math.random() < 0.7) {
print(["Your pleas fall on deaf ears."]);
} else {
printRandom([
["\"Shhhh,\" growls Geta, \"you're going to die in me. Stop whimpering.\""],
["A long moment passes. \"Poor thing,\" says your captor."]
])
}
},
show: [

],
conditions: [

]
},
{
name: "Scream",
desc: "IT HURTS",
execute: (room) => {
printRandom([
[
"\"Oh god, oh god, oh god,\" you wail...quivering and quaking as you're digested alive. \"GETA!\""
],
[
"A blood-curdling scream bellows from your burning lungs."
],
[
"You let out a hideous wail as the fox digests you alive."
]
]);

if (Math.random() < 0.5) {
print(["Geta doesn't notice."]);
} else {
print(["A booming chuckle rocks your body."]);
printRandom([
["\"I hope you're suffering in there.\""],
["\"Pathetic little snack.\""],
["\"Ready to die?\""]
]);
}
},
show: [

],
conditions: [

] ]
}, },
], ],


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