merged with inv_dyes

This commit is contained in:
An Orbit 2023-05-08 12:56:54 -04:00 committed by GitHub
parent 894856b625
commit fb0579a8dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 21 deletions

View File

@ -1,21 +0,0 @@
if(!settings) {
settings = {}
}
if(!settings.bg) {
settings.bg = "#000000"
}
elements.invisible_wall = {
color: settings.bg,
behavior: behaviors.WALL,
tick: function(pixel) {
var backgroundColor = hexToRGB(settings.bg);
var rgbValue = "rgb("+backgroundColor.r+","+backgroundColor.g+","+backgroundColor.b+")";
pixel.color = rgbValue;
},
insulate: true,
hardness: 1,
category: "special",
state: "solid",
};