Skip to content

Commit

Permalink
Merge pull request #199 from JustAGenericUsername/main
Browse files Browse the repository at this point in the history
  • Loading branch information
slweeb authored Dec 25, 2023
2 parents e5aa25b + aaea63d commit 070ff2c
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions mods/nousersthings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1390,4 +1390,60 @@ elements.blackhole_storage = {
},
movable: false,
conduct: 1,
},
elements.plutonium = {
color: ["#616161", "#4b4949", "#353232", "#211c1c"],
behavior: behaviors.STURDYPOWDER,
category: "powders",
tempHigh: 640,
stateHigh: "molten_plutonium",
state: "solid",
tick: function(pixel){
if (Math.random() < 0.0007) {
changePixel(pixel, "neutron", false);
} else if (Math.random() < 0.0007) {
changePixel(pixel, "uranium", false);
}
},
reactions: {
"neutron": { elem1:"pn_explosion", tempMin:400, chance:0.1 },
"neutron": { temp1: 100, temp2: 100 },
},
density: 19186,
}
elements.molten_plutonium = {
color: ["#6b5133", "#743f26", "#7c2727"],
behavior: behaviors.LIQUID,
category: "states",
state: "liquid",
tempLow: 620,
stateLow: "plutonium",
tick: function(pixel){
if (Math.random() < 0.0007) {
changePixel(pixel, "neutron", false);
} else if (Math.random() < 0.0007) {
changePixel(pixel, "uranium", false);
}
},
reactions: {
"neutron": { elem1:"pn_explosion", tempMin:400, chance:0.1 },
"neutron": { temp1: 100, temp2: 100 },
},
density: 16629,
}
elements.pn_explosion = {
color: ["#ffb48f","#ffd991","#ffad91"],
behavior: [
"XX|XX|XX",
"XX|EX:80>plasma,plasma,plasma,plasma,radiation,rad_steam,neutron|XX",
"XX|XX|XX",
],
temp: 100000000,
category: "energy",
state: "gas",
density: 1000,
excludeRandom: true,
hidden: true,
alias: "plutonium nuclear explosion",
noMix: true
}

0 comments on commit 070ff2c

Please sign in to comment.