From 23a9b78633c73829449809d12d40f4123cfb434d Mon Sep 17 00:00:00 2001 From: Zott820 Date: Tue, 7 Jan 2014 00:31:37 -0800 Subject: [PATCH 1/2] Update screens.js Fix the wrong score/cook condition displayed for the core on the score screen. --- js/screens.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/screens.js b/js/screens.js index 3ed6a14..4006c18 100755 --- a/js/screens.js +++ b/js/screens.js @@ -552,7 +552,7 @@ function ScoreScreen( stage, gameState ){ outerConditionText.x = 310; outerConditionText.y = 320; - var coreConditionText = new createjs.Text( coreScoreChart[ turkeyState.skin.cond[2] ], "20px Arial", "black" ); + var coreConditionText = new createjs.Text( coreScoreChart[ turkeyState.core.cond[2] ], "20px Arial", "black" ); coreConditionText.x = 310; coreConditionText.y = 340; From 5b0a60815c5c4178ff48bb651f25bd3d8d9ee7cb Mon Sep 17 00:00:00 2001 From: Zott820 Date: Tue, 7 Jan 2014 00:36:46 -0800 Subject: [PATCH 2/2] Update ui.js Frills bonus was supposed to be 5% not 5x. This change makes it more in line with its price to buy. --- js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui.js b/js/ui.js index c565a32..4a1f982 100755 --- a/js/ui.js +++ b/js/ui.js @@ -958,7 +958,7 @@ function MarketItem( gameState, name, x, y, cost, mouseOutImg, mouseOverImg, mou // if we bought a clock, enable it! if( that.name.indexOf("Alarm") != -1 ) gameState.alarmBought = true; - if( that.name.indexOf("Frills") != -1 ) gameState.frillsModifier = 5; + if( that.name.indexOf("Frills") != -1 ) gameState.frillsModifier = 1.05; if( that.name.indexOf("Exquisite") != -1 ){ gameState.stuffingTypeModifier = gameState.stuffingTypeModifier > 1.08 ? gameState.stuffingTypeModifier : 1.08; } if( that.name.indexOf("Special") != -1 ){ gameState.stuffingTypeModifier = gameState.stuffingTypeModifier > 1.17 ? gameState.stuffingTypeModifier : 1.17; }