mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-04-01 21:41:00 +00:00
Merge branch 'day-17-toys' of https://github.com/thepaperpilot/Advent-Incremental into day-17-toys
This commit is contained in:
commit
deca7bffc1
4 changed files with 53 additions and 0 deletions
|
@ -40,7 +40,10 @@ import trees from "./trees";
|
||||||
import boxes from "./boxes";
|
import boxes from "./boxes";
|
||||||
import { ElfBuyable } from "./elves";
|
import { ElfBuyable } from "./elves";
|
||||||
import toys from "./toys"
|
import toys from "./toys"
|
||||||
|
<<<<<<< HEAD
|
||||||
>>>>>>> finish balancing toys layer
|
>>>>>>> finish balancing toys layer
|
||||||
|
=======
|
||||||
|
>>>>>>> 19d58d575e4f3e5ecb3adad514f7089e50360057
|
||||||
|
|
||||||
interface Dye {
|
interface Dye {
|
||||||
name: string;
|
name: string;
|
||||||
|
@ -61,11 +64,15 @@ type DyeUpg =
|
||||||
| "blueDyeUpg2"
|
| "blueDyeUpg2"
|
||||||
| "coalUpg";
|
| "coalUpg";
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
export type enumColor = "blue" | "red" | "green" | "yellow" | "purple" | "orange";
|
export type enumColor = "blue" | "red" | "green" | "yellow" | "purple" | "orange";
|
||||||
=======
|
=======
|
||||||
export type enumColor = "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "black";
|
export type enumColor = "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "black";
|
||||||
>>>>>>> finish balancing toys layer
|
>>>>>>> finish balancing toys layer
|
||||||
|
=======
|
||||||
|
export type enumColor = "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "black";
|
||||||
|
>>>>>>> 19d58d575e4f3e5ecb3adad514f7089e50360057
|
||||||
|
|
||||||
const id = "dyes";
|
const id = "dyes";
|
||||||
const day = 11;
|
const day = 11;
|
||||||
|
@ -525,6 +532,34 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
],
|
],
|
||||||
dyesToReset: []
|
dyesToReset: []
|
||||||
}),
|
}),
|
||||||
|
black: createDye({
|
||||||
|
name: "Black Dye",
|
||||||
|
color: "black",
|
||||||
|
costs: () => [
|
||||||
|
{
|
||||||
|
base: "1e42",
|
||||||
|
root: 5,
|
||||||
|
res: trees.logs
|
||||||
|
},
|
||||||
|
{
|
||||||
|
base: computed(() => (upgrades.yellowDyeUpg2.bought.value ? "1e15" : "2e15")),
|
||||||
|
root: 2,
|
||||||
|
res: oil.oil
|
||||||
|
}
|
||||||
|
],
|
||||||
|
listedBoosts: [
|
||||||
|
{
|
||||||
|
visible: true,
|
||||||
|
desc: computed(
|
||||||
|
() =>
|
||||||
|
`*${format(
|
||||||
|
boosts.black1.value
|
||||||
|
)} letters processed.`
|
||||||
|
)
|
||||||
|
}
|
||||||
|
],
|
||||||
|
dyesToReset: []
|
||||||
|
}),
|
||||||
orange: createDye({
|
orange: createDye({
|
||||||
name: "Orange Dye",
|
name: "Orange Dye",
|
||||||
color: "orange",
|
color: "orange",
|
||||||
|
|
|
@ -36,10 +36,14 @@ import paper from "./paper";
|
||||||
import plastic from "./plastic";
|
import plastic from "./plastic";
|
||||||
import workshop from "./workshop";
|
import workshop from "./workshop";
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
|
<<<<<<< HEAD
|
||||||
import wrappingPaper from "./wrapping-paper";
|
import wrappingPaper from "./wrapping-paper";
|
||||||
=======
|
=======
|
||||||
import toys from "./toys";
|
import toys from "./toys";
|
||||||
>>>>>>> finish balancing toys layer
|
>>>>>>> finish balancing toys layer
|
||||||
|
=======
|
||||||
|
import toys from "./toys";
|
||||||
|
>>>>>>> 19d58d575e4f3e5ecb3adad514f7089e50360057
|
||||||
|
|
||||||
const id = "metal";
|
const id = "metal";
|
||||||
const day = 7;
|
const day = 7;
|
||||||
|
|
|
@ -537,6 +537,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
enabled: computed(() => Decimal.gt(wrappingPaper.boosts.christmas1.value, 1))
|
enabled: computed(() => Decimal.gt(wrappingPaper.boosts.christmas1.value, 1))
|
||||||
})),
|
})),
|
||||||
createMultiplicativeModifier(() => ({
|
createMultiplicativeModifier(() => ({
|
||||||
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
multiplier: () => Decimal.add(computedTotalTrees.value, 1).log10(),
|
multiplier: () => Decimal.add(computedTotalTrees.value, 1).log10(),
|
||||||
description: "Trees Decoration",
|
description: "Trees Decoration",
|
||||||
|
@ -546,6 +547,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
description: "Load logs onto trucks",
|
description: "Load logs onto trucks",
|
||||||
enabled: toys.row1Upgrades[0].bought
|
enabled: toys.row1Upgrades[0].bought
|
||||||
>>>>>>> finish balancing toys layer
|
>>>>>>> finish balancing toys layer
|
||||||
|
=======
|
||||||
|
multiplier: 2,
|
||||||
|
description: "Load logs onto trucks",
|
||||||
|
enabled: toys.row1Upgrades[0].bought
|
||||||
|
>>>>>>> 19d58d575e4f3e5ecb3adad514f7089e50360057
|
||||||
})),
|
})),
|
||||||
createExponentialModifier(() => ({
|
createExponentialModifier(() => ({
|
||||||
exponent: 1.2,
|
exponent: 1.2,
|
||||||
|
|
|
@ -34,10 +34,14 @@ import trees from "./layers/trees";
|
||||||
import workshop from "./layers/workshop";
|
import workshop from "./layers/workshop";
|
||||||
import wrappingPaper from "./layers/wrapping-paper";
|
import wrappingPaper from "./layers/wrapping-paper";
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
|
<<<<<<< HEAD
|
||||||
import ribbon from "./layers/ribbon";
|
import ribbon from "./layers/ribbon";
|
||||||
=======
|
=======
|
||||||
import toys from "./layers/toys";
|
import toys from "./layers/toys";
|
||||||
>>>>>>> fix toy sum
|
>>>>>>> fix toy sum
|
||||||
|
=======
|
||||||
|
import toys from "./layers/toys";
|
||||||
|
>>>>>>> 19d58d575e4f3e5ecb3adad514f7089e50360057
|
||||||
import boxesSymbol from "./symbols/cardboardBox.png";
|
import boxesSymbol from "./symbols/cardboardBox.png";
|
||||||
import clothSymbol from "./symbols/cloth.png";
|
import clothSymbol from "./symbols/cloth.png";
|
||||||
import coalSymbol from "./symbols/coal.png";
|
import coalSymbol from "./symbols/coal.png";
|
||||||
|
@ -579,12 +583,16 @@ export const getInitialLayers = (
|
||||||
dyes,
|
dyes,
|
||||||
management,
|
management,
|
||||||
letters,
|
letters,
|
||||||
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
wrappingPaper,
|
wrappingPaper,
|
||||||
ribbon
|
ribbon
|
||||||
=======
|
=======
|
||||||
toys,
|
toys,
|
||||||
>>>>>>> fix toy sum
|
>>>>>>> fix toy sum
|
||||||
|
=======
|
||||||
|
toys,
|
||||||
|
>>>>>>> 19d58d575e4f3e5ecb3adad514f7089e50360057
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue