diff options
-rw-r--r--[-rwxr-xr-x] | gentextures-jpg.sh | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | gentextures.sh | 0 | ||||
-rw-r--r-- | init.lua | 8 | ||||
-rw-r--r--[-rwxr-xr-x] | listcolors.sh | 0 |
4 files changed, 4 insertions, 4 deletions
diff --git a/gentextures-jpg.sh b/gentextures-jpg.sh index a7cad60..a7cad60 100755..100644 --- a/gentextures-jpg.sh +++ b/gentextures-jpg.sh diff --git a/gentextures.sh b/gentextures.sh index 842817e..842817e 100755..100644 --- a/gentextures.sh +++ b/gentextures.sh @@ -170,7 +170,7 @@ minetest.register_craft( { -- Brightness levels in the textures are 33% ("dark"), 66% ("medium"), -- 100% ("full", but not so-named), and 150% ("light"). -HUES = { +local HUES = { "red", "orange", "yellow", @@ -185,7 +185,7 @@ HUES = { "redviolet" } -HUES2 = { +local HUES2 = { "Red", "Orange", "Yellow", @@ -203,8 +203,8 @@ HUES2 = { for i = 1, 12 do - hue = HUES[i] - hue2 = HUES2[i] + local hue = HUES[i] + local hue2 = HUES2[i] minetest.register_craft( { type = "shapeless", diff --git a/listcolors.sh b/listcolors.sh index 53e1806..53e1806 100755..100644 --- a/listcolors.sh +++ b/listcolors.sh |