(
<>
- {Decimal.lt(depth.value, 1000) ? "Reach 1000m to start gaining oil" :
- <>{formatGain(Decimal.add(computedOilSpeed.value, computedOilConsumption.value))}
+ {Decimal.lt(depth.value, 1000) ? (
+ "Reach 1000m to start gaining oil"
+ ) : (
+ <>
+ {formatGain(
+ Decimal.add(
+ computedOilSpeed.value,
+ computedOilConsumption.value
+ )
+ )}
>
- }
+ )}
>
))}
/>
- {Decimal.eq(computedOilSpeed.value, 0) ? <>
- (Need at least 1 Oil Pump, 1 Heavy Drill and 1 Heavy Extractor active to gain oil)
-
> : ""}
+ {Decimal.eq(computedOilSpeed.value, 0) ? (
+ <>
+ (Need at least 1 Oil Pump, 1 Heavy Drill and 1 Heavy Extractor active to
+ gain oil)
+
+ >
+ ) : (
+ ""
+ )}
- {
- depthMilestones[6].earned.value ?
+ {depthMilestones[6].earned.value ? (
{render(buildPump)}
@@ -1014,10 +1119,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
{renderRow(minPump, removePump, addPump, maxPump)}
- : null
- }
- {
- oilMilestones[0].earned.value ?
+ ) : null}
+ {oilMilestones[0].earned.value ? (
{render(buildBurner)}
@@ -1026,10 +1129,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
{renderRow(minBurner, removeBurner, addBurner, maxBurner)}
- : null
- }
- {
- oilMilestones[2].earned.value ?
+ ) : null}
+ {oilMilestones[2].earned.value ? (
{render(buildSmelter)}
@@ -1038,8 +1139,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
{renderRow(minSmelter, removeSmelter, addSmelter, maxSmelter)}
- : null
- }
+ ) : null}
@@ -1048,7 +1148,9 @@ const layer = createLayer(id, function (this: BaseLayer) {
{formatWhole(depth.value)}
m deep
-
Next at {format(Decimal.sub(drillProgressReq.value, drillProgress.value))} drill power seconds
+
+ Next at {format(Decimal.sub(drillProgressReq.value, drillProgress.value))} drill
+ power seconds
Your drill power is
@@ -1066,8 +1168,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
{renderRow(minHeavy, removeHeavy, addHeavy, maxHeavy)}
- {
- depthMilestones[3].earned.value ?
+ {depthMilestones[3].earned.value ? (
{render(buildHeavy2)}
@@ -1076,10 +1177,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
{renderRow(minHeavy2, removeHeavy2, addHeavy2, maxHeavy2)}
- : null
- }
- {
- depthMilestones[5].earned.value ?
+ ) : null}
+ {depthMilestones[5].earned.value ? (
{render(buildExtractor)}
@@ -1088,8 +1187,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
{renderRow(minExtractor, removeExtractor, addExtractor, maxExtractor)}
- : null
- }
+ ) : null}
{depthMilestones[1].earned.value ? renderRow(...row1Upgrades) : null}
@@ -1099,7 +1197,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
{Decimal.gte(totalOil.value, 50) ? oilMilestonesDisplay() : ""}
>
))
- }
+ };
});
-export default layer;
\ No newline at end of file
+export default layer;
diff --git a/src/data/projEntry.tsx b/src/data/projEntry.tsx
index c5e1339..8bc5bc9 100644
--- a/src/data/projEntry.tsx
+++ b/src/data/projEntry.tsx
@@ -216,7 +216,7 @@ export const main = createLayer("main", function (this: BaseLayer) {
"The sounds of drills and metal clanging join the already loud din as yet another piece of the puzzle fits into place. You're making solid progress, Good Job!"
})),
createDay(() => ({
- day: 8,
+ day: 8,
shouldNotify: false,
layer: "cloth",
symbol: clothSymbol,
@@ -229,8 +229,9 @@ export const main = createLayer("main", function (this: BaseLayer) {
shouldNotify: false,
layer: "oil",
symbol: oilSymbol,
- story: "Looks like you just need one more thing before the toy factory can get running: plastic! Every toy nowadays is made with plastic! But wait, how are you going to get plastic? What can make plastic? Wait that's right, oil! You figured out you might as well repurpose your coal and ore drills into something that can get you oil, unfortunately you'll need to mine much deeper that you're currently doing before, so let's get to work!",
- completedStory: "It took a while, but you finally got enough oil for the next step! You deserve a good rest after all these digging work - tomorrow will be a busy day! Good Job!"
+ story: "Looks like you just need one more thing before the toy factory can start running: plastic! Every toy nowadays is made with plastic! But wait, how are you going to get plastic? What can make plastic? Wait that's right, oil! You figured out you might as well repurpose your coal and ore drills into something that can get you oil, but unfortunately you'll need to mine much deeper that you're currently doing, so let's get to work!",
+ completedStory:
+ "It took a while, but you finally got enough oil for the next step! You deserve a good rest after all this digging work - tomorrow will be a busy day! Good Job!"
})),
createDay(() => ({
day: 10,