2022-12-07 08:08:55 +01:00
|
|
|
minetest.register_node("scifi_nodes:forcefield", {
|
|
|
|
description = "Forcefield",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
drawtype = "glasslike",
|
2023-06-23 16:48:18 +02:00
|
|
|
groups = {
|
|
|
|
cracky = 1,
|
|
|
|
level = 3
|
|
|
|
},
|
2024-03-01 07:00:13 +01:00
|
|
|
is_ground_content = false,
|
2023-06-23 16:48:18 +02:00
|
|
|
sounds = scifi_nodes.node_sound_glass_defaults(),
|
2022-12-07 08:08:55 +01:00
|
|
|
paramtype = "light",
|
|
|
|
light_source = minetest.LIGHT_MAX,
|
|
|
|
tiles = {{
|
|
|
|
name = "scifi_nodes_forcefield.png",
|
|
|
|
animation = {
|
|
|
|
type = "vertical_frames",
|
|
|
|
aspect_w = 16,
|
|
|
|
aspect_h = 16,
|
|
|
|
length = 1.0,
|
|
|
|
}
|
2023-06-23 16:48:18 +02:00
|
|
|
}}
|
2024-03-01 07:00:13 +01:00
|
|
|
})
|