forked from minetest-mods/mesecons
Mesecon Torch
This commit is contained in:
parent
20d1b9dd52
commit
a0417d3ad3
mesecons_textures/textures
jeija_torches_off.pngjeija_torches_off_ceiling.pngjeija_torches_off_side.pngjeija_torches_on.pngjeija_torches_on_ceiling.pngjeija_torches_on_side.png
mesecons_torch
Binary file not shown.
Before ![]() (image error) Size: 214 B After ![]() (image error) Size: 219 B ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 216 B After ![]() (image error) Size: 220 B ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 202 B After ![]() (image error) Size: 206 B ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 207 B After ![]() (image error) Size: 210 B ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 217 B After ![]() (image error) Size: 220 B ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 193 B After ![]() (image error) Size: 197 B ![]() ![]() |
@ -15,8 +15,14 @@ minetest.register_node("mesecons_torch:mesecon_torch_off", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
selection_box = {
|
||||||
|
type = "wallmounted",
|
||||||
|
wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1},
|
||||||
|
wall_bottom = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1},
|
||||||
|
wall_side = {-0.5, -0.1, -0.1, -0.5+0.6, 0.1, 0.1},
|
||||||
|
},
|
||||||
legacy_wallmounted = true,
|
legacy_wallmounted = true,
|
||||||
groups = {dig_immediate=2},
|
groups = {dig_immediate=3,not_in_creative_inventory=1},
|
||||||
drop = '"mesecons_torch:mesecon_torch_on" 1',
|
drop = '"mesecons_torch:mesecon_torch_on" 1',
|
||||||
description="Mesecon Torch",
|
description="Mesecon Torch",
|
||||||
})
|
})
|
||||||
@ -30,8 +36,14 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
selection_box = {
|
||||||
|
type = "wallmounted",
|
||||||
|
wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1},
|
||||||
|
wall_bottom = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1},
|
||||||
|
wall_side = {-0.5, -0.1, -0.1, -0.5+0.6, 0.1, 0.1},
|
||||||
|
},
|
||||||
legacy_wallmounted = true,
|
legacy_wallmounted = true,
|
||||||
groups = {dig_immediate=2,not_in_creative_inventory=1},
|
groups = {dig_immediate=3},
|
||||||
light_source = LIGHT_MAX-5,
|
light_source = LIGHT_MAX-5,
|
||||||
description="Mesecon Torch",
|
description="Mesecon Torch",
|
||||||
after_place_node = function(pos)
|
after_place_node = function(pos)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user