samfundev / KtaneTwitchPlays

A mod that allows Twitch chat to solve bombs in KTANE.
MIT License
46 stars 38 forks source link

Call System, DMG, and Training Mode Changes #528

Closed MrPeanut1028 closed 4 years ago

MrPeanut1028 commented 4 years ago

Call System: Fixes a bug in the call waiting logic and a response when a command is called.

DMG: The DMG can now be disabled for all regular users if the streamer wants. The DMG was initially thought to be a good feature, but it is definitely being overused.

Training Mode: A cap of 120 minutes by default has been set for Training Mode, and this can also be disabled by setting the value TwitchPlaySettings.data.TrainingModeDetonationTime to a value less than 1. Warnings are given in chat at the 1, 2, 5, 10, 20, 30, 45, 60 and 90 minute marks.

I've also added a sound effect (which could be called the Alert Chime) that should be used when the above warnings are given. This could also played when a vote starts. I've only added the sound and marked it in mod.bundle since I couldn't figure out how to fully implement it. I've now added the sound effect fully to the extend of my knowledge, let me know if something doesn't add up.