Browse Source

add worldgen limit 4080 to go with browser limitations regarding chunkymap

master
poikilos 8 years ago
committed by Jacob Gustafson
parent
commit
0621feded1
  1. 2
      etc/change_world_name_manually_first/game-install-ENLIVEN

2
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 fi
cp "$USR_SHARE_MINETEST/games/minetest_game/minetest.conf" "$WRITEABLE_MINETEST_CONF" cp "$USR_SHARE_MINETEST/games/minetest_game/minetest.conf" "$WRITEABLE_MINETEST_CONF"
touch "$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_radius = 7" >> "$WRITEABLE_MINETEST_CONF"
echo "protector_pvp = true" >> "$WRITEABLE_MINETEST_CONF" echo "protector_pvp = true" >> "$WRITEABLE_MINETEST_CONF"
echo "protector_pvp_spawn = 10" >> "$WRITEABLE_MINETEST_CONF" echo "protector_pvp_spawn = 10" >> "$WRITEABLE_MINETEST_CONF"

Loading…
Cancel
Save