Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can someone test this #598

Open
jakob3797 opened this issue May 7, 2024 · 13 comments
Open

Can someone test this #598

jakob3797 opened this issue May 7, 2024 · 13 comments

Comments

@jakob3797
Copy link
Contributor

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
Copy link
Contributor Author

And can someone help me fix it

@Tisquares
Copy link
Contributor

What have you tried so far?

@jakob3797
Copy link
Contributor Author

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

@jakob3797
Copy link
Contributor Author

I tried lowering the conduct

@Tisquares
Copy link
Contributor

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...

@jakob3797
Copy link
Contributor Author

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

@jakob3797
Copy link
Contributor Author

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
Copy link
Contributor Author

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

And the mod is lab.js

@jakob3797
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@jakob3797
Copy link
Contributor Author

IMG_0199
IMG_0200
IMG_0201

@DoobieRalsei
Copy link
Contributor

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

@jakob3797
Copy link
Contributor Author

Stain -1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants