Daenks/Meridian59_103 — pull request #166 by siwthaneye (2014-01-03 18:03:23+00:00)
Title: Shrunken head updates

my first update to meridian 59s open source project => I have updated player.kod to propagage kills, damage (dealt/taken), improvements and toughers to shrunken heads. The shrunken heads now provides much needed moral support (controlled by shruhead.kod: KILL_CHAT_PROB = 5%) to the owning player and also collects basic statistics - controlled by the two new commands.

updated: user.kod, player.kod and shruhead.kod

################################################
Your mystic sword runs through the spider.
You killed the spider.
Your mystic sword stabs the baby spider for 14 damage.
Your shrunken head babbles, "Strong and True!"
The baby spider is clearly injured.
Your mystic sword runs through the baby spider.
You killed the baby spider.
You say, "Shrunken head, status report!"
Your shrunken head babbles, "Master has killed 4 foes, improving 0 times and gained 0 toughers! Master has also dealt 164 and hurt for 0 damage."
################################################

TODO:
- dynamic tuning of KILL_CHAT_PROB based on current player/game conditions/# of shrunken heads in existance.
- expand shrunken head to provide random spells/buffs/items based on progress and consumed spider eyes.
- implement twitter support for random Tweets :D