Browse Source

cond

Load_Fix
Robert Chen 11 years ago
parent
commit
b9f654ac78
  1. 4
      js/ui.js

4
js/ui.js

@ -320,7 +320,7 @@ function OvenUI( stage, gameState ){ @@ -320,7 +320,7 @@ function OvenUI( stage, gameState ){
// what's the state of the turkey
turkeyState = ovenModel.getTurkeyState();
turkeyStates[0].alpha = 1;
/* if( turkeyState["skin"]["cond"][0] == "Undercooked" )
if( turkeyState["skin"]["cond"][0] == "Undercooked" )
turkeyStates[1].alpha = turkeyState["skin"]["cond"][1];
if( turkeyState["skin"]["cond"][0] == "Cooked" )
turkeyStates[2].alpha = turkeyState["skin"]["cond"][1];
@ -330,7 +330,7 @@ function OvenUI( stage, gameState ){ @@ -330,7 +330,7 @@ function OvenUI( stage, gameState ){
turkeyStates[4].alpha = turkeyState["skin"]["cond"][1];
if( turkeyState["skin"]["cond"][0] == "House Fire" )
turkeyStates[4].alpha = 1;
*/
}
}
},

Loading…
Cancel
Save