mirror of
https://github.com/pyrollo/display_modpack.git
synced 2025-10-17 01:25:21 +02:00
Make posters dyeable (#20)
* set signs param2 to colorfacedir - make signs use a color palette and hardware coloring - add poster coloring crafting recipes and optional depend on dye * use xcompat * optipng textures * make recipe shapeless * fix spaces/tab mix * remove xcompat check
This commit is contained in:
@@ -104,7 +104,7 @@ function signs_api.on_place_direction(itemstack, placer, pointed_thing)
|
||||
|
||||
local ndir, test
|
||||
|
||||
if ndef and ndef.paramtype2 == "facedir" then
|
||||
if ndef and (ndef.paramtype2 == "facedir" or ndef.paramtype2 == "colorfacedir") then
|
||||
-- Wall pointed
|
||||
ndir = minetest.dir_to_facedir(bdir, true)
|
||||
|
||||
|
Reference in New Issue
Block a user