Hello everyone, I'm currently working on a mod that enables a player to loot zombies. To add for immersion, I added the ability to define loot by a specific zombie such as a nurse, cop, soldier, utlility worker, etc...
Now I have the following loot group:
<lootgroup name="ZEDRegularPackContainer" count="1,6">
<item name="oldCash" count="1,10" prob="1"/>
<item name="casinoCoin" count="1,10" prob="0.85"/>
<item name="resourceLockPick" count="1,3" prob="0.63"/>
</lootgroup>
Basically, a few items a zombie can drop with a specified probability.
<lootgroup name="ZEDNursePackContainer" count="1,3">
<item name="drugAntibiotics" count="1" prob="0.50"/>
<item name="drugPainkillers" count="1" prob="0.40"/>
<item name="drugRockBusters" count="1" prob="0.40"/>
<item name="drugSteroids" count="1" prob="0.45"/>
<item name="drugVitamins" count="1" prob="0.55"/>
<item name="medicalBandage" count="1" prob="0.85"/>
<item name="medicalBloodBag" count="1" prob="0.45"/>
<item name="medicalFirstAidBandage" count="1" prob="0.65"/>
<item name="medicalFirstAidKit" count="1" prob="0.45"/>
<item name="medicalPlasterCast" count="1" prob="0.50"/>
<item name="medicalSplint" count="1" prob="0.35"/>
</lootgroup>
Here is a loot group specifically for nurse zombies. I have added both containers into one also with a specified probability. To explain, regular zombies should have a very minimal chance to also drop medical supplies but it's a small percentage.
For some reason, that's ignored entirely since I tested killing a nurse and it didn't drop medical supplies even though the probability was set to "1".
<lootgroup name="ZEDRegularPackUtility">
<item group="ZEDRegularPackContainer" count="1" prob="1"/>
<item group="ZEDNursePackContainer" count="1" prob="0.15"/>
</lootgroup>
Any help would be appreciated!