fix ++ spec display in vbox
This commit is contained in:
parent
2dc90db185
commit
1600ca6c82
@ -100,9 +100,79 @@ module.exports = {
|
|||||||
{square(['red', 'blue'])}
|
{square(['red', 'blue'])}
|
||||||
<figcaption>Life</figcaption>
|
<figcaption>Life</figcaption>
|
||||||
</figure>,
|
</figure>,
|
||||||
|
LifeGGPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{square(['green'])}
|
||||||
|
<figcaption>Life+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
LifeRRPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{square(['red'])}
|
||||||
|
<figcaption>Life+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
// Power Upgrades
|
LifeBBPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{square(['blue'])}
|
||||||
|
<figcaption>Life+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
LifeRGPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{square(['red', 'green'])}
|
||||||
|
<figcaption>Life+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
LifeGBPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{square(['green', 'blue'])}
|
||||||
|
<figcaption>Life+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
LifeRBPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{square(['red', 'blue'])}
|
||||||
|
<figcaption>Life+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
LifeGGPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{square(['green'])}
|
||||||
|
<figcaption>Life++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
LifeRRPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{square(['red'])}
|
||||||
|
<figcaption>Life++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
LifeBBPlusPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{square(['blue'])}
|
||||||
|
<figcaption>Life++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
LifeRGPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{square(['red', 'green'])}
|
||||||
|
<figcaption>Life++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
LifeGBPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{square(['green', 'blue'])}
|
||||||
|
<figcaption>Life++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
LifeRBPlusPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{square(['red', 'blue'])}
|
||||||
|
<figcaption>Life++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
// Powers Upgrades
|
||||||
PowerGG: () =>
|
PowerGG: () =>
|
||||||
<figure>
|
<figure>
|
||||||
{circle(['green'])}
|
{circle(['green'])}
|
||||||
@ -138,8 +208,79 @@ module.exports = {
|
|||||||
{circle(['red', 'blue'])}
|
{circle(['red', 'blue'])}
|
||||||
<figcaption>Power</figcaption>
|
<figcaption>Power</figcaption>
|
||||||
</figure>,
|
</figure>,
|
||||||
|
PowerGGPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{circle(['green'])}
|
||||||
|
<figcaption>Power+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
// Speed Upgrades
|
PowerRRPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{circle(['red'])}
|
||||||
|
<figcaption>Power+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
PowerBBPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{circle(['blue'])}
|
||||||
|
<figcaption>Power+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
PowerRGPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{circle(['red', 'green'])}
|
||||||
|
<figcaption>Power+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
PowerGBPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{circle(['green', 'blue'])}
|
||||||
|
<figcaption>Power+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
PowerRBPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{circle(['red', 'blue'])}
|
||||||
|
<figcaption>Power+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
PowerGGPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{circle(['green'])}
|
||||||
|
<figcaption>Power++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
PowerRRPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{circle(['red'])}
|
||||||
|
<figcaption>Power++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
PowerBBPlusPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{circle(['blue'])}
|
||||||
|
<figcaption>Power++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
PowerRGPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{circle(['red', 'green'])}
|
||||||
|
<figcaption>Power++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
PowerGBPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{circle(['green', 'blue'])}
|
||||||
|
<figcaption>Power++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
PowerRBPlusPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{circle(['red', 'blue'])}
|
||||||
|
<figcaption>Power++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
// Speeds Upgrades
|
||||||
SpeedGG: () =>
|
SpeedGG: () =>
|
||||||
<figure>
|
<figure>
|
||||||
{triangle(['green'])}
|
{triangle(['green'])}
|
||||||
@ -175,4 +316,75 @@ module.exports = {
|
|||||||
{triangle(['red', 'blue'])}
|
{triangle(['red', 'blue'])}
|
||||||
<figcaption>Speed</figcaption>
|
<figcaption>Speed</figcaption>
|
||||||
</figure>,
|
</figure>,
|
||||||
|
SpeedGGPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['green'])}
|
||||||
|
<figcaption>Speed+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
SpeedRRPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['red'])}
|
||||||
|
<figcaption>Speed+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
SpeedBBPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['blue'])}
|
||||||
|
<figcaption>Speed+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
SpeedRGPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['red', 'green'])}
|
||||||
|
<figcaption>Speed+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
SpeedGBPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['green', 'blue'])}
|
||||||
|
<figcaption>Speed+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
SpeedRBPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['red', 'blue'])}
|
||||||
|
<figcaption>Speed+</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
SpeedGGPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['green'])}
|
||||||
|
<figcaption>Speed++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
SpeedRRPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['red'])}
|
||||||
|
<figcaption>Speed++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
SpeedBBPlusPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['blue'])}
|
||||||
|
<figcaption>Speed++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
SpeedRGPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['red', 'green'])}
|
||||||
|
<figcaption>Speed++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
SpeedGBPlusPlus: () =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['green', 'blue'])}
|
||||||
|
<figcaption>Speed++</figcaption>
|
||||||
|
</figure>,
|
||||||
|
|
||||||
|
SpeedRBPlusPlus:() =>
|
||||||
|
<figure>
|
||||||
|
{triangle(['red', 'blue'])}
|
||||||
|
<figcaption>Speed++</figcaption>
|
||||||
|
</figure>,
|
||||||
};
|
};
|
||||||
|
|||||||
@ -305,7 +305,6 @@ function Vbox(args) {
|
|||||||
|
|
||||||
const highlighted = combiner.indexOf(i) > -1;
|
const highlighted = combiner.indexOf(i) > -1;
|
||||||
const classes = `${highlighted ? 'highlight' : ''}`;
|
const classes = `${highlighted ? 'highlight' : ''}`;
|
||||||
|
|
||||||
if (shapes[v]) {
|
if (shapes[v]) {
|
||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
|
|||||||
@ -30,29 +30,17 @@ pub enum Item {
|
|||||||
LifeRG,
|
LifeRG,
|
||||||
LifeGB,
|
LifeGB,
|
||||||
LifeRB,
|
LifeRB,
|
||||||
#[serde(rename = "LifeGG+")]
|
|
||||||
LifeGGPlus,
|
LifeGGPlus,
|
||||||
#[serde(rename = "LifeRR+")]
|
|
||||||
LifeRRPlus,
|
LifeRRPlus,
|
||||||
#[serde(rename = "LifeBB+")]
|
|
||||||
LifeBBPlus,
|
LifeBBPlus,
|
||||||
#[serde(rename = "LifeRG+")]
|
|
||||||
LifeRGPlus,
|
LifeRGPlus,
|
||||||
#[serde(rename = "LifeGB+")]
|
|
||||||
LifeGBPlus,
|
LifeGBPlus,
|
||||||
#[serde(rename = "LifeRB+")]
|
|
||||||
LifeRBPlus,
|
LifeRBPlus,
|
||||||
#[serde(rename = "LifeGG++")]
|
|
||||||
LifeGGPlusPlus,
|
LifeGGPlusPlus,
|
||||||
#[serde(rename = "LifeRR++")]
|
|
||||||
LifeRRPlusPlus,
|
LifeRRPlusPlus,
|
||||||
#[serde(rename = "LifeBB++")]
|
|
||||||
LifeBBPlusPlus,
|
LifeBBPlusPlus,
|
||||||
#[serde(rename = "LifeRG++")]
|
|
||||||
LifeRGPlusPlus,
|
LifeRGPlusPlus,
|
||||||
#[serde(rename = "LifeGB++")]
|
|
||||||
LifeGBPlusPlus,
|
LifeGBPlusPlus,
|
||||||
#[serde(rename = "LifeRB++")]
|
|
||||||
LifeRBPlusPlus,
|
LifeRBPlusPlus,
|
||||||
|
|
||||||
// Power Upgrades
|
// Power Upgrades
|
||||||
@ -62,29 +50,17 @@ pub enum Item {
|
|||||||
PowerRG,
|
PowerRG,
|
||||||
PowerGB,
|
PowerGB,
|
||||||
PowerRB,
|
PowerRB,
|
||||||
#[serde(rename = "PowerGG+")]
|
|
||||||
PowerGGPlus,
|
PowerGGPlus,
|
||||||
#[serde(rename = "PowerRR+")]
|
|
||||||
PowerRRPlus,
|
PowerRRPlus,
|
||||||
#[serde(rename = "PowerBB+")]
|
|
||||||
PowerBBPlus,
|
PowerBBPlus,
|
||||||
#[serde(rename = "PowerRG+")]
|
|
||||||
PowerRGPlus,
|
PowerRGPlus,
|
||||||
#[serde(rename = "PowerGB+")]
|
|
||||||
PowerGBPlus,
|
PowerGBPlus,
|
||||||
#[serde(rename = "PowerRB+")]
|
|
||||||
PowerRBPlus,
|
PowerRBPlus,
|
||||||
#[serde(rename = "PowerGG++")]
|
|
||||||
PowerGGPlusPlus,
|
PowerGGPlusPlus,
|
||||||
#[serde(rename = "PowerRR++")]
|
|
||||||
PowerRRPlusPlus,
|
PowerRRPlusPlus,
|
||||||
#[serde(rename = "PowerBB++")]
|
|
||||||
PowerBBPlusPlus,
|
PowerBBPlusPlus,
|
||||||
#[serde(rename = "PowerRG++")]
|
|
||||||
PowerRGPlusPlus,
|
PowerRGPlusPlus,
|
||||||
#[serde(rename = "PowerGB++")]
|
|
||||||
PowerGBPlusPlus,
|
PowerGBPlusPlus,
|
||||||
#[serde(rename = "PowerRB++")]
|
|
||||||
PowerRBPlusPlus,
|
PowerRBPlusPlus,
|
||||||
|
|
||||||
// Speed Upgrades
|
// Speed Upgrades
|
||||||
@ -94,29 +70,17 @@ pub enum Item {
|
|||||||
SpeedRG,
|
SpeedRG,
|
||||||
SpeedGB,
|
SpeedGB,
|
||||||
SpeedRB,
|
SpeedRB,
|
||||||
#[serde(rename = "SpeedGG+")]
|
|
||||||
SpeedGGPlus,
|
SpeedGGPlus,
|
||||||
#[serde(rename = "SpeedRR+")]
|
|
||||||
SpeedRRPlus,
|
SpeedRRPlus,
|
||||||
#[serde(rename = "SpeedBB+")]
|
|
||||||
SpeedBBPlus,
|
SpeedBBPlus,
|
||||||
#[serde(rename = "SpeedRG+")]
|
|
||||||
SpeedRGPlus,
|
SpeedRGPlus,
|
||||||
#[serde(rename = "SpeedGB+")]
|
|
||||||
SpeedGBPlus,
|
SpeedGBPlus,
|
||||||
#[serde(rename = "SpeedRB+")]
|
|
||||||
SpeedRBPlus,
|
SpeedRBPlus,
|
||||||
#[serde(rename = "SpeedGG++")]
|
|
||||||
SpeedGGPlusPlus,
|
SpeedGGPlusPlus,
|
||||||
#[serde(rename = "SpeedRR++")]
|
|
||||||
SpeedRRPlusPlus,
|
SpeedRRPlusPlus,
|
||||||
#[serde(rename = "SpeedBB++")]
|
|
||||||
SpeedBBPlusPlus,
|
SpeedBBPlusPlus,
|
||||||
#[serde(rename = "SpeedRG++")]
|
|
||||||
SpeedRGPlusPlus,
|
SpeedRGPlusPlus,
|
||||||
#[serde(rename = "SpeedGB++")]
|
|
||||||
SpeedGBPlusPlus,
|
SpeedGBPlusPlus,
|
||||||
#[serde(rename = "SpeedRB++")]
|
|
||||||
SpeedRBPlusPlus,
|
SpeedRBPlusPlus,
|
||||||
|
|
||||||
Amplify,
|
Amplify,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user