1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

remove "on" switch from creative inv

add proper "receiver" group
remove color from switch buttons
This commit is contained in:
Vanessa Dannenberg 2019-05-26 01:49:56 -04:00
parent b85278fbaa
commit bf7e47342f
3 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ for _, onoff in ipairs ({"on", "off"}) do
{ -0.1875, -0.5625, 0.375, 0.1875, -0.1250, 0.5 },
}
},
groups = {cracky=3,dig_immediate=2},
groups = {cracky=3, dig_immediate=2, mesecon_needs_receiver=1, not_in_creative_inventory = (onoff == "on") and 1 or nil},
walkable = false,
drop = {
items = {
@ -143,7 +143,7 @@ minetest.register_craft( {
})
minetest.register_craft( {
output = "homedecor:light_switch",
output = "homedecor:light_switch_off",
recipe = {
{"", "basic_materials:plastic_sheet", "basic_materials:copper_strip"},
{"basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:copper_strip"},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 B

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 278 B