diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 13:03:38 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 13:03:38 -0500 |
commit | 08fe211bded686ebb11ae2d891c4290a6fb3ee94 (patch) | |
tree | e1bcf7dbf31c3953890954524e3d328cd3f95516 | |
parent | 9ea646950698a78529ced222dd91e26a22178d44 (diff) | |
download | unifieddyes-08fe211bded686ebb11ae2d891c4290a6fb3ee94.tar unifieddyes-08fe211bded686ebb11ae2d891c4290a6fb3ee94.tar.gz unifieddyes-08fe211bded686ebb11ae2d891c4290a6fb3ee94.tar.bz2 unifieddyes-08fe211bded686ebb11ae2d891c4290a6fb3ee94.tar.xz unifieddyes-08fe211bded686ebb11ae2d891c4290a6fb3ee94.zip |
local-ize a few variables/tables
-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 |