Merge pull request #181 from JustAGenericUsername/main

Update nousersthings.js
This commit is contained in:
slweeb 2023-12-09 20:52:31 -05:00 committed by GitHub
commit 35e042d971
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",
//}