Keeping treasure tables at %100

2 posts / 0 new
Last post
Keeping treasure tables at %100
<table name="treasuretable"> <column name="id">522</column> <column name="strName">urban ruins camp type</column> <column name="aTreasures">overhaulMod:12.1x.16x1|12.1x0.16x1-1|12.2x0.06x1-1|12.5x0.26x1-1|12.7x0.36x1-1</column> <column name="bNested">0</column> <column name="bSuppress">0</column> <column name="bIdentify">0</column> </table>

originall the "aTreasures" looked like this


i don't know if what i'm about to ask doesn't exist, but...

can i figure out the propotion(or would it be could ratio?) of the original table and use that to add more items to the aTreasures without changing the proportion (or is it ratio...) so that mathmatically the common items still feel common and the rare items still feel rare without gimping them?

i'm guessing that i would figure out the ratio of the items and then find their proportion and use that to add more items and adjust the ratio until the proportions matched but i could just be talking stupid right now

OverHaul Mod
DevKit is an upgraded BBC mod.
Improve your mods.

I think what you're saying makes sense, if I'm reading it correctly :)

Basically, the "or" (| symbol) entries will need to total a 1.0 probability to work correctly. Anything over 1.0 gets ignored, and anything less than 1.0 won't give accurate results.

So if you had 5 entries like:


and you wanted to add one more, you'd need to adjust the original 5 to make room for your new percentage amount.


If there are many items, this is easiest if done via a spreadsheet. But often you can "carve out" enough percentages from the existing items if you're not too picky about exact proportions. E.g. take 1% from each of the existing ones.

Dan Fedor - Founder, Blue Bottle Games