From 0621feded177a00b378a3ed82edc3d8e28c2fdec Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Thu, 16 Feb 2017 11:05:37 -0500 Subject: [PATCH] add worldgen limit 4080 to go with browser limitations regarding chunkymap --- etc/change_world_name_manually_first/game-install-ENLIVEN | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/change_world_name_manually_first/game-install-ENLIVEN b/etc/change_world_name_manually_first/game-install-ENLIVEN index ee59ddb..d713fef 100644 --- a/etc/change_world_name_manually_first/game-install-ENLIVEN +++ b/etc/change_world_name_manually_first/game-install-ENLIVEN @@ -210,6 +210,8 @@ if [ ! -f "$USR_SHARE_MINETEST/games/$MT_MYGAME_NAME/minetest.conf" ]; then fi cp "$USR_SHARE_MINETEST/games/minetest_game/minetest.conf" "$WRITEABLE_MINETEST_CONF" touch "$WRITEABLE_MINETEST_CONF" +#4080 since boundaries in chunkymap/singleimage.py (to be compatible with approximate browser max image size) are -4096 to 4096 +echo "map_generation_limit = 4080" >> "$WRITEABLE_MINETEST_CONF" echo "protector_radius = 7" >> "$WRITEABLE_MINETEST_CONF" echo "protector_pvp = true" >> "$WRITEABLE_MINETEST_CONF" echo "protector_pvp_spawn = 10" >> "$WRITEABLE_MINETEST_CONF"