1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-16 19:51:50 +00:00

fix protruding underlays

This commit is contained in:
EmeraldBlock 2021-11-24 22:42:16 -06:00
parent b2a8224ad3
commit 97d45e8aa7
3 changed files with 8 additions and 5 deletions

View File

@ -7,6 +7,7 @@ import { enumItemProcessorTypes, ItemProcessorComponent } from "../components/it
import { Entity } from "../entity";
import { MetaBuilding } from "../meta_building";
import { GameRoot } from "../root";
import { BELT_BORDER } from "../systems/belt";
import { enumHubGoalRewards } from "../tutorial_goals";
export class MetaMixerBuilding extends MetaBuilding {
@ -65,13 +66,13 @@ export class MetaMixerBuilding extends MetaBuilding {
{
pos: new Vector(0, 0),
directions: [enumDirection.bottom],
beltLength: 0.5,
beltLength: BELT_BORDER,
filter: "color",
},
{
pos: new Vector(1, 0),
directions: [enumDirection.bottom],
beltLength: 0.5,
beltLength: BELT_BORDER,
filter: "color",
},
],

View File

@ -13,6 +13,7 @@ import { defaultBuildingVariant, MetaBuilding } from "../meta_building";
import { GameRoot } from "../root";
import { enumHubGoalRewards } from "../tutorial_goals";
import { WiredPinsComponent, enumPinSlotType } from "../components/wired_pins";
import { BELT_BORDER } from "../systems/belt";
/** @enum {string} */
export const enumPainterVariants = { mirrored: "mirrored", double: "double", quad: "quad" };
@ -231,7 +232,7 @@ export class MetaPainterBuilding extends MetaBuilding {
{
pos: new Vector(0, 0),
directions: [enumDirection.left],
beltLength: 0.5,
beltLength: BELT_BORDER,
filter: "shape",
},
{

View File

@ -7,6 +7,7 @@ import { enumItemProcessorTypes, ItemProcessorComponent } from "../components/it
import { Entity } from "../entity";
import { MetaBuilding } from "../meta_building";
import { GameRoot } from "../root";
import { BELT_BORDER } from "../systems/belt";
import { enumHubGoalRewards } from "../tutorial_goals";
export class MetaStackerBuilding extends MetaBuilding {
@ -65,13 +66,13 @@ export class MetaStackerBuilding extends MetaBuilding {
{
pos: new Vector(0, 0),
directions: [enumDirection.bottom],
beltLength: 0.5,
beltLength: BELT_BORDER,
filter: "shape",
},
{
pos: new Vector(1, 0),
directions: [enumDirection.bottom],
beltLength: 0.5,
beltLength: BELT_BORDER,
filter: "shape",
},
],