diff --git a/mods/nousersthings.js b/mods/nousersthings.js index 883ebdb1..b1e69f0f 100644 --- a/mods/nousersthings.js +++ b/mods/nousersthings.js @@ -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 }