mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +00:00
hide upgrade grid until day 19
This commit is contained in:
parent
e5946739e5
commit
91e3c2703d
1 changed files with 14 additions and 7 deletions
|
@ -1044,7 +1044,8 @@ const factory = createLayer(id, () => {
|
||||||
display: {
|
display: {
|
||||||
title: "Sawmill Efficiency",
|
title: "Sawmill Efficiency",
|
||||||
description: "Metal increases sawmill consumption and production by *log(metal)/10"
|
description: "Metal increases sawmill consumption and production by *log(metal)/10"
|
||||||
}
|
},
|
||||||
|
visible: () => showIf(main.days[advancedDay - 1].opened.value)
|
||||||
})),
|
})),
|
||||||
createUpgrade(() => ({
|
createUpgrade(() => ({
|
||||||
resource: paper.paper,
|
resource: paper.paper,
|
||||||
|
@ -1052,7 +1053,8 @@ const factory = createLayer(id, () => {
|
||||||
display: {
|
display: {
|
||||||
title: "News Ticker",
|
title: "News Ticker",
|
||||||
description: "Paper boosts tick speed" // formula: *1+log(x)/100
|
description: "Paper boosts tick speed" // formula: *1+log(x)/100
|
||||||
}
|
},
|
||||||
|
visible: () => showIf(main.days[advancedDay - 1].opened.value)
|
||||||
})),
|
})),
|
||||||
createUpgrade(() => ({
|
createUpgrade(() => ({
|
||||||
resource: toys.trucks,
|
resource: toys.trucks,
|
||||||
|
@ -1060,7 +1062,8 @@ const factory = createLayer(id, () => {
|
||||||
display: {
|
display: {
|
||||||
title: "Haul wood in trucks",
|
title: "Haul wood in trucks",
|
||||||
description: "Trucks multiply wood gain"
|
description: "Trucks multiply wood gain"
|
||||||
}
|
},
|
||||||
|
visible: () => showIf(main.days[advancedDay - 1].opened.value)
|
||||||
})),
|
})),
|
||||||
createUpgrade(() => ({
|
createUpgrade(() => ({
|
||||||
resource: metal.metal,
|
resource: metal.metal,
|
||||||
|
@ -1068,7 +1071,8 @@ const factory = createLayer(id, () => {
|
||||||
display: {
|
display: {
|
||||||
title: "Diamond-tipped drills",
|
title: "Diamond-tipped drills",
|
||||||
description: "Drill power ^1.2"
|
description: "Drill power ^1.2"
|
||||||
}
|
},
|
||||||
|
visible: () => showIf(main.days[advancedDay - 1].opened.value)
|
||||||
}))],
|
}))],
|
||||||
[createUpgrade(() => ({
|
[createUpgrade(() => ({
|
||||||
resource: toys.woodenBlocks,
|
resource: toys.woodenBlocks,
|
||||||
|
@ -1076,7 +1080,8 @@ const factory = createLayer(id, () => {
|
||||||
display: {
|
display: {
|
||||||
title: "Larger wood pieces",
|
title: "Larger wood pieces",
|
||||||
description: "Wooden block producers produce 3x as much"
|
description: "Wooden block producers produce 3x as much"
|
||||||
}
|
},
|
||||||
|
visible: () => showIf(main.days[advancedDay - 1].opened.value)
|
||||||
})),
|
})),
|
||||||
createUpgrade(() => ({
|
createUpgrade(() => ({
|
||||||
resource: dyes.dyes.red.amount,
|
resource: dyes.dyes.red.amount,
|
||||||
|
@ -1084,7 +1089,8 @@ const factory = createLayer(id, () => {
|
||||||
display: {
|
display: {
|
||||||
title: "Colorful clothes",
|
title: "Colorful clothes",
|
||||||
description: "Dye producers produce 4x as much"
|
description: "Dye producers produce 4x as much"
|
||||||
}
|
},
|
||||||
|
visible: () => showIf(main.days[advancedDay - 1].opened.value)
|
||||||
})),
|
})),
|
||||||
createUpgrade(() => ({
|
createUpgrade(() => ({
|
||||||
resource: plastic.plastic,
|
resource: plastic.plastic,
|
||||||
|
@ -1092,7 +1098,8 @@ const factory = createLayer(id, () => {
|
||||||
display: {
|
display: {
|
||||||
title: "Improved plastic producers",
|
title: "Improved plastic producers",
|
||||||
description: "Plastic producers produce 4x as much"
|
description: "Plastic producers produce 4x as much"
|
||||||
}
|
},
|
||||||
|
visible: () => showIf(main.days[advancedDay - 1].opened.value)
|
||||||
}))],
|
}))],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue