Jump to content

Coca Leaves & Savila Hemp

Closed 1.4.5

Use https://umod.org/plugins/extra-gather-bonuses
Add them to drop from whatever you want and make sure the skins match the Recipes and Custom_Names(ingredients)

Also, while I'm here @David
Would you be willing to pick up and maintain this plugin or create something similar to it?
It's currently abandoned.
We have to edit the plugin ourselves in order for items to drop from planter boxes and it throws constant errors in console.

  • Like 2

Share this comment


Link to comment

While the plugin you need to use is buggy, it does work.
It's just going to occasionally spam your console with errors.
Depending on your setup you can mute the errors through the RCON app.
There's also a umod plugin that lets you mute console messages but I can't remember the name right now.
I'll post here again if I can find it.

As far as fixing it to work with planted crops

 

On line 37 of the ExtraGatherBonuses.cs file (not the config file, the plugin file) Change this line:
 

private void OnCropGather(GrowableEntity plant, Item item, BasePlayer player)



To This:
 

private void OnGrowableGathered(GrowableEntity plant, Item item, BasePlayer player)


I don't know if that's the most efficient code. But it works. Someone in the help section posted this.
https://umod.org/community/extra-gather-bonuses/41551-to-work-with-planted-crops

Edited by thepiercedweirdo

Share this comment


Link to comment

Yes, I understand I will add these items with the extra gather plugin, however, I'm talking about the actual item. Coca Leaves, Svaila Hemp. 

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.6k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.