1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Rebalance, again

This commit is contained in:
tobspr
2020-09-29 11:14:27 +02:00
parent db6db7caca
commit e93b475f72
4 changed files with 14 additions and 6 deletions

View File

@@ -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 {

View File

@@ -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,
},

View File

@@ -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";
}
}
/**