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

Fix splitters

This commit is contained in:
Tobias Springer
2020-05-09 19:14:11 +02:00
parent 01d9a03264
commit 61bda596b6
5 changed files with 198 additions and 16 deletions

View File

@@ -311,7 +311,7 @@ export class HubGoals extends BasicSerializableObject {
case enumItemProcessorTypes.hub:
return 1e30;
case enumItemProcessorTypes.splitter:
return (2 / globalConfig.beltSpeedItemsPerSecond) * this.upgradeImprovements.splitter;
return (2 / globalConfig.beltSpeedItemsPerSecond) * this.upgradeImprovements.processors;
case enumItemProcessorTypes.cutter:
case enumItemProcessorTypes.rotater:
case enumItemProcessorTypes.stacker:

View File

@@ -1,5 +1,4 @@
import { enumSubShape, ShapeDefinition, createSimpleShape } from "./shape_definition";
import { enumColors } from "./colors";
import { ShapeDefinition } from "./shape_definition";
/**
* @enum {string}
@@ -116,13 +115,13 @@ export const tutorialGoals = [
},
{
shape: "CgCgRgRg",
shape: "RgCwRgCw:CpCpCpCp",
required: 6000,
reward: enumHubGoalRewards.no_reward,
},
{
shape: "CwSwCwSw",
shape: "CwSwCwSw:CpCrCpCr",
required: 6000,
reward: enumHubGoalRewards.no_reward,
},
@@ -140,13 +139,13 @@ export const tutorialGoals = [
},
{
shape: "WyRgWyCg:CbCpCbCp:CwCwCwCw",
shape: "WyRgWyRg:CbCpCbCp:CpCgCpCg",
required: 9000,
reward: enumHubGoalRewards.no_reward,
},
{
shape: "CwRrWbSp:WcWrCpCw",
shape: "CwRrCbRy:ScSrSpSb:CwCwCwCw:RgRgRgRg",
required: 15000,
reward: enumHubGoalRewards.no_reward,
},

View File

@@ -1,7 +1,5 @@
import { createSimpleShape, enumSubShape, ShapeDefinition } from "./shape_definition";
import { enumColors } from "./colors";
import { findNiceIntegerValue } from "../core/utils";
import { globalConfig } from "../core/config";
import { ShapeDefinition } from "./shape_definition";
export const TIER_LABELS = [
"I",