This is a compatibility update for the original Tree Shaker mod...it doesn't do anything that the original mod didn't already do. Perhaps I'll add more features in the future, once I've learned a bit more about modding and coding. Special thanks to TyoAtrosa for writing this great mod, and for huancz for updating it.
EDIT: I fixed the version number in the manifest.json file. SMAPI should stop reminding you to update.
Thank you, thank you, thank you! This mod has been a mainstay for years, so it really sucked when it broke. The only thing I could think of that would make the original mod better is if it could also collect coconuts from palm trees on modded maps if that's possible.
Again, thank you so much for putting in the effort to update this mod! :)
Thank you for updating this! I used to have a personal version of this (I didn't have the energy to recompile it after the update. c# hates me). For Coconut and Mahogany it should just be adding: case 6: Item c = chest.addItem(new SObject(88, 1)); if (c == null) { added = true; } break; case 8: Item n = chest.addItem(new SObject(292, 1)); if (n == null) { added = true; } break;
The item IDs are the same, but the code itself is different in the v1.6 update. I'm struggling to get this to compile right now, because (1) I'm using an online compiler, and (2) I have no idea what I'm even doing.
I'll keep tinkering, maybe reach out to the greater modding community for help. Stay tuned!
16 comments
EDIT: I fixed the version number in the manifest.json file. SMAPI should stop reminding you to update.
I'd love to add mahogany seeds, mushroom seeds, and moss. If anyone knows how to do this, please let me know!
如果有任何翻译错误,我深表歉意。
Again, thank you so much for putting in the effort to update this mod! :)
Collect Coconutsand Golden CoconutsCoconuts don't spawn on the farm.For Coconut and Mahogany it should just be adding:
case 6:
Item c = chest.addItem(new SObject(88, 1));
if (c == null)
{
added = true;
}
break;
case 8:
Item n = chest.addItem(new SObject(292, 1));
if (n == null)
{
added = true;
}
break;
At least that's what used to work for me.
I'll keep tinkering, maybe reach out to the greater modding community for help. Stay tuned!