As of the last update (devblog 110)
The original auto-placed hemp plants remain the same except they have hemp seeds now
The plant you get after planting and growing the hemp seed looks the same as the auto-placed object but instead it shows "#harvesthemp" instead of "Hemp Fibers" when you mouse over it
And when gathered it doesn't call OnItemPickup / OnCollectiblePickup (the Oxide API docs call it both/either??)
Does Oxide need an update, or is there another event handler for those types of plants...
(I already tried "OnPlantGather" but that didn't call either)
Solved New plantable Hemp plants don't call OnItemPickup / OnCollectiblePickup
Discussion in 'Rust Development' started by Doctor Krieger, May 15, 2016.
-
Wulf Community Admin
Did you try OnCropGather(PlantEntity entity, Item item, BasePlayer player)? I don't think I've added it to the docs yet.
-
[DOUBLEPOST=1463274032][/DOUBLEPOST]works well!