mirror of
https://github.com/minetest-mods/quartz.git
synced 2024-11-17 07:50:19 +01:00
Removed horizontal pillar and took advantage of my minetest.rotate_and_place wrapper
This commit is contained in:
parent
8e5ed5717d
commit
d5f8202e2e
@ -28,14 +28,6 @@ x|q|x
|
||||
-----
|
||||
x|x|x
|
||||
|
||||
Quartz Pillar (horizontal):
|
||||
q = quartz block x = nothing
|
||||
|
||||
x|x|x
|
||||
-----
|
||||
x|x|x
|
||||
-----
|
||||
q|q|x
|
||||
|
||||
Quartz Slab:
|
||||
q = quartz block x = nothing
|
||||
|
38
init.lua
38
init.lua
@ -49,20 +49,13 @@ minetest.register_node("quartz:chiseled", {
|
||||
--Quartz Pillar
|
||||
minetest.register_node("quartz:pillar", {
|
||||
description = "Quartz Pillar",
|
||||
paramtype2 = "facedir",
|
||||
tiles = {"quartz_pillar_top.png", "quartz_pillar_top.png", "quartz_pillar_side.png"},
|
||||
groups = {cracky=3, oddly_breakable_by_hand=1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
on_place = minetest.rotate_node
|
||||
})
|
||||
|
||||
--Quartz Pillar (horizontal)
|
||||
minetest.register_node("quartz:pillar_horizontal", {
|
||||
description = "Quartz Pillar Horizontal",
|
||||
tiles = {"quartz_pillar_side.png", "quartz_pillar_side.png", "quartz_pillar_side.png^[transformR90",
|
||||
"quartz_pillar_side.png^[transformR90", "quartz_pillar_top.png", "quartz_pillar_top.png"},
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=3, oddly_breakable_by_hand=1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
--Stairs & Slabs
|
||||
stairs.register_stair_and_slab("quartzblock", "quartz:block",
|
||||
@ -125,30 +118,3 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'quartz:pillar 2',
|
||||
recipe = {
|
||||
{'quartz:pillar_horizontal', '', ''},
|
||||
{'quartz:pillar_horizontal', '', ''},
|
||||
{'', '', ''},
|
||||
}
|
||||
})
|
||||
|
||||
--Quartz Pillar (horizontal)
|
||||
minetest.register_craft({
|
||||
output = 'quartz:pillar_horizontal 2',
|
||||
recipe = {
|
||||
{'', '', ''},
|
||||
{'quartz:block', 'quartz:block', ''},
|
||||
{'', '', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'quartz:pillar_horizontal 2',
|
||||
recipe = {
|
||||
{'', '', ''},
|
||||
{'quartz:pillar', 'quartz:pillar', ''},
|
||||
{'', '', ''},
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user