Change default to streets.only_basic_stairsplus = true

fork-master
Thomas--S 2017-12-15 20:36:35 +01:00
parent 44c2e2cf8a
commit 8ce6da5c07
3 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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
streets.only_basic_stairsplus = true
if minetest.settings:get_bool("streets.only_basic_stairsplus") == false then
streets.only_basic_stairsplus = false
end

View File

@ -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