Remove "Locked" label from unlocked hidden doors

This commit is contained in:
SmallJoker 2023-05-27 20:32:18 +02:00
parent b0e3682870
commit 9389bf37e7

View File

@ -11,11 +11,11 @@ local hdoor_list = { --Number , Description , default image
}
local function add_door(img, desc)
-- Cannot add locked doors because the tooltip defies the purpose of being a hidden door
doors.register_door("my_hidden_doors:hidden_door"..img, {
description = desc.." Locked",
description = desc,
inventory_image = "mydoors_"..img.."_inv.png",
groups = {choppy=2,cracky=2,door=1},
only_placer_can_open = false,
tiles = {{ name = "mydoors_"..img..".png", backface_culling = true }},
protected = false,
})
@ -27,7 +27,7 @@ for _,hdoor in ipairs(hdoor_list) do
end
doors.register_door("my_hidden_doors:hidden_door_grey", {
description = "Grey Door Locked",
description = "Grey Door",
inventory_image = "mydoors_grey_inv.png",
groups = {choppy=2,cracky=2,door=1},
tiles = {{ name = "mydoors_grey.png", backface_culling = true }},