Notes |
(0021504)
mumra (developer)
2013-03-15 02:45
|
This seems relatively serious, a quick test in wizmode with this vault and prince ribbit failed to appear two tries out of three.
Running two passes is definitely extremely difficult, the point at which we even know whether we're placing a band is nested so deep within the monster spec functions.
A cheap alternative is to apply no_rotate and no_hmirror to the prince ribbit vault, this would ensure he always got placed first because his grid would come first. I can see this error cropping up again though.
A better option might be either allow band monsters to be overwritten by subsequent monsters placed, or have band monsters be pushed to the nearest empty space if a normal monster tries to place over it. If someone is cramming bands in a small space with other monsters, they're probably not too worried about extremely specific placement? |
|
(0021507)
KiloByte (manager)
2013-03-15 03:55
|
What's the point of using the keyword "band" here? We can place the frogs explicitely just as well. |
|
(0021508)
mumra (developer)
2013-03-15 04:01
|
Does "band" not affect their behaviour to stay more as a pack? (Or doesn't that matter here?) |
|
(0021512)
KiloByte (manager)
2013-03-15 04:24
|
Ah right, good point. I'm not sure if this matters for frogs, though -- and they won't be attached to comrade Ribbit, in any case. |
|
(0021515)
mumra (developer)
2013-03-15 04:39
|
One other consequence - the map is only 1x4 but band placement spreads the blink frogs out a lot further than that. I was wrong about how commonly this issue happens, but it's more likely if the vault places in a cramped space.
I don't want to make the vault really large (there are no other large unique placements, well apart from more elaborate vaults elsewhere) but it would look strange if he's bunched up in say a 3x3 space with some frogs. Might it be better to properly implement a "prince ribbit band"? |
|
(0022059)
mumra (developer)
2013-04-01 01:52
|
I pushed a fix for this in trunk - Prince Ribbit now has a proper band so the Lair vault is implemented like other band vaults, and since he's the leader he'll always place. He still spawns solo outside of Lair though.
I'm going to close this issue because it's usually not such a problem, uniques place after everything else so they won't get overwritten by normal band generation, and vault designers will just need to be careful if they have specific monsters they don't want overwritten.
If this does come up again perhaps we could implement a flag to prevent band monsters generating in particular squares (perhaps no_monster_gen already achieves this?) |
|