Browse Source

Fixed flexing toes with shoes only

tags/v0.7.0
Fen Dweller 7 years ago
parent
commit
70be7d0b8c
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      game.js

+ 3
- 2
game.js View File

@@ -122,7 +122,7 @@ let macro =
"toeNoShoeDesc": function(plural=false,capital=false) { "toeNoShoeDesc": function(plural=false,capital=false) {
let result = ""; let result = "";


if (!this.footSockWorn && !this.footShoeWorn) {
if (!this.footSockWorn) {
return this.toeOnlyDesc(plural,capital); return this.toeOnlyDesc(plural,capital);
} else if (this.footSockWorn) { } else if (this.footSockWorn) {
switch(this.footSock) { switch(this.footSock) {
@@ -130,6 +130,7 @@ let macro =
result = "socked " + this.toeOnlyDesc(plural,false); result = "socked " + this.toeOnlyDesc(plural,false);
} }
} }

return capital ? result.charAt(0).toUpperCase() + result.slice(1) : result; return capital ? result.charAt(0).toUpperCase() + result.slice(1) : result;
}, },


@@ -1844,7 +1845,7 @@ function flex_toes() {
} else if (macro.footShoeWorn) { } else if (macro.footShoeWorn) {
prey = macro.shoe.container; prey = macro.shoe.container;
if (macro.brutality > 0) { if (macro.brutality > 0) {
macro.sock.container = new Container();
macro.shoe.container = new Container();
} }
} }




Loading…
Cancel
Save