mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2024-12-24 09:40:29 +01:00
remove outdated comment
This commit is contained in:
parent
63153f1093
commit
8fc5468212
9
init.lua
9
init.lua
@ -134,16 +134,7 @@ local default_dyes = {
|
||||
"yellow"
|
||||
}
|
||||
|
||||
-- this tiles the "extended" palette sideways and then crops it to 256x1
|
||||
-- to convert it from human readable to something the engine can use as a palette.
|
||||
--
|
||||
-- in machine-readable form, the selected color is:
|
||||
-- [hue] - [shade]*24 for the light colors, or
|
||||
-- [hue] + [saturation]*24 + [shade]*48 for the dark colors, or
|
||||
-- 240 + [shade] for the greys, 0 = white.
|
||||
|
||||
-- code borrowed from homedecor
|
||||
|
||||
-- call this function to reset the rotation of a "wallmounted" object on place
|
||||
|
||||
function unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing)
|
||||
|
Loading…
Reference in New Issue
Block a user