1
0
peilaus alkaen https://gitlab.com/gaelysam/mapgen_rivers.git synced 2025-11-10 04:35:29 +01:00

Generate data in river_data instead of data

This commit is contained in:
Gael-de-Sailly
2020-11-14 19:12:12 +01:00
vanhempi 9594a79f8b
commit 803114aaab
3 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa

2
.gitignore vendored
Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

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