tModLoader

tModLoader

Not enough ratings
Rod of Discord Hotkey
   
Award
Favorite
Favorited
Unfavorite
Mod Features: Utilities, Quality Of Life
Mod Side: Both
tModLoader Version: 1.4.3, 1.4.4
Language: English
File Size
Posted
Updated
37.472 KB
Sep 3, 2022 @ 2:29pm
Aug 23, 2023 @ 6:37pm
2 Change Notes ( view )

Subscribe to download
Rod of Discord Hotkey

Description
Built for 1.4 tModLoader.
Does what it says on the tin, adds a customisable hotkey for using the Rod of Discord. There are other mods that add this, but none that add only this (as far as I can tell)

Special thanks to Pop000100 for showing me how to add support for modded rod of discord items

If you want your mods rod of discord item to be compatible with this, you'll have to add a little bit of code to your mod's PostSetupContent hook
bool discordHotkeyModLoaded = ModLoader.TryGetMod("RodOfDiscordHotkey", out Mod discordHotkeyMod); if (discordHotkeyModLoaded) { discordHotkeyMod.Call(YOURITEMIDHERE); }
This code is generalised to work with any mod, just replace YOURITEMIDHERE with your rod of discord item's ID. If you have multiple rod of discord items you will have to call discordHotkeyMod.Call multiple times since it only uses the first argument passed in

Bother Pop000100 for issues not stormytuna

Changelog:
Version 1.1.1
Re-Release
Version 1.1
Added a generalised method other mods can call to add their rod of discord items to this mods list of rod of discord items
Version 1.0
Released
Originally posted by tModLoader:
Developed By stormytuna
3 Comments
XaosTTV Jan 13, 2024 @ 10:19am 
i think this is a great mod. I love the fact i cant spam it either, so i cant cheat dodges in bossfights
thank you
Legend Aug 22, 2023 @ 6:06pm 
update please
real venom snake Nov 19, 2022 @ 12:05pm 
you should make a mod that makes it so the rod of discord just damages you if you do it multiple times instead of just not being able to use it for 10 seconds