From e93b475f721bfa83ed092be55296d064909c1381 Mon Sep 17 00:00:00 2001 From: tobspr Date: Tue, 29 Sep 2020 11:14:27 +0200 Subject: [PATCH] Rebalance, again --- src/js/game/hud/parts/wires_overlay.js | 5 ++++- src/js/game/tutorial_goals.js | 6 +++--- src/js/platform/browser/game_analytics.js | 6 +++++- translations/base-en.yaml | 3 ++- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/js/game/hud/parts/wires_overlay.js b/src/js/game/hud/parts/wires_overlay.js index 48405118..752d9cb3 100644 --- a/src/js/game/hud/parts/wires_overlay.js +++ b/src/js/game/hud/parts/wires_overlay.js @@ -29,7 +29,10 @@ export class HUDWiresOverlay extends BaseHUDPart { */ switchLayers() { if (this.root.currentLayer === "regular") { - if (this.root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_wires_painter_and_levers)) { + if ( + this.root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_wires_painter_and_levers) || + (G_IS_DEV && globalConfig.debug.allBuildingsUnlocked) + ) { this.root.currentLayer = "wires"; } } else { diff --git a/src/js/game/tutorial_goals.js b/src/js/game/tutorial_goals.js index 2d2f79c8..3e0ce840 100644 --- a/src/js/game/tutorial_goals.js +++ b/src/js/game/tutorial_goals.js @@ -217,21 +217,21 @@ export const tutorialGoals = [ // Display { shape: "CcSyCcSy:SyCcSyCc:CcSyCcSy", - required: 5000, + required: 25000, reward: enumHubGoalRewards.reward_display, }, // 24 Logic gates { shape: "CcRcCcRc:RwCwRwCw:Sr--Sw--:CyCyCyCy", - required: 10000, + required: 25000, reward: enumHubGoalRewards.reward_logic_gates, }, // 25 Virtual Processing { shape: "Rg--Rg--:CwRwCwRw:--Rg--Rg", - required: 10000, + required: 25000, reward: enumHubGoalRewards.reward_virtual_processing, }, diff --git a/src/js/platform/browser/game_analytics.js b/src/js/platform/browser/game_analytics.js index 52497ef7..daaf5cb0 100644 --- a/src/js/platform/browser/game_analytics.js +++ b/src/js/platform/browser/game_analytics.js @@ -31,7 +31,11 @@ export class ShapezGameAnalytics extends GameAnalyticsInterface { return "prod"; } - return "beta"; + if (window.location.host.indexOf("alpha") >= 0) { + return "alpha"; + } else { + return "beta"; + } } /** diff --git a/translations/base-en.yaml b/translations/base-en.yaml index 342ff3ff..8e194907 100644 --- a/translations/base-en.yaml +++ b/translations/base-en.yaml @@ -772,7 +772,8 @@ storyRewards: reward_display: title: Display desc: >- - You have unlocked the Display - Connect a signal on the wires layer to visualize its contents! + You have unlocked the Display - Connect a signal on the wires layer to visualize it!

+ PS: Did you notice the belt reader and storage output their last read item? Try showing it on a display! reward_constant_signal: title: Constant Signal