1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2024-12-22 16:10:18 +01:00

allow digging of forcefield (same toughness as a diamondblock)

This commit is contained in:
BuckarooBanzay 2023-06-23 16:48:18 +02:00
parent 8cd08c1852
commit fd4a03dd8d

View File

@ -2,11 +2,13 @@ minetest.register_node("scifi_nodes:forcefield", {
description = "Forcefield", description = "Forcefield",
sunlight_propagates = true, sunlight_propagates = true,
drawtype = "glasslike", drawtype = "glasslike",
groups = {}, groups = {
cracky = 1,
level = 3
},
sounds = scifi_nodes.node_sound_glass_defaults(),
paramtype = "light", paramtype = "light",
light_source = minetest.LIGHT_MAX, light_source = minetest.LIGHT_MAX,
diggable = false,
drop = '',
tiles = {{ tiles = {{
name = "scifi_nodes_forcefield.png", name = "scifi_nodes_forcefield.png",
animation = { animation = {
@ -15,6 +17,5 @@ minetest.register_node("scifi_nodes:forcefield", {
aspect_h = 16, aspect_h = 16,
length = 1.0, length = 1.0,
} }
}}, }}
on_blast = function() end,
}) })