restructed to root

master
pauldpickell 2021-11-21 12:35:30 -08:00 committed by GitHub
parent 41958df512
commit 2d8eda67f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
58 changed files with 42 additions and 0 deletions

BIN
colorbrewer_Blues.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 KiB

BIN
colorbrewer_BrBG.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 KiB

BIN
colorbrewer_BuGn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB

BIN
colorbrewer_BuPu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

BIN
colorbrewer_GnBu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

BIN
colorbrewer_Greens.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

BIN
colorbrewer_Greys.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

BIN
colorbrewer_OrRd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 KiB

BIN
colorbrewer_Oranges.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

BIN
colorbrewer_PRGn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

BIN
colorbrewer_PiYG.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

BIN
colorbrewer_PuBu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

BIN
colorbrewer_PuBuGn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

BIN
colorbrewer_PuOr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

BIN
colorbrewer_PuRd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

BIN
colorbrewer_Purples.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 KiB

BIN
colorbrewer_RdBu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

BIN
colorbrewer_RdGy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

BIN
colorbrewer_RdPu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 KiB

BIN
colorbrewer_RdYlBu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

BIN
colorbrewer_RdYlGn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

BIN
colorbrewer_Reds.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

BIN
colorbrewer_Spectral.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

BIN
colorbrewer_YlGn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

BIN
colorbrewer_YlGnBu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

BIN
colorbrewer_YlOrBr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

BIN
colorbrewer_YlOrRd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

BIN
colorbrewer_screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 KiB

BIN
colorbrewer_screenshot2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 KiB

42
init.lua Normal file
View File

@ -0,0 +1,42 @@
local palettes = {
{"BrBG"},
{"PiYG"},
{"PRGn"},
{"PuOr"},
{"RdBu"},
{"RdGy"},
{"RdYlBu"},
{"RdYlGn"},
{"Spectral"},
{"Blues"},
{"BuGn"},
{"BuPu"},
{"GnBu"},
{"Greens"},
{"Greys"},
{"Oranges"},
{"OrRd"},
{"PuBu"},
{"PuBuGn"},
{"PuRd"},
{"Purples"},
{"RdPu"},
{"Reds"},
{"YlGn"},
{"YlGnBu"},
{"YlOrBr"},
{"YlOrRd"},
}
for i in ipairs(palettes) do
minetest.register_node("colorbrewer:" .. palettes[i][1], {
inventory_image = palettes[i][1] .. "_palette.png",
wield_image = palettes[i][1] .. "_palette.png",
groups = {oddly_breakable_by_hand = 1, ud_param2_colorable=1},
tiles = {"colorbrewer_template.png"},
paramtype2 = "color",
palette = palettes[i][1] .. "_palette.png",
})
end

BIN
textures/Blues_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

BIN
textures/BrBG_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

BIN
textures/BuGn_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

BIN
textures/BuPu_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

BIN
textures/GnBu_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 B

BIN
textures/Greens_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

BIN
textures/Greys_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

BIN
textures/OrRd_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

BIN
textures/PRGn_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

BIN
textures/PiYG_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

BIN
textures/PuBuGn_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

BIN
textures/PuBu_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

BIN
textures/PuOr_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

BIN
textures/PuRd_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

BIN
textures/RdBu_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

BIN
textures/RdGy_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

BIN
textures/RdPu_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

BIN
textures/RdYlBu_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

BIN
textures/RdYlGn_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

BIN
textures/Reds_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

BIN
textures/YlGnBu_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

BIN
textures/YlGn_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

BIN
textures/YlOrBr_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

BIN
textures/YlOrRd_palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B