Create Inators.js

Working/tested
This commit is contained in:
jakob3797 2024-09-11 12:53:01 -05:00 committed by GitHub
parent 269b5e6c89
commit a060db0cfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 108 additions and 0 deletions

108
mods/Inators.js Normal file
View File

@ -0,0 +1,108 @@
elements.explodeinator = {
color: "#ff0000",
behaviorOn: behaviors.WALL,
behavior: [
"CR:steel|CR:steel|CR:brick|CR:wall|CR:wall",
"XX|DL|CR:beamcr|CR:wire|CR:wall",
"CR:steel|CR:brick|CR:wire|CR:wire|CR:wire|CR:sensor"
],
category: "lab",
state: "solid",
};
elements.explodeinator_beam = {
color: "#ff0000",
behavior: [
"XX|XX|XX",
"M1|DL%0.25|XX",
"XX|XX|XX",
],
tick: behaviors.wall,
reactions: {
"": { "elem2":"explosion", "chance": 100 },
"wall": { "elem2":"explosion", "chance": 100 },
},
temp: 35,
tempLow: -273,
stateLow: ["liquid_light",null],
stateLowColorMultiplier: 0.8,
breakInto: ["explosion"],
properties: {
flipY: false,
speed: 5,
fall: 0,
attached: false,
attachOffsets: [null, null],
penetrateCounter: 7,
},
breakInto: "light",
breakIntoColor: "#ffcfcf",
category: "energy",
state: "gas",
density: 0.00001,
ignoreAir: true
};
elements.beamcr = {
behavior: behaviors.WALL,
behaviorOn: [
"XX|XX|XX",
"CR:explodeinator_beam|XX|XX",
"XX|XX|XX",
],
color: "#fadecd",
category: "machines",
conduct: 1
}
elements.acidinator2 = {
color: "#ff0000",
behaviorOn: behaviors.WALL,
behavior: [
"CR:steel|CR:steel|CR:brick|CR:wall|CR:wall",
"XX|DL|CR:beamcr2|CR:wire|CR:wall",
"CR:steel|CR:brick|CR:wire|CR:wire|CR:wire|CR:sensor"
],
category: "lab",
state: "solid",
};
elements.acidinator_beam2 = {
color: "#ff0000",
behavior: [
"XX|XX|XX",
"M1|DL%0.25|XX",
"XX|XX|XX",
],
tick: behaviors.wall,
reactions: {
"head": { "elem2":"acid", "chance": 100 },
"wall": { "elem2":"acid", "chance": 100 },
},
temp: 35,
tempLow: -273,
stateLow: ["liquid_light",null],
stateLowColorMultiplier: 0.8,
breakInto: ["explosion"],
properties: {
flipY: false,
speed: 5,
fall: 0,
attached: false,
attachOffsets: [null, null],
penetrateCounter: 7,
},
breakInto: "light",
breakIntoColor: "#ffcfcf",
category: "energy",
state: "gas",
density: 0.00001,
ignoreAir: true
};
elements.beamcr2 = {
behavior: behaviors.WALL,
behaviorOn: [
"XX|XX|XX",
"CR:acidinator_beam2|XX|XX",
"XX|XX|XX",
],
color: "#fadecd",
category: "machines",
conduct: 1
}