Telepathy enhancement - updated 2013-01-15

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
aardvark
Wyrmic
Posts: 200
Joined: Wed Aug 22, 2012 12:16 am

Telepathy enhancement - updated 2013-01-15

#1 Post by aardvark »

In vanilla ToME 4, all items and talents that grant telepathy use the same range variable. Wearing an artifact that has a non-default telepathy range changes the range of every telepathy you've got, regardless of source or intent.

This addon changes the way telepathy is handled. Now, every source has its own range tracked and applied separately. When one has multiple sources of telepathy, the longest range for any given type is the one that's used. For example, if you have two sources of "Orc" telepathy, one with range 10 and the other range 7, you get the range 10 effect.

The changes here are mostly under the hood (just one new artifact). Telepathy is rare enough that you may not even notice them.

NOTE: this addon is not compatible with old saves. Start a new character to be safe.

Changelog:
v2
  • Changed the code layout from a separate class to an interface for Actor.
  • Added a few new functions that make using telepathy from talents easier.
  • Fixed a cheat mode bug present in v1.
  • Changed the ranges for randart telepathy egos. Dragon and Demon telepathy are the same, Orc telepathy has had its range reduced to 8.35, and All has been re-added with a range of 4.15. Note that randarts can get the same telepathy ego more than once, doubling (maybe tripling?) their ranges.
  • Cleaned up Character Sheet telepathy display.
  • Added JSON dump changes to work with the improved telepathy. I don't know how this will affect online characters.
Attachments
tome-esp-mod.zip
1.0 version
(74.43 KiB) Downloaded 102 times

Post Reply