So, with the annual Easter event come and gone, I had an idea. Y'see, inspired by the rescuable enthralled slaves in the Ring of Blood zone, I usually try to avoid killing any of the cute little bunnies in the Pikataclysm zone (although I can't claim much success in that endeavor…

) Unlike the Ring of Blood zone, however, there's no achievement if you should actually manage to achieve this Herculean task.
Until now, that is.

Fortunately, I had an old debug-mode character lying around with an uncomplated Easter event that I could use to develop and test my new
No Bunnies Were Harmed addon. Unfortunately, I wasn't sure how to distinguish bunnies killed specifically by the player, since we'd presumably also want to count stuff like the Alchemist golem and lingering damage effects like Burning Wake. As a result, bunnies killed by hostiles also count against the achievement. Which may make the achievement nigh on impossible to get, frankly, but I intend to keep trying.
[Looking ahead, this addon seems like an obvious choice for inclusion in a future release of ZOmnibus and ZOmnibus Lite.]
[Implementation notes:]
Code: Select all
Hooks:
ToME:load [to load our achievement definition
Superloads:
mod.class.Actor:
die() [to record bunny deaths]
mod.class.interface.WorldAchievements:
gainAchievement() [to piggyback our achievement on the main one]