Page 1 of 1

[1.6.3]Only 32-chambers vault will spawn as greater vault

Posted: Tue Nov 26, 2019 1:41 pm
by starsapphire
in data/rooms/greater_vault.lua

Code: Select all

--- 25,37 ----
  local list = {}
  for _, f in ipairs(fs.list("/data/maps/vaults/auto/greater/")) do
  	if f:suffix(".lua") or f:suffix(".tmx") then
  		list[#list+1] = f:sub(1, #f - 4)
  	end
  end
+ list={"32-chambers"}
  print("[greater_vault] initializing auto list:")
  table.print(list, "---")
  
  local function vault_exists(f)
  	if fs.exists("/data/maps/"..f..".lua") or fs.exists("/data/maps/"..f..".tmx") then return f end
  	return false

Re: [1.6.3]Only 32-chambers vault will spawn as greater vaul

Posted: Tue Nov 26, 2019 2:22 pm
by Jurriaan
I have a very strong feeling this is connected:

http://forums.te4.org/viewtopic.php?f=42&t=50318

Re: [1.6.3]Only 32-chambers vault will spawn as greater vaul

Posted: Tue Nov 26, 2019 2:29 pm
by darkgod
I hate my life

Re: [1.6.3]Only 32-chambers vault will spawn as greater vaul

Posted: Tue Nov 26, 2019 3:11 pm
by Jurriaan
But we looooove you :D

Re: [1.6.3]Only 32-chambers vault will spawn as greater vaul

Posted: Tue Nov 26, 2019 3:38 pm
by Dervic
That should explain this bug too. Stuck generating hidden vault:

Code: Select all

[STATIC MAP] size	25	13	rotate:	180
[RoomsLoader:roomCheck] 	32-chambers	 rejected by roomcheck function:	too high level
greater_vault could not generate a vault
[VaultLevel] has no vault
[Zone:newLevel] map generator mod.class.generator.map.VaultLevel forced recreation: 	no vault
[Zone:newLevel]	sub-vault639539-3442	beginning level generation, count:	25

Re: [1.6.3]Only 32-chambers vault will spawn as greater vaul

Posted: Wed Nov 27, 2019 8:48 am
by darkgod
FRELL. Now I hate my lfie even more. Ok I suppose 1.6.4 is in order then :/

Thanks for the notice! :)