Can someone test this
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", };
And can someone help me fix it
What have you tried so far?
ST doesn’t seem to work but 1 time it worked
I tried lowering the conduct
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...
Actually it doesn’t have to be a 3x3 check the mod I made and test it
But the size is not the issue it is the behavior there is no behavior that is stain and st Is sticking for behaviors
Actually it doesn’t have to be a 3x3 check the mod I made and test it
And the mod is lab.js
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", };
It doesn’t keep the tab or the way that it is supposed to be formed
I think the main issue is that you can’t put negative numbers into the ST property
Stain -1