|
|
@ -685,6 +685,10 @@ function OvenUI( stage, gameState ){ |
|
|
|
//finalize button
|
|
|
|
//finalize button
|
|
|
|
if( gameState.turkeyBought ){ |
|
|
|
if( gameState.turkeyBought ){ |
|
|
|
stage.addChild( new Button( stage, gameState, 45, 250, 250, 150, null, null, function(){ |
|
|
|
stage.addChild( new Button( stage, gameState, 45, 250, 250, 150, null, null, function(){ |
|
|
|
|
|
|
|
if(!evalSkin[turkeyState["skin"]["cond"][2]]){ |
|
|
|
|
|
|
|
gameState.pubsub.publish("Death",""); |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
gameState.pubsub.publish("Play", "Error"); |
|
|
|
gameState.pubsub.publish("Play", "Error"); |
|
|
|
gameState.pubsub.publish("ShowFinalConfirm",""); |
|
|
|
gameState.pubsub.publish("ShowFinalConfirm",""); |
|
|
|
} ) ); |
|
|
|
} ) ); |
|
|
|