From d0278433c694f4a02b159212c362a82c076b24b9 Mon Sep 17 00:00:00 2001 From: David Hurka Date: Sat, 18 Sep 2021 13:00:22 +0200 Subject: [PATCH] Split vintage block texture into background and foreground. --- morelights_vintage/init.lua | 8 ++++---- .../textures/morelights_vintage_block.png | Bin 272 -> 185 bytes .../textures/morelights_vintage_material.png | Bin 0 -> 272 bytes 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 morelights_vintage/textures/morelights_vintage_material.png diff --git a/morelights_vintage/init.lua b/morelights_vintage/init.lua index 974390d..6fa7992 100644 --- a/morelights_vintage/init.lua +++ b/morelights_vintage/init.lua @@ -77,7 +77,7 @@ minetest.register_node("morelights_vintage:chain_ceiling_b", { minetest.register_node("morelights_vintage:block", { description = S("Vintage Light Block"), - tiles = {"morelights_vintage_block.png"}, + tiles = {"morelights_vintage_material.png^morelights_vintage_block.png"}, paramtype = "light", light_source = minetest.LIGHT_MAX, groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, @@ -93,9 +93,9 @@ minetest.register_node("morelights_vintage:smallblock", { fixed = {-1/4, -1/2, -1/4, 1/4, 0, 1/4} }, tiles = { - "morelights_vintage_block.png", - "morelights_vintage_block.png", - "[combine:16x16:0,4=morelights_vintage_block.png" + "morelights_vintage_material.png^morelights_vintage_block.png", + "morelights_vintage_material.png^morelights_vintage_block.png", + "[combine:16x16:0,4=(morelights_vintage_material.png\\^morelights_vintage_block.png)" }, use_texture_alpha = "opaque", paramtype = "light", diff --git a/morelights_vintage/textures/morelights_vintage_block.png b/morelights_vintage/textures/morelights_vintage_block.png index 89071f945a421db6eb55661996f57ec58a83663c..51966516a68202ad14b81ac29ceae55303244b0f 100644 GIT binary patch delta 157 zcmV;O0Al};0=WT@B!3c6OjJbxZ*2AGwDsz|`0c;=@5lP`&?Q5*IsgCw0d!JMQvg8b z*k%9#098puK~xCWV_<*-K_(?71wjS|Mj<9;BLzhP21W%27iR`W0fZ7Jpoj~IWKw1c z4RJ6AGE7)PLmixv8Ok7rlLAaJl6Ihh#$W>(1(}qMK~}&mg%$w-FIEd!k5qB<00000 LNkvXXu0mjfb&^vzxeOR`ts1yVu@J*005gwL_t&t*8z|KZ~p)%lP6X-a(HO~a=R?d%)+}z z086~A&D_Pyu>gC=2JY=cOS1qZH8WI(DGF5pe8hF`?qWR00BwBDUjP2)-N*nO-Y)%0000s^?Isk0Bt%XQF@Z#AA~`+P90T SOkD+ZCWEJ|pUXO@geCy_o?V0h literal 0 HcmV?d00001