local-ize a few variables/tables

This commit is contained in:
Vanessa Ezekowitz 2013-12-15 13:03:38 -05:00
parent 9ea6469506
commit 08fe211bde
4 changed files with 4 additions and 4 deletions

0
gentextures-jpg.sh Executable file → Normal file
View File

0
gentextures.sh Executable file → Normal file
View File

View File

@ -170,7 +170,7 @@ minetest.register_craft( {
-- Brightness levels in the textures are 33% ("dark"), 66% ("medium"), -- Brightness levels in the textures are 33% ("dark"), 66% ("medium"),
-- 100% ("full", but not so-named), and 150% ("light"). -- 100% ("full", but not so-named), and 150% ("light").
HUES = { local HUES = {
"red", "red",
"orange", "orange",
"yellow", "yellow",
@ -185,7 +185,7 @@ HUES = {
"redviolet" "redviolet"
} }
HUES2 = { local HUES2 = {
"Red", "Red",
"Orange", "Orange",
"Yellow", "Yellow",
@ -203,8 +203,8 @@ HUES2 = {
for i = 1, 12 do for i = 1, 12 do
hue = HUES[i] local hue = HUES[i]
hue2 = HUES2[i] local hue2 = HUES2[i]
minetest.register_craft( { minetest.register_craft( {
type = "shapeless", type = "shapeless",

0
listcolors.sh Executable file → Normal file
View File