Przeglądaj źródła

Fixed missing struggle descriptions. Made player tougher. Fixed wrong text when respawning

tags/v0.2.8
Fen Dweller 7 lat temu
rodzic
commit
ed45429a6c
2 zmienionych plików z 6 dodań i 2 usunięć
  1. +2
    -2
      feast.js
  2. +4
    -0
      vore.js

+ 2
- 2
feast.js Wyświetl plik

@@ -269,7 +269,7 @@ function struggleClicked(index) {

if (player.health <= -100) {
update(["You digest in the depths of the " + currentFoe.description()]);
moveTo(respawnRoom);
moveTo(respawnRoom,"You drift through space and time...");
changeMode("explore");
player.health = 100;
update(["You wake back up in your bed."]);
@@ -278,7 +278,7 @@ function struggleClicked(index) {
}

function struggleHovered(index) {
document.getElementById("eaten-desc").innerHTML = player.struggles[index].desc;
document.getElementById("eaten-desc").innerHTML = currentFoe.struggles[index].desc;
}

function startDialog(dialog) {


+ 4
- 0
vore.js Wyświetl plik

@@ -26,6 +26,10 @@ function Player(name = "Player") {

this.attacks.push(new punchAttack(this));
this.attacks.push(new flankAttack(this));

this.str = 15;
this.dex = 15;
this.con = 15;
}

function Anthro() {


Ładowanie…
Anuluj
Zapisz