Skip to content

YakosWG/AssortedAttractors

Repository files navigation

Assorted Attractors adds many different magnets that can attract items, mana stars, hearts, or all of them at once. Many different magnets will be available throughout your playthrough. Range and Speed are configurable via config. Assorted Attractors integrates with CalamityMod, adding additional higher tier magnets if Calamity is installed.

  • "Range" determines how far away an item can be from the player. Items closer than this value will be attracted, items further away will not.
  • The "Speed" stat determines the acceleration that an item being grabbed by a magnet experiences and is added to the items velocity every game tick (1 tick = about 1/60th of a second).
  • "Max Speed" is the maximum velocity an item can have when being drawn toward the player. This speed is relative to the player's own speed so moving into a direction will allow the item to move faster to keep up with the player.
  • Only one magnet can be active per player at any given time. When activating multiple magnets only the first one will work.

Changelog:

[1.0.1] - 2022-07-21

- Fixed an issue where AssortedAttractors would crash when disabling Calamity

[1.0.2] - 2022-07-21

- Changed Tidal Force drop-logic to not drop the magnet twice in expert mode

[1.0.3] - 2022-07-28

- Adjusted for new TModLoader stable version

[1.0.4] - 2022-08-06

- Range of all magnets has been buffed
- Range is now displayed in tiles instead of pixels as it's far more intuitive

[1.0.5] - 2022-10-11

- Update to newest TModloader & Calamity version

[1.1.0] - 2023-01-16

- Update to newest Calamity version (nothing actually changed because of this)
- Rework grab code (this is experimental and might be subject to further changes)
- Meld Blob is now considered a soul
- Tidal Force "in water" buff is now relative (previously it was a flat increase, causing it to behave weirdly with certain config settings)
- The Merchant will now sell a lucky horseshoe when he's on a sky island
- After Skeletron has been defeated the Goblin Tinkerer will now sell the Treasure Magnet when in the underworld

[1.2.0] - 2023-07-20

- Update to Tmodloader preview 1.4.4

[1.2.1] - 2023-09-04

- Prevent Magnet from picking up items that have not finished shimmering yet
	- the above change may lead to the items not being picked up correctly, just toggle the magnet to fix this 
- Fixed a glitch that caused weird behaviour if the player moved toward an item faster than the magnet could accelerate it

[1.2.2] - 2023-11-12

- Fixed an issue where the Goblin Tinkerer did not sell the magnet in multiplayer

sorry for not maintaining the github changelog for a while

About

Terraria Mod adding multiple magnets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages