Mods / OneStick - TreeFellingFix
Author: Eforen
Side: Both
Created: Aug 18th 2022 at 3:50 AM
Last modified: Aug 20th 2022 at 7:01 AM
Downloads: 13630
Follow Unfollow 219
Latest release (for Vintage Story 1.16.0-rc.6 - 1.16.5, outdated):
onestick-v1.0.0-g1.16.5.zip
1-click install
For testers (for Vintage Story 1.17.0-rc.1 - 1.17.0-rc.5, outdated):
OneStick_v1.0.1g1.17.0-rc.1.Release.zip
1-click install
One Stick Mod to rule them all...
And in darkness bind them!!!
Wait a second sorry thats umm something else... don't mind that... anyhow... where was I? oh yeah I fixed a thing...
Currently just fixes what appears to be a bug in the vanilla axe code.
When felling a tree the branchy leaves rarely ever drop sticks.
The game code seems to indicate that they should drop sticks around 80% of the time when felling the tree.
I started with this number as a static number but that did not feel right too many sticks and no ramp when using better axes.
So now it's default config is to ramp from 10% at a teir 0 axe (if they exist) to 80% with a teir 5 axe. This cap at 80% means that its still more efficent to manually harvest the branches before you chop down the tree but still effective.
I am about to launch the Mod on the ModDB and will update below when I have a build there.
Plans:
I plan to make several other probably optional additions to this like sane craftable stick options for more advanced gameplay. See the Github for details, and please feel free to suggest more stick related goodness.
Links:
Version Compatability
Tested in 1.19.8 seems to work fine and I have not gotten any Issue Reports
Config Options:
BranchDropRateStoneAxe
Default: 0.8
The chance (0-1) that a tree will drop a branch when felled by a stone axe.
BranchDropRateAxeMetal
Default: 0.8
The chance (0-1) that a tree will drop a branch when felled by a metal axe.
UseTierMode
Default: true
If true the mod will use the following two options to calculate the chance a tree will drop a branch. If false it will use the above two options.
ToolTierZeroFellingBranchDropRate
Default: 0.1
The chance (0-1) that a tree will drop a branch when felled by a tool with a harvest level of 0.
ToolTierFiveFellingBranchDropRate
Default: 0.8
The chance (0-1) that a tree will drop a branch when felled by a tool with a harvest level of 5. This is the maximum harvest level.
DebugMode
Default: false
If true the mod will log extra information to the console.
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.0.1 | onestick | 12585 | Aug 20th 2022 at 7:01 AM | OneStick_v1.0.1g1.17.0-rc.1.Release.zip | 1-click install | ||
Changelogv1.0.0g1.17.0rc5
Known Bugs
| |||||||
| 1.0.0 | onestick | 1045 | Aug 18th 2022 at 4:21 AM | onestick-v1.0.0-g1.16.5.zip | 1-click install | ||
|
Simple Tree Felling Fix with configureable options and sane default. Built for v1.16.5 | |||||||
when do u update this mode, he can be really usfull for my world. thx
yup my bad just had to change the config file to suit my needs
Sonito I just downloaded the latest release version and it seems to be working fine.
Hi , where can i find the tester build please ? :'( @Vintage_Wine
Vintage_Wine That worked for me!
Kryll Try using the tester build.
I was getting a crash every time I broke a tree on the 'latest release' version but it's fixed with the tester build.
Getting crashes on 1.21
atualiza para versao 1.20.11 pfv
Combat Overhaul Compatibility Fix
Edit the DLL, onestick.src//OneStickSystem line 36, IL edit the string to "CombatOverhaul:Axe"
Edit the patch, remove the metal axe part and change stone axe value to "CombatOverhaul:Axe"
Now, just increase the config to like 0.8 to make up for the fact that metal tools wont work.
Works for stone tools, with better swing animation.
Only works with stone tools, but better than nothing.
More could be done to better fix this mod, but this works for our server's needs.
As a heads up: there's an incompatibility with Combat Overhaul.
When CO is installed, OneStick cannot patch metal axes (and will throw a log message about it). It will still successfully patch stone axes, and those will trigger the extra stick drops, but metal axes will not. In return, the stone axes do not get patched by CO to use the better swinging animation,
Does this affect only vanilla trees - or all trees including modded ones?
Just to let eveyone know this is working in 1.20.4.
Still works in 1.20.1! o7 the mod tab says it might cause issues but its completely fine for me!
1.20.1 is out. Can anyone confirm whether this still works or not?
I am pleased that this still seems to work fine. (1.19.8) I will likely rebuild it sometime soon for the metadata.
Also Gizmagus I will look into resin I have some fun ideas around this
functioning just fine with NET7 1.18.10
i am using it in Net7 1.18.6 and works just fine.
Will this mod work as-is in 1.18?
Gizmagus I just made such mod. LINK
Can you add the fuction to drop RESIN when a tree is felled. Currently resin does NOT DROP. BTW Thank You for this mod! :).
Is this working for 1.17.9?
if not, can you update this mod?
It's not a bug, it's a mechanic that makes you craft and use sheers later when you need more sticks. This saves some time though
P.S. Do not try to cut down one of those big oak, kapok or redwood trees!
@VintageDerek yes it does indeed increase the drop rate of seeds because it is registering the break of the leaf blocks as if directly harvested. This is scaled based on tool rank but with default settings it will never be better then if each was directly harvested. How ever if you desire it to be higher there is nothing stoping you from configuring it higher then 1 (100%).
Does it also increase drop rate of seeds?