Procházet zdrojové kódy

Each combat round clears the screen

tags/v0.2.8
Fen Dweller před 7 roky
rodič
revize
d205db44fe
3 změnil soubory, kde provedl 12 přidání a 1 odebrání
  1. +1
    -1
      customs.js
  2. +9
    -0
      feast.css
  3. +2
    -0
      feast.js

+ 1
- 1
customs.js Zobrazit soubor

@@ -1973,7 +1973,7 @@ function poojawaPlayerCaughtOral(player) {
function poojawaPlayerCaughtTail(player) {
return {
name: "Rub her tails",
desc: "Why not just give them a fewpets?",
desc: "Why not just give them a few pets?",
attack: function(poojawa) {
poojawa.flags.tail += 1;
return ["You reach out at one of Poojawa's swaying tails, stroking along soft fur and sneaking your hand into the slackeend maw. So soft..."];


+ 9
- 0
feast.css Zobrazit soubor

@@ -6,6 +6,15 @@ body {
font-family: Arial;
}

hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}

a {
color: #7777FF;
text-decoration: none;


+ 2
- 0
feast.js Zobrazit soubor

@@ -421,6 +421,7 @@ function update(lines=[]) {
log.appendChild(div);
}


log.scrollTop = log.scrollHeight;
updateDisplay();
}
@@ -501,6 +502,7 @@ function startCombat(opponent) {
}

function attackClicked(index) {
clearScreen();
update(playerAttacks[index].attack(currentFoe).concat([newline]));

if (currentFoe.health <= 0) {


Načítá se…
Zrušit
Uložit