next commit
parent
624cedb129
commit
2f66e0962a
2
README
2
README
|
@ -1,4 +1,4 @@
|
||||||
Mod: by RuneAlbut and Etwas
|
Mod: by RuneAlbut
|
||||||
Textures by sdzen
|
Textures by sdzen
|
||||||
|
|
||||||
http://minetest.net/forum/viewtopic.php?id=1567
|
http://minetest.net/forum/viewtopic.php?id=1567
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
default
|
||||||
|
|
|
@ -0,0 +1,54 @@
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'street:lamp 4',
|
||||||
|
recipe = {
|
||||||
|
{'default:coal_lump'},
|
||||||
|
{'default:torch'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("street:lamp", {
|
||||||
|
description = "Lamp",
|
||||||
|
drawtype = "plantlike",
|
||||||
|
tile_images = {"lamp.png"},
|
||||||
|
inventory_image = "lamp.png",
|
||||||
|
wield_image = "lamp.png",
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "wallmounted",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
walkable = true,
|
||||||
|
light_source = LIGHT_MAX-1,
|
||||||
|
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.3, -0.1, -0.5+0.3, 0.3, 0.1},
|
||||||
|
},
|
||||||
|
material = minetest.digprop_constanttime(0.0),
|
||||||
|
legacy_wallmounted = true,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'street:lamppost 12',
|
||||||
|
recipe = {
|
||||||
|
{'default:coal_lump'},
|
||||||
|
{'default:fence_wood'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("street:lamppost", {
|
||||||
|
description = "Lamppost",
|
||||||
|
drawtype = "fencelike",
|
||||||
|
tile_images = {"pfosten_1.png"},
|
||||||
|
inventory_image = "pfosten_1.png",
|
||||||
|
wield_image = "pfosten_1.png",
|
||||||
|
paramtype = "light",
|
||||||
|
is_ground_content = true,
|
||||||
|
sunlight_propagates = true,
|
||||||
|
walkable = false,
|
||||||
|
light_source = LIGHT_MAX-1,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
|
||||||
|
},
|
||||||
|
material = minetest.digprop_woodlike(0.75),
|
||||||
|
})
|
Binary file not shown.
After Width: | Height: | Size: 828 KiB |
Binary file not shown.
After Width: | Height: | Size: 972 KiB |
Binary file not shown.
After Width: | Height: | Size: 305 B |
Binary file not shown.
After Width: | Height: | Size: 465 B |
Loading…
Reference in New Issue