mirror of
https://github.com/minetest-mods/technic.git
synced 2024-09-12 08:18:30 +02:00
Fix drops for active machines
Active machine nodes need to drop their inactive counterpart. Some were missing that declaration.
This commit is contained in:
parent
e748af927a
commit
f504178421
@ -163,6 +163,7 @@ minetest.register_node("technic:cnc_active", {
|
|||||||
tiles = {"technic_cnc_top_active.png", "technic_cnc_bottom.png", "technic_cnc_side.png",
|
tiles = {"technic_cnc_top_active.png", "technic_cnc_bottom.png", "technic_cnc_side.png",
|
||||||
"technic_cnc_side.png", "technic_cnc_side.png", "technic_cnc_front_active.png"},
|
"technic_cnc_side.png", "technic_cnc_side.png", "technic_cnc_front_active.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
drop = "technic:cnc",
|
||||||
groups = {cracky=2, not_in_creative_inventory=1},
|
groups = {cracky=2, not_in_creative_inventory=1},
|
||||||
legacy_facedir_simple = true,
|
legacy_facedir_simple = true,
|
||||||
can_dig = technic.machine_can_dig,
|
can_dig = technic.machine_can_dig,
|
||||||
|
@ -80,6 +80,7 @@ minetest.register_node("technic:compressor_active", {
|
|||||||
"technic_compressor_side.png", "technic_compressor_side.png",
|
"technic_compressor_side.png", "technic_compressor_side.png",
|
||||||
"technic_compressor_back.png", "technic_compressor_front_active.png"},
|
"technic_compressor_back.png", "technic_compressor_front_active.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
drop = "technic:compressor",
|
||||||
groups = {cracky=2, not_in_creative_inventory=1},
|
groups = {cracky=2, not_in_creative_inventory=1},
|
||||||
legacy_facedir_simple = true,
|
legacy_facedir_simple = true,
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
@ -86,6 +86,7 @@ minetest.register_node("technic:extractor_active", {
|
|||||||
"technic_lv_grinder_side.png", "technic_lv_grinder_side.png",
|
"technic_lv_grinder_side.png", "technic_lv_grinder_side.png",
|
||||||
"technic_lv_grinder_side.png", "technic_lv_grinder_front_active.png"},
|
"technic_lv_grinder_side.png", "technic_lv_grinder_front_active.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
drop = "technic:extractor",
|
||||||
groups = {cracky=2, not_in_creative_inventory=1},
|
groups = {cracky=2, not_in_creative_inventory=1},
|
||||||
legacy_facedir_simple = true,
|
legacy_facedir_simple = true,
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
@ -157,6 +157,7 @@ minetest.register_node("technic:constructor_mk1_on", {
|
|||||||
tile_images = {"technic_constructor_mk1_top_on.png","technic_constructor_mk1_bottom_on.png","technic_constructor_mk1_side2_on.png","technic_constructor_mk1_side1_on.png",
|
tile_images = {"technic_constructor_mk1_top_on.png","technic_constructor_mk1_bottom_on.png","technic_constructor_mk1_side2_on.png","technic_constructor_mk1_side1_on.png",
|
||||||
"technic_constructor_back.png","technic_constructor_front_on.png"},
|
"technic_constructor_back.png","technic_constructor_front_on.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
drop = "technic:constructor_mk1_off",
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,mesecon = 2,not_in_creative_inventory=1},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,mesecon = 2,not_in_creative_inventory=1},
|
||||||
mesecons= {effector={action_off=mk1_off}},
|
mesecons= {effector={action_off=mk1_off}},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
@ -242,6 +243,7 @@ minetest.register_node("technic:constructor_mk2_on", {
|
|||||||
"technic_constructor_back.png","technic_constructor_front_on.png"},
|
"technic_constructor_back.png","technic_constructor_front_on.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
drop = "technic:constructor_mk2_off",
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2, not_in_creative_inventory=1},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2, not_in_creative_inventory=1},
|
||||||
mesecons = {effector={action_off=mk2_off}},
|
mesecons = {effector={action_off=mk2_off}},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
@ -351,6 +353,7 @@ minetest.register_node("technic:constructor_mk3_on", {
|
|||||||
"technic_constructor_back.png","technic_constructor_front_on.png"},
|
"technic_constructor_back.png","technic_constructor_front_on.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
drop = "technic:constructor_mk3_off",
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2,not_in_creative_inventory=1},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2,not_in_creative_inventory=1},
|
||||||
mesecons = {effector={action_off=mk3_off}},
|
mesecons = {effector={action_off=mk3_off}},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
@ -84,6 +84,7 @@ function technic.register_electric_furnace(data)
|
|||||||
"technic_"..ltier.."_electric_furnace_side.png",
|
"technic_"..ltier.."_electric_furnace_side.png",
|
||||||
"technic_"..ltier.."_electric_furnace_front_active.png"},
|
"technic_"..ltier.."_electric_furnace_front_active.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
drop = "technic:"..ltier.."_electric_furnace",
|
||||||
groups = active_groups,
|
groups = active_groups,
|
||||||
light_source = 8,
|
light_source = 8,
|
||||||
legacy_facedir_simple = true,
|
legacy_facedir_simple = true,
|
||||||
|
@ -76,6 +76,7 @@ function technic.register_grinder(data)
|
|||||||
"technic_"..ltier.."_grinder_side.png", "technic_"..ltier.."_grinder_side.png",
|
"technic_"..ltier.."_grinder_side.png", "technic_"..ltier.."_grinder_side.png",
|
||||||
"technic_"..ltier.."_grinder_side.png", "technic_"..ltier.."_grinder_front_active.png"},
|
"technic_"..ltier.."_grinder_side.png", "technic_"..ltier.."_grinder_front_active.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
drop = "technic:"..ltier.."_grinder",
|
||||||
groups = active_groups,
|
groups = active_groups,
|
||||||
legacy_facedir_simple = true,
|
legacy_facedir_simple = true,
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
Loading…
Reference in New Issue
Block a user