add some dummied-out oil to-do code

This commit is contained in:
Laetitia (O-01-67) 2023-03-13 11:54:55 -04:00 committed by GitHub
parent 971c4cd87f
commit 651e5dbee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 1 deletions

View File

@ -748,7 +748,22 @@ if(enabledMods.includes(fireMod) && enabledMods.includes(changeTempMod)) {
delete elements.oil.tempHigh;
elements.oil.tick = function(pixel) {
if(pixel.temp <
if(!pixel.role) {
var value = Math.random()
if(value < 0.03) {
pixel.role = "lpg";
};
};
if(pixel.role == "lpg") {
var value = Math.random()
//LPG composition weighted chooser
};
if(pixel.temp > 30) { //https://www.crownoil.co.uk/guides/crude-oil-fractional-distillation/: Butane and propane and other petroleum gases are formed right at the top of the distillation tower, where it is coolest, a very mild 25°C: the temperature range that forms these gases is between 25°C and 50°C. These gases are the lightest products formed in crude oil distillation and are flammable gases.
//LPG change switch(pixel.role) statement
};
};
*/
} else {