make use of the digtron_protected group to protect filled crates

This commit is contained in:
FaceDeer 2017-02-01 19:38:00 -07:00
parent 86be9d099e
commit 43b10262fc

@ -56,7 +56,7 @@ minetest.register_node("digtron:loaded_crate", {
description = "Digtron Crate (Loaded)", description = "Digtron Crate (Loaded)",
_doc_items_longdesc = digtron.doc.loaded_crate_longdesc, _doc_items_longdesc = digtron.doc.loaded_crate_longdesc,
_doc_items_usagehelp = digtron.doc.loaded_crate_usagehelp, _doc_items_usagehelp = digtron.doc.loaded_crate_usagehelp,
groups = {cracky = 3, oddly_breakable_by_hand=3, not_in_creative_inventory=1, digtron=1}, groups = {cracky = 3, oddly_breakable_by_hand=3, not_in_creative_inventory=1, digtron_protected=1},
stack_max = 1, stack_max = 1,
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
tiles = {"digtron_plate.png^digtron_crate.png"}, tiles = {"digtron_plate.png^digtron_crate.png"},