From 8ce6da5c07a5607bd484822239646446566dee7b Mon Sep 17 00:00:00 2001 From: Thomas--S Date: Fri, 15 Dec 2017 20:36:35 +0100 Subject: [PATCH] Change default to streets.only_basic_stairsplus = true --- README.md | 7 ++++--- global.lua | 5 ++++- settingtypes.txt | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 95243d3..f47e059 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,10 @@ _Streets 2.0 is **not** fully backwards-compatible to streets 1.x!_ **NOTE:** This mod depends on the [ts_workshop](https://github.com/minetest-mods/ts_workshop) mod. -If you want to improve loading time and reduce the number of registered nodes, -you can set the setting `streets.only_basic_stairsplus` to true in `minetest.conf`. -When this is enabled, stairsplus nodes will only be registered for very basic roadmarkings. +To improve loading time and reduce the number of registered nodes, +this mod only registers stairsplus nodes for very basic roadmarkings. +If you want to have all possible nodes registered, you can set +the setting `streets.only_basic_stairsplus` to false in `minetest.conf`. Forum topic: https://forum.minetest.net/viewtopic.php?t=2984 diff --git a/global.lua b/global.lua index b7b0e20..86c56da 100644 --- a/global.lua +++ b/global.lua @@ -21,4 +21,7 @@ else streets.concrete_texture = "streets_concrete.png" end -streets.only_basic_stairsplus = minetest.settings:get_bool("streets.only_basic_stairsplus") or false \ No newline at end of file +streets.only_basic_stairsplus = true +if minetest.settings:get_bool("streets.only_basic_stairsplus") == false then + streets.only_basic_stairsplus = false +end \ No newline at end of file diff --git a/settingtypes.txt b/settingtypes.txt index 8699207..1bbd0b2 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -3,4 +3,4 @@ # When enabled, stairsplus nodes will only be registered for very basic roadmarkings. # This will improve loading time. -streets.only_basic_stairsplus (Only basic stairplus support for faster loading) bool false +streets.only_basic_stairsplus (Only basic stairplus support for faster loading) bool true