Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.
For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms:
Discord,
Twitter/X,
Facebook.
Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!
I try to add Euro notes as loot to the zombies (In this case from Trader Plus Mod). This workes but there is a problem with the amount of notes that get added to the loot of the zombies. Sometimes it spawns 100 to 400 notes instat of 1 to 15 like i set in the quantmin (0.2% ~ 1 note) and quantmax (3% ~ 15 notes). Did someone already done this and can help me out to get this working? :)
In example the 20 Euro note:
Types.xml:
<type name="TraderPlus_Money_Euro20">
<nominal>0</nominal>
<lifetime>10800</lifetime>
<restock>1800</restock>
<min>1</min>
<quantmin>0.2</quantmin>
<quantmax>3.0</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="tools"/>
<usage name="Military"/>
</type>
cfgrandompresets.xml:
<cargo chance="0.30" name="MoneyLow_Custom">
<item name="TraderPlus_Money_Euro20" chance="0.20" />
</cargo>
cfgspawnabletypes.xml:
<type name="ZmbF_PoliceWomanNormal">
<cargo preset="toolsPolice" />
<cargo preset="toolsPolice" />
<cargo preset="ammoPolice" />
<cargo preset="MoneyLow_Custom" />
</type>