mirror of
https://gitlab.com/gaelysam/mapgen_rivers.git
synced 2024-12-28 03:40:39 +01:00
Generate data in river_data
instead of data
This commit is contained in:
parent
9594a79f8b
commit
803114aaab
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,4 +9,4 @@ bounds_y
|
||||
dirs
|
||||
rivers
|
||||
unused/
|
||||
data/
|
||||
river_data/
|
||||
|
@ -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')
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user