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