mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-04-01 21:41:00 +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: {
|
style: {
|
||||||
color: colorText,
|
color: colorText,
|
||||||
width: "160px"
|
width: "160px"
|
||||||
}
|
},
|
||||||
|
visibility: () => showIf(unlockBonfire.bought.value)
|
||||||
})) as GenericBuyable & { resource: Resource };
|
})) as GenericBuyable & { resource: Resource };
|
||||||
const minFire = createClickable(() => ({
|
const minFire = createClickable(() => ({
|
||||||
display: "0",
|
display: "0",
|
||||||
|
@ -252,7 +253,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
style: {
|
style: {
|
||||||
color: colorText,
|
color: colorText,
|
||||||
width: "160px"
|
width: "160px"
|
||||||
}
|
},
|
||||||
|
visibility: () => showIf(unlockKiln.bought.value)
|
||||||
})) as GenericBuyable & { resource: Resource };
|
})) as GenericBuyable & { resource: Resource };
|
||||||
const minKiln = createClickable(() => ({
|
const minKiln = createClickable(() => ({
|
||||||
display: "0",
|
display: "0",
|
||||||
|
@ -326,7 +328,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
style: {
|
style: {
|
||||||
color: colorText,
|
color: colorText,
|
||||||
width: "160px"
|
width: "160px"
|
||||||
}
|
},
|
||||||
|
visibility: () => showIf(metal.coalDrill.bought.value)
|
||||||
})) as GenericBuyable & { resource: Resource };
|
})) as GenericBuyable & { resource: Resource };
|
||||||
const minDrill = createClickable(() => ({
|
const minDrill = createClickable(() => ({
|
||||||
display: "0",
|
display: "0",
|
||||||
|
|
Loading…
Add table
Reference in a new issue