Update nousersthings.js

This commit is contained in:
JustAGenericUsername 2023-12-09 20:29:45 -05:00 committed by GitHub
parent a7f7faa116
commit 02808ea47c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 2 deletions

View File

@ -1254,7 +1254,7 @@ elements.heat_test = {
if (pixel.ctemp <= 0.5){
pixel.newR = (((510-(2*pixel.ogR))*pixel.ctemp)+pixel.ogR);
pixel.newG = ((0-((2*pixel.ogG)*pixel.ctemp))+pixel.ogG);
pixel.newB = ((0-((5*pixel.ogB)*pixel.ctemp))+pixel.ogB);
pixel.newB = ((0-((2*pixel.ogB)*pixel.ctemp))+pixel.ogB);
}else if (pixel.ctemp > 0.5){
pixel.newR = 255;
pixel.newG = ((510*pixel.ctemp)-256);
@ -1297,4 +1297,20 @@ elements.soup = {
},
elements.broth.onMix = function(pixel){
changePixel(pixel, "soup")
}
}//,
//elements.portal_in = {
// color: "#FFA000",
// behavior: behaviors.WALL,
// tick: function(pixel) {
// },
// category: "machines",
// state: "solid",
//},
//elements.portal_out = {
// color: "#0000FF",
// behavior: behaviors.WALL,
// tick: function(pixel) {
// },
// category: "machines",
// state: "solid",
//}