You are viewing a potentially older version of this package.
View all versions.
Effect Preview
Hold an item to get a live preview on how it will change your status effects before even using it
| Date uploaded | 2 weeks ago |
| Version | 1.0.0 |
| Download link | OnlyCook-Effect_Preview-1.0.0.zip |
| Downloads | 3366 |
| Dependency string | OnlyCook-Effect_Preview-1.0.0 |
This mod requires the following mods to function
BepInEx-BepInExPack_PEAK
BepInEx pack for PEAK. Preconfigured and ready to use.
Preferred version: 5.4.2403README
Shows you exactly how much of each status effect will be added/removed before having to use the held item. All with clear indicators and purely through the game's own stamina bars which keeps the UI minimal.
Fully client-sided: only you need to install the mod and only you will see it's effects.
Features
- See status effect changes of the held item
- Hold an item at a lit campfire/stove and press
Cto see how it's stats would change when cooked - Tell when you'd fall unconscious or turn into a statue through item usage
- (Optional) Know when you'd waste an item's precious stats
- (Optional) See status effect counts/numbers
Feedback & bug reports
Found a bug or have a suggestion? Please fill out this form or send me an email at [email protected].
Configuration
Config file: BepInEx/config/OnlyCook.EffectPreview.cfg.
View config information
- General: master preview switch.
- Interactions: world-object previews (unlit campfires, ancient luggage), player-entity previews (Thorn/Arrow stuck on you, cannibalism), sticky Thorn/Arrow removal.
- Item Previews: weight preview, timed-usage preview (status effects fully/partially removed by item duration), jetpack fuel gauge preview, cooking preview toggle and its key (default
C). - Bar Display: waste indicator, removal blink, ghost/vanilla bar count numbers and their font scale.
CHANGELOG
1.1.0
- Added 2 new config settings:
Bar-Display/show-special-status-duration(on by default) which adds an animation to visualize the remaining duration of the Invincibility and Infinite Stamina status effects.Bar-Display/show-special-status-counts(off by default) shows labels of the stated duration in seconds above.
- Added new
Interactions/enable-item-pickup-previews(off by default) config setting to show the item's preview when aiming at an item in reach to pick up with empty hands. Thanks to JoeDummy001 for the suggestion! - Reworked bonus stamina and Petrify bar animation to be more in harmony and be slightly more relaxed.
- Fixed weight removal preview not showing for held Rescue Claw with only its last use remaining.
- Fixed weight removal preview always showing for some deployables (Scout Cannon, Scout Effigy, Checkpoint Flag, and Portable Stove) even if not able to be placed.
1.0.0
Full release.
- Added support for duration based items (Lantern, Remedy Fungus, etc.) to show an icon-only preview. If such an item is held, only the icon of the designated status effect that is able to be affected by the item will change. Thanks to VanilaBOI for the suggestion!
- Added a config option to disable the weight preview.
- Added a config option to toggle the jetpack gauge needle preview.
- Made vanilla bar count and jetpack preview options independent of the master preview setting. Thanks to SAvGEDA for pointing this out!
- Fixed Piton, Rope Spool, and Anti-Rope Spool not showing a weight preview when they're usable.
- Fixed bonus stamina showing slightly off preview counts in rare cases.
- Fixed many animations being driven by frame counts instead of delta time, resulting in slower animation speeds on lower fps.
- Fixed float accumulation error for the vanilla Petrify status effect.
- Fine tuned bonus stamina and Petrify animation speeds.
- Added co-op support: Ritual Dagger and cannibalism now show previews when possible to use/do.
- Fixed issue where spectating another player would cause the bonus stamina border to never grow/shrink.
- Added compatibility with FriendsInfo (or any of its forks; PeakStatsEx or PlayersInfo for example) so no conflicts between the mods occur.
- Organized config options by separating them into 4 separate config sections. This resets nearly all config settings to their default values so be aware of that.
- Fixed ghost status effect icons appearing too large on certain displays.
0.2.0
- Fixed snappy ghost bar removal issue that would cause all other bars to jitter slightly (now buttery smooth).
- The Thorns status effect is now properly supported by the preview logic (forgot about it).
- Fixed the dual-count stamina (N → M) label from abruptly appearing whilst animating the stamina bar. Also increased the stamina bar's minimum width before it can appear.
- Fixed Petrify label flickering while the preview was the only effect present in the bonus stamina bar.
- Fixed the infinite stamina label from flickering to show nonsensical values for a single frame. Also made the label switching anchoring mechanics more robust which should fix rarer but similar issues.
- Fixed the Scout's Initiative amulet from showing an incorrect petrify count in certain cases.
- Optimized certain code where I did some questionable things per frame (we don't talk about that though).
0.1.0
Initial release.
Known issues (expect more though):
When a ghost bar is removed others may jitter slightly.[fixed in 0.2.0]Certain co-op preview logic may produce incorrect results.[fixed in 1.0.0]