From 1645259255523636ca55ce4f3862d97d55debc30 Mon Sep 17 00:00:00 2001 From: David G Date: Thu, 14 Mar 2019 10:04:05 -0700 Subject: [PATCH] Remove all references to morebl*ks mod. --- README.md | 2 +- init.lua | 7 ++++--- settingtypes.txt | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cc914b1..99ae325 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ minetest.conf options --------------------- - Several options to change defaults for the User Options menu. See settingtypes.txt for details. - **add_desert_material** (default = false): When enabled, this mod will use desert materials when digging in desert biomes. This will also add an additional entry to the User Options menu. -- **tunnel_lights** (default = desert:torch): Use this to change type of light placed in tunnels. Some examples are: default:mese_post_light; morelights_vintage:lantern_c; ilights:light; and moreblocks:slab_meselamp_1,20. This last one requires the ",20" on the end, which defines the param2 rotation needed to put the lamp on the ceiling. +- **tunnel_lights** (default = desert:torch): Use this to change type of light placed in tunnels. Some examples are: default:mese_post_light; morelights_vintage:lantern_c; ilights:light; and mydefaultlights:ceiling_light_white,20. This last one requires the ",20" on the end, which defines the param2 rotation needed to put the lamp on the ceiling. - **train_tunnel_height** (default = 5): Can increase train tunnels up to a height of 8. - **train_tunnel_arches** (default = true): Disable to get rid of arches to give more modern rectangular tunnels. diff --git a/init.lua b/init.lua index e71a8ac..5b2047d 100644 --- a/init.lua +++ b/init.lua @@ -6,8 +6,9 @@ -- by David G (kestral246@gmail.com) -- and by Mikola --- Version 2.0.3 - 2019-03-12 --- Allow digging unknown nodes. +-- Version 2.0.4 - 2019-03-14 +-- Remove all references to morebl*ks mod. +-- This mod will rename all default stairs nodes, so don't use it if you care about stairs. -- Controls for operation ------------------------- @@ -45,7 +46,7 @@ local add_desert_material = minetest.settings:get_bool("add_desert_material", fa -- Can use other lights in tunnels instead of torches. local lighting_raw = minetest.settings:get("tunnel_lights") or "default:torch" --- Determine is light specifies param2. This allows lights such as moreblocks:slab_meselamp_1,20 where ,20 specifies ceiling orientation in param2 +-- Determine is light specifies param2. This allows lights such as mydefaultlights:ceiling_light_white,20 where ,20 specifies ceiling orientation in param2 local lighting = lighting_raw local lighting_p2 = 0 local p2 = string.find(lighting_raw, ',') diff --git a/settingtypes.txt b/settingtypes.txt index 13bc802..c35fcd3 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -21,7 +21,7 @@ add_desert_material (Add desert material) bool false # Type of light to use in tunnels. # (default = default:torch) # This can optionally include ",int" at end to specify param2 value to use if lamp needs to be rotated to work on ceiling. -# Example is moreblocks:slab_meselamp_1,20 to give a nice modern looking lamp. +# Example is mydefaultlights:ceiling_light_white,20 to give a flat modern looking lamp. tunnel_lights (Tunnel lights) string default:torch # Set height for train tunnels.