Kaynağa Gözat

Alt vore contents are shown properly now

tags/v0.2.8
Fen Dweller 7 yıl önce
ebeveyn
işleme
6aa68b34ff
2 değiştirilmiş dosya ile 10 ekleme ve 7 silme
  1. +4
    -1
      feast.html
  2. +6
    -6
      feast.js

+ 4
- 1
feast.html Dosyayı Görüntüle

@@ -48,8 +48,11 @@
<div class="stat-line" id="stat-str">Blood Sugar: 235</div>
<div class="stat-line" id="stat-dex">Daylight: Empty</div>
<div class="stat-line" id="stat-con">Sonhearst: River</div>
<div class="stat-line" id="stat-fullness">Candy Corn: 3</div>
<div class="stat-line" id="stat-stomach">Candy Corn: 3</div>
<div class="stat-line" id="stat-bowels">Emotions: 35/100</div>
<div class="stat-line" id="stat-balls">Sick Burn: 85/100</div>
<div class="stat-line" id="stat-womb">Nerves: 22/55</div>
<div class="stat-line" id="stat-breasts">Fractal Prospectus: 99/100</div>
<button class="stat-button" id="stat-button-status">Status</button>
<button class="stat-button" id="log-button">Log: Enabled</button>
</div>


+ 6
- 6
feast.js Dosyayı Görüntüle

@@ -257,12 +257,12 @@ function updateDisplay() {
document.getElementById("stat-str").innerHTML = "Str: " + player.str;
document.getElementById("stat-dex").innerHTML = "Dex: " + player.dex;
document.getElementById("stat-con").innerHTML = "Con: " + player.con;
document.getElementById("stat-fullness").innerHTML = "Stomach: " + round(player.stomach.fullness(),0) + "/" + player.stomach.capacity;
if (player.prefs.scat) {
document.getElementById("stat-bowels").innerHTML = "Bowels: " + round(player.bowels.fullness(),0) + "/" + player.bowels.capacity;
} else {
document.getElementById("stat-bowels").innerHTML = "";
}
document.getElementById("stat-stomach").innerHTML = "Stomach: " + round(player.stomach.fullness(),0) + "/" + player.stomach.capacity
document.getElementById("stat-bowels").innerHTML = "Bowels: " + round(player.bowels.fullness(),0) + "/" + player.bowels.capacity;
document.getElementById("stat-balls").innerHTML = "Balls: " + round(player.balls.fullness(),0) + "/" + player.balls.capacity;
document.getElementById("stat-womb").innerHTML = "Womb: " + round(player.womb.fullness(),0) + "/" + player.womb.capacity;
document.getElementById("stat-breasts").innerHTML = "Breasts: " + round(player.breasts.fullness(),0) + "/" + player.breasts.capacity;
}

function advanceTimeTo(newTime) {


Yükleniyor…
İptal
Kaydet