Generate data in `river_data` instead of `data`

This commit is contained in:
Gael-de-Sailly 2020-11-14 19:12:12 +01:00
parent 9594a79f8b
commit 803114aaab
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -9,4 +9,4 @@ bounds_y
dirs
rivers
unused/
data/
river_data/

View File

@ -11,7 +11,7 @@ import terrainlib
argc = len(sys.argv)
config_file = 'terrain.conf'
output_dir = 'data'
output_dir = 'river_data'
params_from_args = {}
i = 1 # Index of arguments
j = 1 # Number of 'orphan' arguments (the ones that are not preceded by '--something')

View File

@ -1,5 +1,5 @@
local modpath = minetest.get_modpath(minetest.get_current_modname()) .. '/'
local mod_data_path = modpath .. 'data/'
local mod_data_path = modpath .. 'river_data/'
if not io.open(mod_data_path .. 'size', 'r') then
mod_data_path = modpath .. 'demo_data/'
end