Trying to remove Worms and Grubs from the ground pickups. After I added these lines to the config I still get worms and grubs. Thoughts?
"PickupResourceModifiers": {
"*": 2.0,
"Grub": 0.0,
"Worm": 0.0,
"Hemp Seed": 0.0
Removing Worms and Grubs
So for anyone interested I have found the solution. Not my work but the work of (Farkas js>py) & (theunknown.) on the Rust Admin Communtiy Discord.
Here's how to remove grubs and worms completly from the drops:
On line 81 paste;
private const string GrubShortname = "grub";
private const string WormShortname = "worm";
On line 595 paste;
private object OnRandomItemAward(RandomItemDispenser dispenser, RandomItemDispenser.RandomItemChance chance, BasePlayer player, Vector3 distributorPosition)
{
if (chance.Item.shortname == GrubShortname || chance.Item.shortname == WormShortname)
{
return false;
}
return null;
}