mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +00:00
Add visibility conditions to coal buyables
This commit is contained in:
parent
e48ad79f2a
commit
e9873e2436
1 changed files with 6 additions and 3 deletions
|
@ -98,7 +98,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
style: {
|
||||
color: colorText,
|
||||
width: "160px"
|
||||
}
|
||||
},
|
||||
visibility: () => showIf(unlockBonfire.bought.value)
|
||||
})) as GenericBuyable & { resource: Resource };
|
||||
const minFire = createClickable(() => ({
|
||||
display: "0",
|
||||
|
@ -252,7 +253,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
style: {
|
||||
color: colorText,
|
||||
width: "160px"
|
||||
}
|
||||
},
|
||||
visibility: () => showIf(unlockKiln.bought.value)
|
||||
})) as GenericBuyable & { resource: Resource };
|
||||
const minKiln = createClickable(() => ({
|
||||
display: "0",
|
||||
|
@ -326,7 +328,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
style: {
|
||||
color: colorText,
|
||||
width: "160px"
|
||||
}
|
||||
},
|
||||
visibility: () => showIf(metal.coalDrill.bought.value)
|
||||
})) as GenericBuyable & { resource: Resource };
|
||||
const minDrill = createClickable(() => ({
|
||||
display: "0",
|
||||
|
|
Loading…
Reference in a new issue