forked from minetest-mods/nether
39d655b4c8
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.
32 lines
389 B
Lua
32 lines
389 B
Lua
unused_args = false
|
|
allow_defined_top = true
|
|
|
|
globals = {
|
|
"nether"
|
|
}
|
|
|
|
read_globals = {
|
|
"core",
|
|
"default",
|
|
"DIR_DELIM",
|
|
"dump",
|
|
"dungeon_loot",
|
|
"intllib",
|
|
"ItemStack",
|
|
"loot",
|
|
"doc",
|
|
"math.hypot",
|
|
"mesecon",
|
|
"minetest",
|
|
"nodeupdate",
|
|
"PcgRandom",
|
|
"PseudoRandom",
|
|
"stairs",
|
|
"stairsplus",
|
|
table = { fields = { "copy", "getn" } },
|
|
"vector",
|
|
"VoxelArea",
|
|
"VoxelManip",
|
|
}
|
|
|