mirror of
https://github.com/minetest-mods/quartz.git
synced 2025-06-29 23:10:41 +02:00
Added setting for enabling the old horizontal pillars
This commit is contained in:
22
init.lua
22
init.lua
@ -146,16 +146,18 @@ minetest.register_abm({
|
||||
|
||||
--These are deprecated, don't use them
|
||||
|
||||
--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",
|
||||
drop = 'quartz:pillar',
|
||||
groups = {cracky=3, oddly_breakable_by_hand=1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
if enable_horizontal_pillar then
|
||||
--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",
|
||||
drop = 'quartz:pillar',
|
||||
groups = {cracky=3, oddly_breakable_by_hand=1, not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
--Compatibility with stairsplus
|
||||
|
Reference in New Issue
Block a user