Silent Eating and Drinking for Misophonia
Author:
Downloads: 341
File Size: 112.2 KB
Created:
Updated:
Mod ID: 1138896
Categories:

Silent Eating and Drinking for Misophonia

Silence player eating and drinking sounds especially for misophonia

Silences player eating and drinking sounds and visual animations, especially for players with misophonia and similar sound sensitivities. Also changes drowning-suffocation sound and silences pooping and yawning during bed travel, and eliminates the coughing sound from swamp fever (but not the animation).

All players on the server are silenced. All consumables should be silenced (berries, meat, mushrooms, drinks, stews, mindwipes, iced canteens - everything that's edible). The buff is added at player spawn and should remain permanently unless the mod is uninstalled. You may still hear water containers being refilled if you use them within an irrigated area or lake, but the player drink sound is still silenced. This mod might result in changes to sounds that persist after the mod is uninstalled, since it modifies the sounds on the individual food items. Freshly generated food items should get their sounds back.

Bug reports welcome.

Stability: I think this is ready for use, but there may be further releases as I try to get other features working and need to test them in my own multiplayer server.

Mod Compatibility: Should silence food from other mods if that mod used the "Primal Item Consumable Eatable" as the base.

Technical Details: Applies a buff to player the moment they spawn in, as well as scans for players at startup in case the spawn event dispatcher got missed due to timing. Once the buff is applied, the buff scans the player's inventory for PrimalItemConsumableEatable and nulls out its "On Use Sound" file and "Play Animation on Use" animation. When an item is added to the player inventory, the buff checks that item to see if it's eatable, and if so nulls out its sounds as well (but never restores the sounds later, since it's assumed players leave it enabled anyway). The drinking animation on the player is also nulled out, so that drinking from open rivers/lakes is silent, and pooping is silenced as well. Additionally, it hooks the "Item Used" event and nulls out the sounds again there just before the player consumes the item. In combination, this should provide pretty reliable silencing. As for player status suffocation/drowning, it hooks the "Enter Character Status State" "Exit Character Status State" and "Character Status State" events and arrays and replaces those sounds for suffocation: start and end are replaced with silence, and during suffocation it plays a hurt sound borrowed from the bigfoot dino, so you still get a warning that something is going wrong.

Roadmap: It's working (I think). Bug reports welcome. Might do a similar mod for silencing dino eating sounds and stomping sounds but not sure yet; it'll be a separate mod if I do.