summaryrefslogtreecommitdiff
path: root/mesecons_extrawires
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2014-05-01 18:42:19 +0100
committerJeija <jeija@mesecons.net>2014-05-02 09:07:52 +0200
commitb64fea4f707547c4b84ae54e204ac51255ae476f (patch)
tree3e92e970f42908c55fbfb2b8da8c410b52569331 /mesecons_extrawires
parenta6916191aa56575fe8120572ac0eb8d91c4c491a (diff)
downloadmesecons-b64fea4f707547c4b84ae54e204ac51255ae476f.tar
mesecons-b64fea4f707547c4b84ae54e204ac51255ae476f.tar.gz
mesecons-b64fea4f707547c4b84ae54e204ac51255ae476f.tar.bz2
mesecons-b64fea4f707547c4b84ae54e204ac51255ae476f.tar.xz
mesecons-b64fea4f707547c4b84ae54e204ac51255ae476f.zip
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.
Diffstat (limited to 'mesecons_extrawires')
-rw-r--r--mesecons_extrawires/crossover.lua6
-rw-r--r--mesecons_extrawires/tjunction.lua2
2 files changed, 4 insertions, 4 deletions
diff --git a/mesecons_extrawires/crossover.lua b/mesecons_extrawires/crossover.lua
index 9cdf3c2..93b9638 100644
--- a/mesecons_extrawires/crossover.lua
+++ b/mesecons_extrawires/crossover.lua
@@ -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,
diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua
index 4a569a0..c5f36a2 100644
--- a/mesecons_extrawires/tjunction.lua
+++ b/mesecons_extrawires/tjunction.lua
@@ -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 =
{