mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Further fixes
This commit is contained in:
@@ -25,7 +25,7 @@ export const enumUndergroundBeltVariantToTier = {
|
||||
[enumUndergroundBeltVariants.tier2]: 1,
|
||||
};
|
||||
|
||||
const colorsByRotationVariant = ["#6d9dff", "#9cad40"];
|
||||
const colorsByRotationVariant = ["#6d9dff", "#71ff9c"];
|
||||
|
||||
const overlayMatrices = [
|
||||
// Sender
|
||||
|
||||
@@ -6,6 +6,7 @@ import { enumWireType, enumWireVariant, WireComponent } from "../components/wire
|
||||
import { Entity } from "../entity";
|
||||
import { defaultBuildingVariant, MetaBuilding } from "../meta_building";
|
||||
import { GameRoot } from "../root";
|
||||
import { enumHubGoalRewards } from "../tutorial_goals";
|
||||
|
||||
export const arrayWireRotationVariantToType = [
|
||||
enumWireType.forward,
|
||||
@@ -81,8 +82,7 @@ export class MetaWireBuilding extends MetaBuilding {
|
||||
* @param {GameRoot} root
|
||||
*/
|
||||
getIsUnlocked(root) {
|
||||
// @todo
|
||||
return true;
|
||||
return root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_wires_filters_and_levers);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user