mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +00:00
workshop scaling
This commit is contained in:
parent
764861b3f4
commit
6a625f2fb8
3 changed files with 16 additions and 4 deletions
|
@ -35,6 +35,7 @@ import management from "./management";
|
||||||
import oil from "./oil";
|
import oil from "./oil";
|
||||||
import paper from "./paper";
|
import paper from "./paper";
|
||||||
import trees from "./trees";
|
import trees from "./trees";
|
||||||
|
import toys from "./toys";
|
||||||
|
|
||||||
interface Dye {
|
interface Dye {
|
||||||
name: string;
|
name: string;
|
||||||
|
@ -511,6 +512,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
dyesToReset: [],
|
dyesToReset: [],
|
||||||
|
visibility: () => showIf(toys.milestones.milestone2.earned.value)
|
||||||
}),
|
}),
|
||||||
orange: createDye({
|
orange: createDye({
|
||||||
name: "Orange Dye",
|
name: "Orange Dye",
|
||||||
|
|
|
@ -65,8 +65,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
cloth: clothFactor.mul(1e12),
|
cloth: clothFactor.mul(1e13),
|
||||||
dye: clothFactor.mul(1e14)
|
dye: clothFactor.mul(2e14)
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
const clothesBuyable = createBuyable(() => ({
|
const clothesBuyable = createBuyable(() => ({
|
||||||
|
@ -141,7 +141,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
metal: factor.mul(1e43),
|
metal: factor.mul(1e43),
|
||||||
plastic: plasticFactor.mul(1e15)
|
plastic: plasticFactor.mul(1e14)
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
const trucksBuyable = createBuyable(() => ({
|
const trucksBuyable = createBuyable(() => ({
|
||||||
|
@ -256,7 +256,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
|
|
||||||
const { total: totalToys, trackerDisplay } = setUpDailyProgressTracker({
|
const { total: totalToys, trackerDisplay } = setUpDailyProgressTracker({
|
||||||
resource: toySum,
|
resource: toySum,
|
||||||
goal: 200,
|
goal: 2000,
|
||||||
name,
|
name,
|
||||||
day,
|
day,
|
||||||
background: {
|
background: {
|
||||||
|
|
|
@ -74,6 +74,16 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
exponent: 1 / 0.99,
|
exponent: 1 / 0.99,
|
||||||
description: "Holly Level 5",
|
description: "Holly Level 5",
|
||||||
enabled: management.elfTraining.cutterElfTraining.milestones[4].earned
|
enabled: management.elfTraining.cutterElfTraining.milestones[4].earned
|
||||||
|
})),
|
||||||
|
createExponentialModifier(() => ({
|
||||||
|
exponent: 0.1,
|
||||||
|
description: "Scaling Jump at 1000%",
|
||||||
|
enabled: computed(() => Decimal.gte(foundationProgress.value, 1000))
|
||||||
|
})),
|
||||||
|
createMultiplicativeModifier(() => ({
|
||||||
|
multiplier: 6969, // note: 6969 is a magic number. Don't touch this or it'll self-destruct.
|
||||||
|
description: "Scaling Jump at 1000%",
|
||||||
|
enabled: computed(() => Decimal.gte(foundationProgress.value, 1000))
|
||||||
}))
|
}))
|
||||||
])
|
])
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in a new issue