Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The way it works in general is it makes a new roll per each entry in LootConfigs. So two items with 10% chance of dropping have to both individually make a successfull roll in order to drop.
There is also a GuaranteeOne property which makes it so if every item failed a roll it goes through the item list and makes every item take a roll again until at least one successfull roll.
<LootConfigs>
<li>
<LootThingDef>Silver</LootThingDef>
<LootChance>0.1</LootChance>
<LootAmountMin>400</LootAmountMin>
<LootAmountMax>650</LootAmountMax>
</li>
<li>
<LootThingDef>Gold</LootThingDef>
<LootChance>0.1</LootChance>
<LootAmountMin>40</LootAmountMin>
<LootAmountMax>65</LootAmountMax>
</li>