Coal buyable styling

This commit is contained in:
thepaperpilot 2022-12-16 08:18:47 -06:00
parent 9c5a31a81a
commit 99ed4e4a93

View file

@ -132,7 +132,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
},
style: {
color: colorText,
width: "160px"
width: "160px",
flexGrow: 1
}
})) as ElfBuyable & { resource: Resource };
@ -196,7 +197,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
},
style: {
color: colorText,
width: "160px"
width: "160px",
flexGrow: 1
},
visibility: () => showIf(unlockBonfire.bought.value)
})) as ElfBuyable & { resource: Resource };
@ -262,7 +264,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
},
style: {
color: colorText,
width: "160px"
width: "160px",
flexGrow: 1
},
visibility: () => showIf(unlockKiln.bought.value)
})) as ElfBuyable & { resource: Resource };
@ -334,7 +337,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
},
style: {
color: colorText,
width: "160px"
width: "160px",
flexGrow: 1
},
visibility: () => showIf(metal.coalDrill.bought.value)
})) as ElfBuyable & { resource: Resource };