mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-01-31 07:31:37 +00:00
add paper upgrade descriptions
This commit is contained in:
parent
be264b7fe5
commit
69fe67c6a6
1 changed files with 29 additions and 1 deletions
|
@ -294,7 +294,34 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
}
|
||||
}));
|
||||
const upgrades = { clothUpgrade, drillingUpgrade, oilUpgrade };
|
||||
|
||||
const ashUpgrade = createUpgrade(() => ({
|
||||
resource: noPersist(paper),
|
||||
cost: 1e36,
|
||||
visibility: () => showIf(management.elfTraining.heavyDrillElfTraining.milestones[4].earned.value),
|
||||
display: {
|
||||
title: "Paper burning",
|
||||
description: "Paper adds to ash gain after all other modifiers"
|
||||
}
|
||||
}));
|
||||
const bookUpgrade = createUpgrade(() => ({
|
||||
resource: noPersist(paper),
|
||||
cost: 1e40,
|
||||
visibility: () => showIf(management.elfTraining.heavyDrillElfTraining.milestones[4].earned.value),
|
||||
display: {
|
||||
title: "Book Cheapener",
|
||||
description: "Books are less expensive"
|
||||
}
|
||||
}));
|
||||
const classroomUpgrade = createUpgrade(() => ({
|
||||
resource: noPersist(paper),
|
||||
cost: 1e44,
|
||||
visibility: () => showIf(management.elfTraining.heavyDrillElfTraining.milestones[4].earned.value),
|
||||
display: {
|
||||
title: "Classroom Supplies",
|
||||
description: "Classrooms' effect is raised to the 1.1"
|
||||
}
|
||||
}));
|
||||
const upgrades2 = { ashUpgrade, bookUpgrade, classroomUpgrade };
|
||||
const paperGain = createSequentialModifier(() => [
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: 2,
|
||||
|
@ -399,6 +426,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
paperConversion,
|
||||
books,
|
||||
upgrades,
|
||||
upgrades2,
|
||||
generalTabCollapsed,
|
||||
minWidth: 700,
|
||||
display: jsx(() => (
|
||||
|
|
Loading…
Add table
Reference in a new issue