mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2024-11-22 07:23:48 +01:00
local-ize a few variables/tables
This commit is contained in:
parent
9ea6469506
commit
08fe211bde
0
gentextures-jpg.sh
Executable file → Normal file
0
gentextures-jpg.sh
Executable file → Normal file
0
gentextures.sh
Executable file → Normal file
0
gentextures.sh
Executable file → Normal file
8
init.lua
8
init.lua
@ -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",
|
||||
|
0
listcolors.sh
Executable file → Normal file
0
listcolors.sh
Executable file → Normal file
Loading…
Reference in New Issue
Block a user