mirror of
https://github.com/minetest-mods/quartz.git
synced 2024-11-17 07:50:19 +01:00
Use all caps in option names
This commit is contained in:
parent
198d6e53c3
commit
193b5dcd5b
4
init.lua
4
init.lua
@ -153,7 +153,7 @@ minetest.register_abm({
|
|||||||
-- Compatibility with stairsplus
|
-- Compatibility with stairsplus
|
||||||
--
|
--
|
||||||
|
|
||||||
if minetest.get_modpath("moreblocks") and enable_stairsplus then
|
if minetest.get_modpath("moreblocks") and ENABLE_STAIRSPLUS then
|
||||||
register_stair_slab_panel_micro("quartz", "block", "quartz:block",
|
register_stair_slab_panel_micro("quartz", "block", "quartz:block",
|
||||||
{cracky=3},
|
{cracky=3},
|
||||||
{"quartz_block.png"},
|
{"quartz_block.png"},
|
||||||
@ -187,7 +187,7 @@ end
|
|||||||
-- Deprecated
|
-- Deprecated
|
||||||
--
|
--
|
||||||
|
|
||||||
if enable_horizontal_pillar then
|
if ENABLE_HORIZONTAL_PILLAR then
|
||||||
-- Quartz Pillar (horizontal)
|
-- Quartz Pillar (horizontal)
|
||||||
minetest.register_node("quartz:pillar_horizontal", {
|
minetest.register_node("quartz:pillar_horizontal", {
|
||||||
description = "Quartz Pillar Horizontal",
|
description = "Quartz Pillar Horizontal",
|
||||||
|
@ -1,7 +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)
|
-- This enables the old horizontal pillar block(deprecated, be sure to convert them back to normal pillars)
|
||||||
|
|
||||||
enable_horizontal_pillar = true
|
ENABLE_HORIZONTAL_PILLAR = true
|
||||||
|
Loading…
Reference in New Issue
Block a user