TerraLib
This is not compatible with vanilla servers. If you’re planning on joining vanilla servers or servers that do not have this mod, please use TerraLib Lite instead.
A mod that does nothing by itself but allows for Terraria-like things. It also has some functions that may be useful for other things.
Of the things it allows you to do, this includes:
– Worms
– Plant enemies, like the Terraria Snatcher
– A few other Terraria enemies
– Spore monster projectiles, like Terraria Plantera’s Spore
– Animated souls, floating and glowing items (only when dropped in the world)
– Biomes that spread and have their own monster spawns and music
– Basic Terraria boss summon items
– Monster damage redirection
– Script sandboxing
– Many other things
Terraria Mod can be a good example on how to use this.
Changelog:
Release (1.7): Released to the workshop
1.8: Made a pretty decently-sized change to how segments follow, instead of following their regular update order and following their owner when Starbound tells them to, they now do it when their owner tells them to.
This should fix the problem where worms split when moving fast enough, but may be laggier.
1.9: Fixed worms occasionally being beheaded from the head despawning. Due to the new method from 1.8, this’d cause the segments to do absolutely nothing, not even staying together.
Also added a new feature, firstSize, to help worms not look so weird when their heads are a bit off-center.
1.9.1: Worm maximum tracking range increased from 100 to 150. This should prevent worms from losing targets until they’re pretty decently far offscreen.
1.10: Boss summon item script added, allows for summoning any monster at any offset with any summoning sound. Also added the Terraria boss roar, a script for projectile leveling, and the spikyball physics type.
1.11: Minor AI improvements, invulnerable worms can now have contact damage, worm range is now configurable with queryRange. Added support for Plant AI enemies.
1.12: Added Demon Eye AI and Flying AI support. Added minimum speed for worms, allowing them to curve (and make arcs) better, although this makes them worse at tracking.
1.12.1: Worms now swim by default.
1.12.2: Improved chain script, forgot to update this on workshop, should fix the True Eye of Cthulhu’s lasers
1.12.3: Added namespacing. Should prevent compatibility issues. Breaks mods that use this until they’re updated. All script files are prefixed with terra_ now.
1.13: Worm body and tail segments no longer take damage themselves. Now, instead, they send this damage to the head. Worms are also now capturable by hitting any segment, not just the head. Also, terra_vec3.lua exists now, with a few functions similar to those in vec2.
1.14: Spreading biomes with monster spawns and music. Worms have homes. Worm heads also don’t detach now. Better alternative music handler.
1.15: Souls, and other fancy floating and glowing items. Also, scripted consumables. Improved Demon Eye AI/Flying AI. Small tooltips were moved here from Terraria Mod. Also, new preview image, I don’t have to worry about that worm one anymore.
1.16: Fixed souls, and added Slime AI. Added scripts for executing arbitrary other scripts and creating a monster afterimage.
1.17: terra_structureRenderer.lua for dynamic structures, and a script to prepare some predefined structures automatically from an image when the script is loaded. terra_wormtail.lua is now deprecated, use terra_wormbody.lua or terra_wormbodysimple.lua instead.
1.18: Some new miscellaneous utility scripts. terra_scriptLoader.lua is now a proper sandbox.
1.19: Even more miscellaneous utility scripts, including activeitem to monster conversion and an oSB-only loadstring version of terra_scriptLoader that offers a better sandbox. Among other things.
Discord [discord.com]
Scripted consumables and small tooltips were made by Silver Sokolova.
Revisions:
Old revisions of this mod are available below. Click the link to download.