Hydralize

originally from https://terraria.fandom.com/wiki/MediaWiki:Gadget-hydralize.js