forked from minetest-mods/mesecons
Don't allow non-inventory items as ingredients
Some mesecon wires (the turned-on nodes) that were not_in_creative_inventory and should never appear in an actual inventory were also mesecon_conductor_craftable. This is liable to make a craft guide show them as potential ingredients, due to the use of the group in recipes.
This commit is contained in:
parent
a6916191aa
commit
b64fea4f70
|
@ -77,7 +77,7 @@ minetest.register_node("mesecons_extrawires:crossover_01", {
|
|||
{ -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 },
|
||||
},
|
||||
},
|
||||
groups = {dig_immediate=3, mesecon=3, mesecon_conductor_craftable=1, not_in_creative_inventory=1},
|
||||
groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1},
|
||||
mesecons = {
|
||||
conductor = {
|
||||
states = crossover_states,
|
||||
|
@ -113,7 +113,7 @@ minetest.register_node("mesecons_extrawires:crossover_10", {
|
|||
{ -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 },
|
||||
},
|
||||
},
|
||||
groups = {dig_immediate=3, mesecon=3, mesecon_conductor_craftable=1, not_in_creative_inventory=1},
|
||||
groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1},
|
||||
mesecons = {
|
||||
conductor = {
|
||||
states = crossover_states,
|
||||
|
@ -149,7 +149,7 @@ minetest.register_node("mesecons_extrawires:crossover_on", {
|
|||
{ -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 },
|
||||
},
|
||||
},
|
||||
groups = {dig_immediate=3, mesecon=3, mesecon_conductor_craftable=1, not_in_creative_inventory=1},
|
||||
groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1},
|
||||
mesecons = {
|
||||
conductor = {
|
||||
states = crossover_states,
|
||||
|
|
|
@ -38,7 +38,7 @@ minetest.register_node("mesecons_extrawires:tjunction_on", {
|
|||
sunlight_propagates = true,
|
||||
selection_box = tjunction_selectionbox,
|
||||
node_box = tjunction_nodebox,
|
||||
groups = {dig_immediate = 3, mesecon_conductor_craftable=1, not_in_creative_inventory = 1},
|
||||
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
|
||||
drop = "mesecons_extrawires:tjunction_off",
|
||||
mesecons = {conductor =
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user