mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
More check fixes
Maybe the last one? Hopefully?
This commit is contained in:
parent
001f88eabd
commit
bb2042c79d
@ -20,11 +20,11 @@ export const arrayUndergroundRotationVariantToMode = [
|
|||||||
/** @enum {string} */
|
/** @enum {string} */
|
||||||
//Github insisted these needed to be on multiple lines to pass a check.
|
//Github insisted these needed to be on multiple lines to pass a check.
|
||||||
export const enumUndergroundBeltVariants = {
|
export const enumUndergroundBeltVariants = {
|
||||||
side: "side",
|
side: "side",
|
||||||
sideMirrored: "side-mirrored",
|
sideMirrored: "side-mirrored",
|
||||||
tier2: "tier2",
|
tier2: "tier2",
|
||||||
tier2Side: "tier2-side",
|
tier2Side: "tier2-side",
|
||||||
tier2SideMirrored: "tier2-side-mirrored"
|
tier2SideMirrored: "tier2-side-mirrored",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const enumUndergroundBeltVariantToTier = {
|
export const enumUndergroundBeltVariantToTier = {
|
||||||
@ -89,18 +89,18 @@ export class MetaUndergroundBeltBuilding extends MetaBuilding {
|
|||||||
if (root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_underground_belt_tier_2)) {
|
if (root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_underground_belt_tier_2)) {
|
||||||
//Github insisted these needed to be on multiple lines to pass a check.
|
//Github insisted these needed to be on multiple lines to pass a check.
|
||||||
return [
|
return [
|
||||||
defaultBuildingVariant,
|
defaultBuildingVariant,
|
||||||
enumUndergroundBeltVariants.side,
|
enumUndergroundBeltVariants.side,
|
||||||
enumUndergroundBeltVariants.sideMirrored,
|
enumUndergroundBeltVariants.sideMirrored,
|
||||||
enumUndergroundBeltVariants.tier2,
|
enumUndergroundBeltVariants.tier2,
|
||||||
enumUndergroundBeltVariants.tier2Side,
|
enumUndergroundBeltVariants.tier2Side,
|
||||||
enumUndergroundBeltVariants.tier2SideMirrored
|
enumUndergroundBeltVariants.tier2SideMirrored,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
return [
|
return [
|
||||||
defaultBuildingVariant,
|
defaultBuildingVariant,
|
||||||
enumUndergroundBeltVariants.side,
|
enumUndergroundBeltVariants.side,
|
||||||
enumUndergroundBeltVariants.sideMirrored
|
enumUndergroundBeltVariants.sideMirrored,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,16 +90,16 @@ export function initMetaBuildingRegistry() {
|
|||||||
registerBuildingVariant(31, MetaUndergroundBeltBuilding, enumUndergroundBeltVariants.tier2Side, 1);
|
registerBuildingVariant(31, MetaUndergroundBeltBuilding, enumUndergroundBeltVariants.tier2Side, 1);
|
||||||
//These ones are split into lines where the others aren't because Github insisted that they and they alone needed it to pass a check.
|
//These ones are split into lines where the others aren't because Github insisted that they and they alone needed it to pass a check.
|
||||||
registerBuildingVariant(
|
registerBuildingVariant(
|
||||||
32,
|
32,
|
||||||
MetaUndergroundBeltBuilding,
|
MetaUndergroundBeltBuilding,
|
||||||
enumUndergroundBeltVariants.tier2SideMirrored,
|
enumUndergroundBeltVariants.tier2SideMirrored,
|
||||||
0
|
0,
|
||||||
);
|
);
|
||||||
registerBuildingVariant(
|
registerBuildingVariant(
|
||||||
33,
|
33,
|
||||||
MetaUndergroundBeltBuilding,
|
MetaUndergroundBeltBuilding,
|
||||||
enumUndergroundBeltVariants.tier2SideMirrored,
|
enumUndergroundBeltVariants.tier2SideMirrored,
|
||||||
1
|
1,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Hub
|
// Hub
|
||||||
|
Loading…
Reference in New Issue
Block a user