| @@ -1973,7 +1973,7 @@ function poojawaPlayerCaughtOral(player) { | |||||
| function poojawaPlayerCaughtTail(player) { | function poojawaPlayerCaughtTail(player) { | ||||
| return { | return { | ||||
| name: "Rub her tails", | name: "Rub her tails", | ||||
| desc: "Why not just give them a fewpets?", | |||||
| desc: "Why not just give them a few pets?", | |||||
| attack: function(poojawa) { | attack: function(poojawa) { | ||||
| poojawa.flags.tail += 1; | 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..."]; | 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..."]; | ||||
| @@ -6,6 +6,15 @@ body { | |||||
| font-family: Arial; | font-family: Arial; | ||||
| } | } | ||||
| hr { | |||||
| display: block; | |||||
| height: 1px; | |||||
| border: 0; | |||||
| border-top: 1px solid #ccc; | |||||
| margin: 1em 0; | |||||
| padding: 0; | |||||
| } | |||||
| a { | a { | ||||
| color: #7777FF; | color: #7777FF; | ||||
| text-decoration: none; | text-decoration: none; | ||||
| @@ -421,6 +421,7 @@ function update(lines=[]) { | |||||
| log.appendChild(div); | log.appendChild(div); | ||||
| } | } | ||||
| log.scrollTop = log.scrollHeight; | log.scrollTop = log.scrollHeight; | ||||
| updateDisplay(); | updateDisplay(); | ||||
| } | } | ||||
| @@ -501,6 +502,7 @@ function startCombat(opponent) { | |||||
| } | } | ||||
| function attackClicked(index) { | function attackClicked(index) { | ||||
| clearScreen(); | |||||
| update(playerAttacks[index].attack(currentFoe).concat([newline])); | update(playerAttacks[index].attack(currentFoe).concat([newline])); | ||||
| if (currentFoe.health <= 0) { | if (currentFoe.health <= 0) { | ||||