Support default dyes

master
Ilya Zhuravlev 2012-09-11 22:02:49 +04:00
parent 2ba54495d0
commit 4bcdbf9340
10 changed files with 4 additions and 3 deletions

View File

@ -18,8 +18,10 @@ textures = {
orange = "orange.png", red = "red.png",
violet = "violet.png", blue = "blue.png",
green = "green.png", magenta = "magenta.png",
cyan = "cyan.png", lightgrey = "lightgrey.png",
darkgrey = "darkgrey.png", black = "black.png"
cyan = "cyan.png", grey = "grey.png",
darkgrey = "darkgrey.png", black = "black.png",
darkgreen = "darkgreen.png", brown="brown.png",
pink = "pink.png"
}
thickness = 0.1
@ -72,7 +74,6 @@ picent = {
local meta = minetest.env:get_meta(pos)
local data = meta:get_string("painting:picturedata")
data = minetest.deserialize(data)
if not data.grid then return end
self.object:set_properties({textures = { to_imagestring(data.grid, data.res) }})
end

BIN
textures/brown.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

BIN
textures/darkgreen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

View File

Before

Width:  |  Height:  |  Size: 295 B

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 563 B

View File

Before

Width:  |  Height:  |  Size: 569 B

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

BIN
textures/pink.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B