BD random fill elements are specified in a small array size of 4. in bdcff, these are represented for instance like that:
RandomFill=SPACE 60 BOULDER 50 DIAMOND 9
[BD1, Cave A]
in most cases, probabilities are specified from the biggest one to the lowest one. considering algorithm used in gdash, it should be always like that. however, there are some sets, where that isn't so:
RandomFill=DIRT 254 SPACE 64 BOULDER 64 DIAMOND 37
[BD3, Cave A]
in that case, SPACE will never appear, or:
RandomFill=DIRT 16 SPACE 32 BOULDER 32 SPACE 0
[BD3, Cave B]
in that case, SPACE will never appear, but also BOLUDER will always overwrite DIRT.
my questions concerning that would be:
- are these cases plainly bugs in the cave parameters?
- is it safe to assume the random elements need to be in a proper [descending] order probability-wise? [so always sort them, just in case]
cheers,
Sarr.
random fill elements
Moderator: Admin