|
|
@ -430,7 +430,7 @@ function OvenUI( stage, gameState ){ |
|
|
|
if( gameState.turkeyBought ){ |
|
|
|
if( gameState.turkeyBought ){ |
|
|
|
var state = gameState.ovenModel.getTurkeyState(); |
|
|
|
var state = gameState.ovenModel.getTurkeyState(); |
|
|
|
gameState.pubsub.publish( "ShowDialog", {seq:"custom", autoAdvance:true, customText:evalSkin[turkeyState["skin"]["cond"][2]] + "." } ); |
|
|
|
gameState.pubsub.publish( "ShowDialog", {seq:"custom", autoAdvance:true, customText:evalSkin[turkeyState["skin"]["cond"][2]] + "." } ); |
|
|
|
gameState.pubsub.publish( "AddRecord", {type:"Open ", text:evalSkin[turkeyState["skin"]["cond"][2]]} ); |
|
|
|
gameState.pubsub.publish( "AddRecord", {type:"Open ", "The turkey looked " + turkeyState["skin"]["cond"][2]} ); |
|
|
|
gameState.ovenModel.setRawTemp( (gameState.ovenModel.getRawTemp() - 25) < 150 ? 150 : gameState.ovenModel.getRawTemp() - 25 ); |
|
|
|
gameState.ovenModel.setRawTemp( (gameState.ovenModel.getRawTemp() - 25) < 150 ? 150 : gameState.ovenModel.getRawTemp() - 25 ); |
|
|
|
gameState.ovenOpened++; |
|
|
|
gameState.ovenOpened++; |
|
|
|
} |
|
|
|
} |
|
|
|