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} */
|
||||
//Github insisted these needed to be on multiple lines to pass a check.
|
||||
export const enumUndergroundBeltVariants = {
|
||||
side: "side",
|
||||
sideMirrored: "side-mirrored",
|
||||
tier2: "tier2",
|
||||
tier2Side: "tier2-side",
|
||||
tier2SideMirrored: "tier2-side-mirrored"
|
||||
side: "side",
|
||||
sideMirrored: "side-mirrored",
|
||||
tier2: "tier2",
|
||||
tier2Side: "tier2-side",
|
||||
tier2SideMirrored: "tier2-side-mirrored",
|
||||
};
|
||||
|
||||
export const enumUndergroundBeltVariantToTier = {
|
||||
@ -89,18 +89,18 @@ export class MetaUndergroundBeltBuilding extends MetaBuilding {
|
||||
if (root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_underground_belt_tier_2)) {
|
||||
//Github insisted these needed to be on multiple lines to pass a check.
|
||||
return [
|
||||
defaultBuildingVariant,
|
||||
enumUndergroundBeltVariants.side,
|
||||
enumUndergroundBeltVariants.sideMirrored,
|
||||
enumUndergroundBeltVariants.tier2,
|
||||
enumUndergroundBeltVariants.tier2Side,
|
||||
enumUndergroundBeltVariants.tier2SideMirrored
|
||||
defaultBuildingVariant,
|
||||
enumUndergroundBeltVariants.side,
|
||||
enumUndergroundBeltVariants.sideMirrored,
|
||||
enumUndergroundBeltVariants.tier2,
|
||||
enumUndergroundBeltVariants.tier2Side,
|
||||
enumUndergroundBeltVariants.tier2SideMirrored,
|
||||
];
|
||||
}
|
||||
return [
|
||||
defaultBuildingVariant,
|
||||
enumUndergroundBeltVariants.side,
|
||||
enumUndergroundBeltVariants.sideMirrored
|
||||
defaultBuildingVariant,
|
||||
enumUndergroundBeltVariants.side,
|
||||
enumUndergroundBeltVariants.sideMirrored,
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -90,16 +90,16 @@ export function initMetaBuildingRegistry() {
|
||||
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.
|
||||
registerBuildingVariant(
|
||||
32,
|
||||
MetaUndergroundBeltBuilding,
|
||||
enumUndergroundBeltVariants.tier2SideMirrored,
|
||||
0
|
||||
32,
|
||||
MetaUndergroundBeltBuilding,
|
||||
enumUndergroundBeltVariants.tier2SideMirrored,
|
||||
0,
|
||||
);
|
||||
registerBuildingVariant(
|
||||
33,
|
||||
MetaUndergroundBeltBuilding,
|
||||
enumUndergroundBeltVariants.tier2SideMirrored,
|
||||
1
|
||||
33,
|
||||
MetaUndergroundBeltBuilding,
|
||||
enumUndergroundBeltVariants.tier2SideMirrored,
|
||||
1,
|
||||
);
|
||||
|
||||
// Hub
|
||||
|
Loading…
Reference in New Issue
Block a user