Skip to content

Commit b47aa90

Browse files
author
Editor Rust
committed
Fixes, Updated Help, Balanced Vegetables
Updated help, fixed issue with snow not reducing vegetable amounts, fertilizer now only takes off 30 minutes and doubles yield, peas and corn now worth more (+5 each), rhubarb now 2 hours shorter (4 hours) and worth 4,000 less (50,000), dynamically creates market stalls, market resets fixed, nows creates a deep copy, not enough coins alert for buying seeds and plots
1 parent de67935 commit b47aa90

24 files changed

+175
-245
lines changed

Data/gameInfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let gameInfo = {
77
pumpkinsTime: [300000, 600000, 900000],
88
cabbageTime: [900000, 1800000, 2700000],
99
dandelionTime: [2400000, 4800000, 7200000],
10-
rhubarbTime: [7200000, 14400000, 21600000],
10+
rhubarbTime: [4800000, 9600000, 14400000],
1111
// Seed prices
1212
cornSeeds: 150,
1313
strawberriesSeeds: 500,

Data/initialData.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ let initGameData = {
4545
// Vegetable prices
4646
vegCost: {
4747
peas: {
48-
buy: 25,
49-
sell: 25
48+
buy: 30,
49+
sell: 30
5050
},
5151
corn: {
52-
buy: 75,
53-
sell: 75
52+
buy: 80,
53+
sell: 80
5454
},
5555
strawberries: {
5656
buy: 250,
@@ -73,8 +73,8 @@ let initGameData = {
7373
sell: 18000
7474
},
7575
rhubarb: {
76-
buy: 54000,
77-
sell: 54000
76+
buy: 50000,
77+
sell: 50000
7878
}
7979
},
8080

Data/taskData.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ t1: {
1212
},
1313
demand: {
1414
text: "Submit 25 Peas",
15-
code: "if (gameData.peas >= 25) { gameData.peas -= 25; updateVeg('peas'); checkTasks('jebsPeaSalad'); } else { fadeTextAppear(event, `Not enough produce - you need ${25 - gameData.peas} more`, false, '#de0000'); }"
15+
code: "if (gameData.peas >= 25) { gameData.peas -= 25; updateVeg('peas'); checkTasks('jebsPeaSalad'); } else { fadeTextAppear(event, `Not enough produce - you need ${25 - gameData.peas} more`, '#de0000'); }"
1616
},
1717
text: {
1818
notReady: "I plan on making a nice, big salad, and I'll need some fresh produce for it. Could you do me a favor and get some peas for me?",
@@ -69,7 +69,7 @@ t3: {
6969
code: "return;"
7070
},
7171
text: {
72-
notReady: "Your plants look like they could do with some help. Why don't you use some fertilizer? It'll double the crop yeild and finish the growing instantly!",
72+
notReady: "Your plants look like they could do with some help. Why don't you use some fertilizer? It'll double the crop yeild and take 30 minutes off the growing time!",
7373
ready: "Wow, just look at those plants grow! Here, take these, I've had them lying about for years!"
7474
},
7575
reward: {
@@ -93,7 +93,7 @@ t4: {
9393
},
9494
demand: {
9595
text: "Submit 45 Corn",
96-
code: "if (gameData.corn >= 45) { gameData.corn -= 45; updateVeg('corn'); checkTasks('jebsGrilledCorn'); } else { fadeTextAppear(event, 'Not enough produce', false, '#de0000'); }"
96+
code: "if (gameData.corn >= 45) { gameData.corn -= 45; updateVeg('corn'); checkTasks('jebsGrilledCorn'); } else { fadeTextAppear(event, 'Not enough produce', '#de0000'); }"
9797
},
9898
text: {
9999
notReady: "I'm inviting some family over, and I want to serve corn on the cob. I'm going to need to get come corn. Could you get them for me?",
@@ -120,7 +120,7 @@ t5: {
120120
},
121121
demand: {
122122
text: "Submit 6 Dandelions",
123-
code: "if (gameData.dandelion >= 6) { gameData.dandelion -= 6; updateVeg('dandelion'); checkTasks('josephinesDandelionSalad'); } else { fadeTextAppear(event, 'Not enough produce', false, '#de0000'); }"
123+
code: "if (gameData.dandelion >= 6) { gameData.dandelion -= 6; updateVeg('dandelion'); checkTasks('josephinesDandelionSalad'); } else { fadeTextAppear(event, 'Not enough produce', '#de0000'); }"
124124
},
125125
text: {
126126
notReady: "What an outrage! I have found that we have been losing profit to a competing company, Happy Place Farms! Their top product is lettuce salad, but I think we can do better! Introducing; dandelion salad!",
@@ -228,7 +228,7 @@ t9: {
228228
},
229229
demand: {
230230
text: "Submit 20 Corn",
231-
code: "if (gameData.corn >= 20) { gameData.corn -= 20; updateVeg('corn'); checkTasks('bakeSale_cornBread'); } else { fadeTextAppear(event, 'Not enough produce', false, '#de0000'); }"
231+
code: "if (gameData.corn >= 20) { gameData.corn -= 20; updateVeg('corn'); checkTasks('bakeSale_cornBread'); } else { fadeTextAppear(event, 'Not enough produce', '#de0000'); }"
232232
},
233233
text: {
234234
notReady: "I have a wonderful lucrative idea! We can hold a bake sale with plenty of delicious foods! Let's start with cornbread, my personal faviorite!",
@@ -255,7 +255,7 @@ t10: {
255255
},
256256
demand: {
257257
text: "Submit 60 Peas",
258-
code: "if (gameData.peas >= 60) { gameData.peas -= 60; updateVeg('peas'); checkTasks('bakeSale_peaSnacks'); } else { fadeTextAppear(event, 'Not enough produce', false, '#de0000'); }"
258+
code: "if (gameData.peas >= 60) { gameData.peas -= 60; updateVeg('peas'); checkTasks('bakeSale_peaSnacks'); } else { fadeTextAppear(event, 'Not enough produce', '#de0000'); }"
259259
},
260260
text: {
261261
notReady: "Next, let's make some crunchy pea snacks!",
@@ -282,7 +282,7 @@ t11: {
282282
},
283283
demand: {
284284
text: "Submit 15 Strawberries",
285-
code: "if (gameData.strawberries >= 15) { gameData.strawberries -= 15; updateVeg('strawberries'); checkTasks('bakeSale_strawberryJam'); } else { fadeTextAppear(event, 'Not enough produce', false, '#de0000'); }"
285+
code: "if (gameData.strawberries >= 15) { gameData.strawberries -= 15; updateVeg('strawberries'); checkTasks('bakeSale_strawberryJam'); } else { fadeTextAppear(event, 'Not enough produce', '#de0000'); }"
286286
},
287287
text: {
288288
notReady: "Do you like spreading nice, sweet, jam on toast? I sure do, and so will our customers!",
@@ -309,7 +309,7 @@ t12: {
309309
},
310310
demand: {
311311
text: "Submit 10 Pimpkins",
312-
code: "if (gameData.pumpkins >= 10) { gameData.pumpkins -= 10; updateVeg('pumpkins'); checkTasks('bakeSale_pumpkinPie'); } else { fadeTextAppear(event, 'Not enough produce', false, '#de0000'); }"
312+
code: "if (gameData.pumpkins >= 10) { gameData.pumpkins -= 10; updateVeg('pumpkins'); checkTasks('bakeSale_pumpkinPie'); } else { fadeTextAppear(event, 'Not enough produce', '#de0000'); }"
313313
},
314314
text: {
315315
notReady: "Not all pumpkin pies are great, but my recipe is! Let's make a few!",

Images/Help/disasters.png

-685 KB
Loading

Images/Help/fertilizer.gif

1.73 MB
Loading

Images/Help/market.png

-310 KB
Loading

Images/Help/plots.png

-59.5 KB
Loading

Images/Weather/overcast.svg renamed to Images/Weather/partlyCloudy.svg

Lines changed: 1 addition & 1 deletion
Loading
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)