It's been awhile.
but I'm back and I'm ready to start working on my own addon for CoC. Most important thing for me right now is weapon randomization and setting up faction weapons before I start on the economy and balancing. so I have a few questions about the current state of CoC.
1. NPCs do not have infinite ammo correct?
2. NPCs will loot weapons and sell them to traders?
Assuming Npcs no longer have infinite ammo I'm not sure the best way of making randomization. I would like to just #include "gameplay/file" with a list of weapons and corresponding probabilities. but then I'm not sure they will have ammo for these guns unless their is some way to link the ammo spawn to the gun. such as making specific "gameplay/file" for each ammo type and then giving corresponding weapons and probabilities for each of those.
ammo_5.56x45_ap = 1, prob=0.2 \n
wpn_g36 = 1, prob=0.08 \n
wpn_lr300 = 1, prob=0.2 \n
wpn_l85 = 1, prob=0.3 \n
wpn_fn2000 = 1, prob=0.005 \n
but honestly that is not enough randomization for me.
Upon installing AO3 for CoC I noticed that in death_generic and death_items_by_communities probabilities for ammo is not even given. This confuses me because the ammo dropped from NPCs is more varied than what is shown in the Character_desc_ files. Is there another file I am overlooking?
I want to make sure I can accomplish what I want before I start writing up hundreds of weapon lists and probabilities.