From 042cfddbacc7c29a00f1ae079d3a45354768a348 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Mon, 30 Jul 2018 17:18:09 +0200 Subject: [PATCH] show locks texture on front of chest --- init.lua | 1 + shared_locked_chest.lua | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 0f2ba58..b3d8847 100644 --- a/init.lua +++ b/init.lua @@ -22,6 +22,7 @@ -- Changelog: -- 30.07.2018 * Front side of chest does not get pipeworks image anymore. +-- Instead it always shows the locks texture as overlay. -- 30.07.2018 * Fixed bug with pipeworks. -- * Repaired password. -- * Converted back to unix file format. diff --git a/shared_locked_chest.lua b/shared_locked_chest.lua index f40bde8..01e03c2 100644 --- a/shared_locked_chest.lua +++ b/shared_locked_chest.lua @@ -3,7 +3,7 @@ locks.chest_add = {}; locks.chest_add.tiles = {"default_chest_top.png", "default_chest_top.png", "default_chest_side.png", - "default_chest_side.png", "default_chest_side.png", "default_chest_front.png"}; + "default_chest_side.png", "default_chest_side.png", "default_chest_front.png^locks_lock16.png"}; locks.chest_add.groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}; locks.chest_add.tube = {}; @@ -16,7 +16,7 @@ if( locks.pipeworks_enabled ) then "default_chest_side.png^pipeworks_tube_connection_wooden.png", "default_chest_side.png^pipeworks_tube_connection_wooden.png", "default_chest_side.png^pipeworks_tube_connection_wooden.png", - "default_chest_front.png"}; + "default_chest_front.png^locks_lock16.png"}; locks.chest_add.groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, tubedevice = 1, tubedevice_receiver = 1 }; locks.chest_add.tube = {