sandboxels icon indicating copy to clipboard operation
sandboxels copied to clipboard

Can someone test this

Open jakob3797 opened this issue 1 year ago • 13 comments

elements.eunstainer_up2 = { behavior: behaviors.WALL, behaviorOn: [ "XX|ST:-1|XX", "XX|ST:-1|XX", "XX|XX|XX", "XX|XX|XX", "XX|XX|XX", ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.eunstainer_up1 = { behavior: behaviors.WALL, behaviorOn: [ "XX|ST:-1|XX", "XX|XX|XX", "XX|XX|XX" ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.eunstainer_down2 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX", "XX|XX|XX", "XX|XX|XX", "XX|ST:-1|XX", "XX|ST:-1|XX", ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.eunstainer_down1 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX", "XX|XX|XX", "XX|ST:-1|XX" ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.eunstainer_left2 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX|XX|XX", "ST:-1|ST:-1|XX|XX|XX", "XX|XX|XX|XX|XX" ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.eunstainer_left1 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX", "ST:-1|XX|XX", "XX|XX|XX" ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.eunstainer_right2 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX|XX|XX", "XX|XX|XX|ST:-1|ST:-1", "XX|XX|XX|XX|XX" ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.eunstainer_right1 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX", "XX|XX|ST:-1", "XX|XX|XX" ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", };

jakob3797 avatar May 07 '24 17:05 jakob3797

And can someone help me fix it

jakob3797 avatar May 07 '24 18:05 jakob3797

What have you tried so far?

Tisquares avatar May 08 '24 14:05 Tisquares

ST doesn’t seem to work but 1 time it worked

jakob3797 avatar May 08 '24 14:05 jakob3797

I tried lowering the conduct

jakob3797 avatar May 08 '24 14:05 jakob3797

What on earth is going on with your behaviors? Those should only be a 3x3 grid. Also, it is very difficult to read through your code when it's not formatted...

Tisquares avatar May 08 '24 21:05 Tisquares

Actually it doesn’t have to be a 3x3 check the mod I made and test it

jakob3797 avatar May 09 '24 12:05 jakob3797

But the size is not the issue it is the behavior there is no behavior that is stain and st Is sticking for behaviors

jakob3797 avatar May 09 '24 12:05 jakob3797

Actually it doesn’t have to be a 3x3 check the mod I made and test it

And the mod is lab.js

jakob3797 avatar May 09 '24 12:05 jakob3797

And I will give you how it should of come out formatted original elements.eunstainer_up2 = { behavior: behaviors.WALL, behaviorOn: [ "XX|ST:-1|XX", "XX|ST:-1|XX", "XX|XX|XX", "XX|XX|XX", "XX|XX|XX", ], color: "#4103fc", category: "machines", conduct: 0.25, hardness: 1 }; elements.eunstainer_up1 = { behavior: behaviors.WALL, behaviorOn: [ "XX|ST:-1|XX", "XX|XX|XX", "XX|XX|XX" ], color: "#4103fc", category: "machines", conduct: 0.25, hardness: 1 }; elements.eunstainer_down2 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX", "XX|XX|XX", "XX|XX|XX", "XX|ST:-1|XX", "XX|ST:-1|XX", ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.eunstainer_down1 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX", "XX|XX|XX", "XX|ST:-1|XX" ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.eunstainer_left2 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX|XX|XX", "ST:-1|ST:-1|XX|XX|XX", "XX|XX|XX|XX|XX" ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.eunstainer_left1 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX", "ST:-1|XX|XX", "XX|XX|XX" ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.eunstainer_right2 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX|XX|XX", "XX|XX|XX|ST:-1|ST:-1", "XX|XX|XX|XX|XX" ], color: "#4103fc", // Choose your desired color category: "machines", conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, }; elements.eunstainer_right1 = { behavior: behaviors.WALL, behaviorOn: [ "XX|XX|XX", "XX|XX|ST:-1", "XX|XX|XX" ], color: "#4103fc", // Choose your desired color category: "machines", stain: -1, conduct: .25, // This defines how the element conducts electricity or energy, set as needed hardness: 1, state: "solid", }; elements.unstain = { color: "#729fff", behavior: [ "XX|XX|XX", "XX|XX|XX", "XX|XX|XX" ], stain: -1, tool: (pixel) => { doStaining({ element: "unstain", x: pixel.x, y: pixel.y }) }, category: "tools", state: "solid", };

jakob3797 avatar May 09 '24 13:05 jakob3797

It doesn’t keep the tab or the way that it is supposed to be formed

jakob3797 avatar May 09 '24 13:05 jakob3797

IMG_0199 IMG_0200 IMG_0201

jakob3797 avatar May 09 '24 13:05 jakob3797

I think the main issue is that you can’t put negative numbers into the ST property

DBNekonico avatar May 16 '24 18:05 DBNekonico

Stain -1

jakob3797 avatar May 17 '24 18:05 jakob3797