mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-03-14 01:51:40 +00:00
Added books for new elves
This commit is contained in:
parent
92612ff896
commit
b1e1875651
2 changed files with 37 additions and 16 deletions
|
@ -318,11 +318,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
description: "6 Elves Trained",
|
||||
enabled: elvesMilestone.earned
|
||||
})),
|
||||
// createMultiplicativeModifier(() => ({
|
||||
// multiplier: () => Decimal.times(paper.books.clothBook.amount.value, 0.1).add(1),
|
||||
// description: "Fuzzy Bee and Friends",
|
||||
// enabled: () => Decimal.gt(paper.books.clothBook.amount.value, 0)
|
||||
// })),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: () => Decimal.times(paper.books.miningDrillBook.amount.value, 0.1).add(1),
|
||||
description: "Drills and Mills",
|
||||
enabled: () => Decimal.gt(paper.books.miningDrillBook.amount.value, 0)
|
||||
})),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: 2,
|
||||
description: "10 Elves Trained",
|
||||
|
@ -335,11 +335,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
description: "6 Elves Trained",
|
||||
enabled: elvesMilestone.earned
|
||||
})),
|
||||
// createMultiplicativeModifier(() => ({
|
||||
// multiplier: () => Decimal.times(paper.books.clothBook.amount.value, 0.1).add(1),
|
||||
// description: "Fuzzy Bee and Friends",
|
||||
// enabled: () => Decimal.gt(paper.books.clothBook.amount.value, 0)
|
||||
// })),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: () => Decimal.times(paper.books.metalBook.amount.value, 0.1).add(1),
|
||||
description: "Physical Metallurgy",
|
||||
enabled: () => Decimal.gt(paper.books.metalBook.amount.value, 0)
|
||||
})),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: 2,
|
||||
description: "10 Elves Trained",
|
||||
|
@ -352,11 +352,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
description: "6 Elves Trained",
|
||||
enabled: elvesMilestone.earned
|
||||
})),
|
||||
// createMultiplicativeModifier(() => ({
|
||||
// multiplier: () => Decimal.times(paper.books.clothBook.amount.value, 0.1).add(1),
|
||||
// description: "Fuzzy Bee and Friends",
|
||||
// enabled: () => Decimal.gt(paper.books.clothBook.amount.value, 0)
|
||||
// })),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: () => Decimal.times(paper.books.heavyDrillBook.amount.value, 0.1).add(1),
|
||||
description: "Deep in the Earth",
|
||||
enabled: () => Decimal.gt(paper.books.heavyDrillBook.amount.value, 0)
|
||||
})),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: 2,
|
||||
description: "10 Elves Trained",
|
||||
|
|
|
@ -187,6 +187,24 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
buyableName: "Cloth Buyables",
|
||||
visibility: () => showIf(elves.elves.clothElf.bought.value)
|
||||
});
|
||||
const miningDrillBook = createBook({
|
||||
name: "Drills and Mills",
|
||||
elfName: "Peppermint",
|
||||
buyableName: "Mining Drill",
|
||||
visibility: () => showIf(management.elfTraining.expandersElfTraining.milestones[3].earned.value)
|
||||
});
|
||||
const metalBook = createBook({
|
||||
name: "Physical Metallurgy",
|
||||
elfName: "Twinkle",
|
||||
buyableName: "Metal Buyables",
|
||||
visibility: () => showIf(management.elfTraining.expandersElfTraining.milestones[4].earned.value)
|
||||
});
|
||||
const heavyDrillBook = createBook({
|
||||
name: "Deep in the Earth",
|
||||
elfName: "Frosty",
|
||||
buyableName: "Oil Drills",
|
||||
visibility: () => showIf(management.elfTraining.heatedCutterElfTraining.milestones[4].earned.value)
|
||||
});
|
||||
const books = {
|
||||
cuttersBook,
|
||||
plantersBook,
|
||||
|
@ -199,7 +217,10 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
kilnBook,
|
||||
paperBook,
|
||||
boxBook,
|
||||
clothBook
|
||||
clothBook,
|
||||
miningDrillBook,
|
||||
metalBook,
|
||||
heavyDrillBook
|
||||
};
|
||||
const sumBooks = computed(() => Object.values(books).reduce((acc, curr) => acc.add(curr.amount.value), new Decimal(0)));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue