mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 07:10:19 +01:00
Dye: Add global table of dye names and descriptions
This commit is contained in:
parent
9c887e0b32
commit
079b796031
@ -2,7 +2,28 @@
|
|||||||
|
|
||||||
dye = {}
|
dye = {}
|
||||||
dye.basecolors = {"white", "grey", "black", "red", "yellow", "green", "cyan", "blue", "magenta"}
|
dye.basecolors = {"white", "grey", "black", "red", "yellow", "green", "cyan", "blue", "magenta"}
|
||||||
dye.excolors = {"white", "lightgrey", "grey", "darkgrey", "black", "red", "orange", "yellow", "lime", "green", "aqua", "cyan", "sky_blue", "blue", "violet", "magenta", "red_violet"}
|
dye.excolors = {"white", "lightgrey", "grey", "darkgrey", "black", "red", "orange", "yellow",
|
||||||
|
"lime", "green", "aqua", "cyan", "sky_blue", "blue", "violet", "magenta", "red_violet"}
|
||||||
|
|
||||||
|
-- Make dye names and descriptions available globally
|
||||||
|
|
||||||
|
dye.dyes = {
|
||||||
|
{"white", "White"},
|
||||||
|
{"grey", "Grey"},
|
||||||
|
{"dark_grey", "Dark grey"},
|
||||||
|
{"black", "Black"},
|
||||||
|
{"violet", "Violet"},
|
||||||
|
{"blue", "Blue"},
|
||||||
|
{"cyan", "Cyan"},
|
||||||
|
{"dark_green", "Dark green"},
|
||||||
|
{"green", "Green"},
|
||||||
|
{"yellow", "Yellow"},
|
||||||
|
{"brown", "Brown"},
|
||||||
|
{"orange", "Orange"},
|
||||||
|
{"red", "Red"},
|
||||||
|
{"magenta", "Magenta"},
|
||||||
|
{"pink", "Pink"},
|
||||||
|
}
|
||||||
|
|
||||||
-- This collection of colors is partly a historic thing, partly something else
|
-- This collection of colors is partly a historic thing, partly something else
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user