textured materials

This commit is contained in:
JustAGenericUsername 2024-02-16 21:05:00 -05:00
parent 27fdc35762
commit 4c5699eaab
1 changed files with 115 additions and 0 deletions

View File

@ -2081,6 +2081,41 @@ textures.transparency = [
"gggwww",
"gggwww"
]
textures.steel = [
"hHhhd",
"Hnnnd",
"hnnnd",
"hnnnD",
"dddDD"
]
textures.sponge = [
"hddddnnddd",
"Ddhddhnhdd",
"ddDdnNnNdd",
"dddhnnnnnh",
"dhdNnhnnnN",
"nNnhnNnddd",
"dhnNnnddhd",
"dDnnnhddDd",
"dhnnnNdhdd",
"ddddnddDdd"
]
textures.copper = [
"uuuuum",
"unhhnd",
"uhhnnD",
"uhnnHd",
"unnHnD",
"mdDdDD"
]
textures.gold = [
"hnnndbHHHhhnbHHHh",
"nnndbhnnnnndDbnnn",
"nnddbnnnnnddDbnnn",
"dddbnnnddddDDDbnd",
"DDDbDDDDDDDDDDbDD",
"BBBBBBBBBBBBBBBBB"
]
elements.transparency = {
color: ["#d4d4d4", "#ffffff"],
colorPattern: textures.transparency,
@ -2091,4 +2126,84 @@ elements.transparency = {
behavior: behaviors.WALL,
category: "special",
state: "solid"
}
elements.textured_steel = {
color: ["#708196", "#8895ad", "#596B77", "#525D6B", "#404954"],
colorPattern: textures.steel,
colorKey: {
"h": "#708196",
"H": "#8895ad",
"n": "#596B77",
"d": "#525D6B",
"D": "#404954"
},
behavior: behaviors.WALL,
category: "solids",
state: "solid",
tick: function(pixel){
if (pixelTicks - pixel.start == 1){
pixel.element = "steel"
}
}
}
elements.textured_sponge = {
color: ["#ccaa00", "#c1a100", "#967d00", "#b89a00", "#ae9100"],
colorPattern: textures.sponge,
colorKey: {
"n": "#ccaa00",
"N": "#c1a100",
"h": "#967d00",
"d": "#b89a00",
"D": "#ae9100"
},
behavior: behaviors.WALL,
category: "solids",
state: "solid",
tick: function(pixel){
if (pixelTicks - pixel.start == 1){
pixel.element = "sponge"
}
}
}
elements.textured_copper = {
color: ["#772F22", "#AB533F", "#9E3F2D", "#9E3F2D", "#4C1C11"],
colorPattern: textures.copper,
colorKey: {
"u": "#772F22",
"H": "#AB533F",
"h": "#C0725A",
"n": "#9E3F2D",
"D": "#4C1C11",
"d": "#622516",
"m": "#712C1E"
},
behavior: behaviors.WALL,
category: "solids",
state: "solid",
tick: function(pixel){
if (pixelTicks - pixel.start == 1){
pixel.element = "copper"
}
}
}
elements.textured_gold = {
color: ["#E4B038", "#FFCA59", "#BF8A18", "#7F5A10", "#674611"],
colorPattern: textures.gold,
colorKey: {
"h": "#FFCA59",
"H": "#FFFFCC",
"n": "#E4B038",
"B": "#513412",
"b": "#674611",
"d": "#BF8A18",
"D": "#7F5A10"
},
behavior: behaviors.WALL,
category: "solids",
state: "solid",
tick: function(pixel){
if (pixelTicks - pixel.start == 1){
pixel.element = "gold"
}
}
}