mirror of
https://github.com/minetest-mods/quartz.git
synced 2025-01-06 16:00:24 +01:00
Added setting for enabling the old horizontal pillars
This commit is contained in:
parent
7bbb95a713
commit
89369aa46c
22
init.lua
22
init.lua
@ -146,16 +146,18 @@ minetest.register_abm({
|
|||||||
|
|
||||||
--These are deprecated, don't use them
|
--These are deprecated, don't use them
|
||||||
|
|
||||||
--Quartz Pillar (horizontal)
|
if enable_horizontal_pillar then
|
||||||
minetest.register_node("quartz:pillar_horizontal", {
|
--Quartz Pillar (horizontal)
|
||||||
description = "Quartz Pillar Horizontal",
|
minetest.register_node("quartz:pillar_horizontal", {
|
||||||
tiles = {"quartz_pillar_side.png", "quartz_pillar_side.png", "quartz_pillar_side.png^[transformR90",
|
description = "Quartz Pillar Horizontal",
|
||||||
"quartz_pillar_side.png^[transformR90", "quartz_pillar_top.png", "quartz_pillar_top.png"},
|
tiles = {"quartz_pillar_side.png", "quartz_pillar_side.png", "quartz_pillar_side.png^[transformR90",
|
||||||
paramtype2 = "facedir",
|
"quartz_pillar_side.png^[transformR90", "quartz_pillar_top.png", "quartz_pillar_top.png"},
|
||||||
drop = 'quartz:pillar',
|
paramtype2 = "facedir",
|
||||||
groups = {cracky=3, oddly_breakable_by_hand=1},
|
drop = 'quartz:pillar',
|
||||||
sounds = default.node_sound_glass_defaults(),
|
groups = {cracky=3, oddly_breakable_by_hand=1, not_in_creative_inventory=1},
|
||||||
})
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
--Compatibility with stairsplus
|
--Compatibility with stairsplus
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
-- Set this to true to allow usage of the stairsplus mod in moreblocks
|
-- Set this to true to allow usage of the stairsplus mod in moreblocks
|
||||||
|
|
||||||
enable_stairsplus = false
|
enable_stairsplus = false
|
||||||
|
|
||||||
|
-- This enables the old horizontal pillar block(deprecated, be sure to convert them back to normal pillars)
|
||||||
|
|
||||||
|
enable_horizontal_pillar = true
|
||||||
|
Loading…
Reference in New Issue
Block a user