Mods / Customizable Rift Ward
Author: Ascyst
Side: Both
Created: Nov 14th 2023 at 9:04 AM
Last modified: Nov 14th 2023 at 9:06 AM
Downloads: 242
Follow Unfollow 3
Latest file for v1.18.15:
CustomizableRiftWard.zip
1-click install
This mod was created just to see if I could.
Allows you to configure Rift Ward effective range, as well as the success chance for blocking rifts (by default, range is 30 units and there is a 95% chance to block.).
Config isn't live, requires a restart between changes.
You can find the config under: %AppData%\VintagestoryData\ModConfig\CustomizableRiftWard.json
riftBlockChance: requires value between 0 and 1 (e.g, 0.95 is the default 95% block chance)
maxRange: theoretically unlimited I guess? must be a whole number between 1 and 340 decillion, i think that's the float max.
I've got shakey experience with coding and this was an almost fully blind attempt to create something without tutorials. I was unable to properly test this to verify if the radius/success chance is actually increased, but the code works, doesn't throw harmony errors, and the ward still works ingame so I'm assuming it must work.
If you have any issues with this mod, please comment and I will look into it.
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v0.0.1 | 242 | Nov 14th 2023 at 9:06 AM | Show | CustomizableRiftWard.zip | Install now |
This looks neat, during creation did you notice any way to affect the duration value?
Float does in fact have a value for INFINITY though i'm not sure it would work in this case as it's Not a Number.