Add Help-modpack support

https://forum.minetest.net/viewtopic.php?t=15912
Don't place Book of Portals in dungeon chests if its contents can be written in the help modpack Encyclopedia instead, and don't add Book of Portals to dungeon chests if Nether portals are the only type of portal - A Nether mod doesn't need a Book of Portals if it's only being used to provide a Nether portal.
This commit is contained in:
Treer
2020-02-02 15:49:13 +11:00
committed by SmallJoker
parent 36d1f6f573
commit 39d655b4c8
5 changed files with 105 additions and 39 deletions

View File

@ -6,7 +6,7 @@ nether_fasttravel_factor (Nether fast-travel factor) int 8
# The likelyhood of finding a Book containing all the portal plans in a dungeon chest.
# Set to 0 to disable, or 10 to have it extremely common.
#
# (This value is automatically halved when the Nether portal is the only type of portal, since few players will need instruction)
# (This value will be treated as 0 when the Nether portal is the only type of portal available, or when the help modpack is installed)
nether_portalBook_loot_weighting (Likelyhood of finding Book of Portals in dungeon chests) int 9
# Turn off to disable the Nether and Nether portal