v188.8.131.52 Mirror Note: Requires Mod Helpers Overview This mod populates the underground with random pairs of wormhole portals. Wormholes allow two-way fast travel between remote locations of the world. Be warned: There's no telling where you might end up! As an added bonus, I've included a craftable Scroll of Town Portal; a familiar staple for ARPG fans eager to expedite tedious caving sessions. Available crafting recipes Scroll of Town Portal (5x) - A personal (client-only) one-time-use wormhole to your spawn from where you stand. Recall/Wormhole Potion (1x) Book (1x) Mana Crystal (1x) Chaos Bomb (25x) - Explosives that scatter blocks at random and relocate wormholes (1 in 5 chance). Also destroys town portals. Recall/Wormhole Potion (1x) Bouncy Bomb (5x) Amethyst (1x) Topaz (1x) Sapphire (1x) Emerald (1x) Ruby (1x) Diamond (1x) Amber (1x) Additional Information Configuration options found in 'Documents/My Games/Terraria/ModLoader/Mod Configs/Wormholes Config.json'. Source code available. API now available. Note for mod authors: Mods can freely adjust config settings via. weak reference, but they are not automatically saved to file. Installation Requires tModLoader (0.10). Copy the above .tmod file to your 'Documents/My Games/Terraria/ModLoader/Mods' folder to play. Changelog v184.108.40.206 Fixed issue with wormholes spilling past edge of minimap. v220.127.116.11 Updated for MHv4 v18.104.22.168 Minor update for MH PacketProtocol tweak v1.8.1 Updated to Mod Helpers v2.0.2 Restructured Mod override Restructured ModPlayer class a bit Updated player code Added MP player load bug failsafe v22.214.171.124 Refactored config file usage conventions Refactored debug mode settings Refactored API form Refactored net code to use PacketProtocol Added config settings to adjust Chaos Bomb recipe input and output Altered Chaos Bomb recipe to use 5 Bouncy Bombs, and produce 25 Chaos Bombs v1.7.1 Rebalanced town portal scroll recipe (now produces 3 scrolls, also craftable with spell tomes) v126.96.36.199 Fixed premature minimap displays of wormholes v188.8.131.52 Added mod icon Added support for Hamstar Helpers v1.2.0 issue report Refactored net protocol Minor refactoring Fixed crash bug Refactored class visibility Added API v184.108.40.206 Fixed natural wormholes relocating improperly via Chaos Bomb hits v220.127.116.11 Fixed portals not zooming properly v18.104.22.168 Fixed wormhole relocation in single player via Chaos Bomb Ensured town portal (not general wormhole) closure via Chaos Bomb (no random chance) v22.214.171.124 Fixed Chaos Bomb issues. Fixed portals not zooming correctly. v1.6.4 Fixed initial placement of wormholes appearing over obstructed terrain (hopefully for good) Restored debug config settings and added a wormholes force-reset setting v1.6.3 Updated for TML 0.10 Offloaded utility/helper code to Hamstar's Helpers mod (now a dependency) Numerous fixes and tweaks v1.6.2 Added debug config option Removed old config (Wormholes 1.3.12.json) Prevented wormholes from generating before terrain Improved wormhole colors v1.6.1 Removed misplaced 'Losing Is Fun' code chunk affecting magic mirrors v1.6.0 Added Chaos Bombs; re-randomizes existing wormholes Set town portals to persist with saves Add config option to disable wormholes (only town portals exist) Fixed camera mode failing to render wormholes Set town portals to be craftable from recall potions Add particle effects to wormholes Reduced wormhole light radius + increased sound Moved config file to Mod Config v1.4.0-2 Wormhole Potions and Recall Potions can be crafted into one another with their respective herbs. Town Portal Scroll craftable with a mana crystal instead of purification powder. v1.3.11 Fixed multiplayer bug. v1.3.10 Fixed added config settings not being added with version updates. v1.3.9 Reduced wormhole sound volume and added config setting to adjust it. v1.3.7-8 Fixed entrapment glitch and improved code. v1.3.6 Fixed wormholes drifting on world save. Lowered default wormholes per world. Note: Wormholes are refreshed with this version. A new config file is used. v1.3.4 Town portal expire crash fix. v1.3.3 Fixed portals sometimes failing to generate correctly on a given world. Fixed portal collision box alignment issue. v1.3.0-2 Changed portal to render directly to the screen instead of by way of a Dust particle (should fix glitching and layering). Added town portal opening animation. Town portals now expire after 1 hour. v1.2.2 Exposed classes for DLL reference use. No gameplay changes. v1.2.1 Improved wormhole animation. Added a brief wormhole exit debuff (chaos state + distortion). Assorted fixes and tweaks. v1.1.2 Fixed minimap display problem. v1.1.1 Tweaked portal graphic. Fixed settings not getting conveyed to clients. Prevented portals from spawning in lava or dungeon. Added failsafes against portal glitching. v1.1.0 Fixed multiplayer. Hopefully. Support my mods!