Add a worlds_here.txt file in the worlds folder and update .gitignore (#12720)

This commit is contained in:
DS 2022-10-30 16:53:31 +01:00 committed by GitHub
parent 077627181e
commit fcd670e6f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

8
.gitignore vendored

@ -47,11 +47,9 @@ build/.cmake/
/screenshots /screenshots
/sounds /sounds
/mods/* /mods/*
!/mods/minetest/ !/mods/mods_here.txt
/mods/minetest/* /worlds/*
!/mods/minetest/mods_here.txt !/worlds/worlds_here.txt
/worlds
/world/
/clientmods/* /clientmods/*
!/clientmods/preview/ !/clientmods/preview/
/client/mod_storage/ /client/mod_storage/

4
worlds/worlds_here.txt Normal file

@ -0,0 +1,4 @@
World directories are placed into this location. Each world should contain at least following files:
* map_meta.txt
* world.mt