mirror of
https://github.com/minetest-mods/technic.git
synced 2025-01-26 01:40:34 +01:00
Made cables mineable
This commit is contained in:
parent
e04bafce83
commit
cca5d3bec1
@ -141,7 +141,7 @@ function technic.register_cable(tier, size)
|
|||||||
local ltier = string.lower(tier)
|
local ltier = string.lower(tier)
|
||||||
cable_tier["technic:"..ltier.."_cable"] = tier
|
cable_tier["technic:"..ltier.."_cable"] = tier
|
||||||
|
|
||||||
local groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
|
local groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2, pickaxey=2,
|
||||||
["technic_"..ltier.."_cable"] = 1}
|
["technic_"..ltier.."_cable"] = 1}
|
||||||
|
|
||||||
local node_box = {
|
local node_box = {
|
||||||
@ -171,6 +171,8 @@ function technic.register_cable(tier, size)
|
|||||||
"group:technic_"..ltier, "group:technic_all_tiers"},
|
"group:technic_"..ltier, "group:technic_all_tiers"},
|
||||||
on_construct = clear_networks,
|
on_construct = clear_networks,
|
||||||
on_destruct = clear_networks,
|
on_destruct = clear_networks,
|
||||||
|
_mcl_blast_resistance = 1.5,
|
||||||
|
_mcl_hardness = 3
|
||||||
})
|
})
|
||||||
|
|
||||||
local xyz = {
|
local xyz = {
|
||||||
|
Loading…
Reference in New Issue
Block a user