Difference for gods/README from version 1.1 to 1.2


version 1.1 version 1.2
Line 26
 
Line 26
  last_eat, last_heal, last_sp, last_grace, & various flags - these are used to    last_eat, last_heal, last_sp, last_grace, & various flags - these are used to
  pass on certain properties to the worshiping priest.    pass on certain properties to the worshiping priest.
   
   Treasure list reference:
   
   Such a list is passed to create_treasure() with flag GT_STARTEQUIP.
   The generated treasure is put into the followers inventory.  The
   follower can get unlimited amounts of this treasure just by praying
   long enough.  See below ("other visible items") for an alternative
   way of giving items to followers.
   
   Invisible books (with specific names):
   
   Can be accessed through determine_holy_arch() which will return the
   item's other_arch field.  For example, such book with name "avatar"
   determines the avatar archetype for the "summon avatar" prayer.
   
   Invisible book with name "grace limit":
   
   If follower doesn't have maximum grace, or follower's grace is less
   than item->stats.grace, a "holy possession" prayer is invoked and the
   function returns.  Can be used to limit the lower part of the treasure
   list to followers with much grace.
   
   Invisible book with name "restore grace":
   
   If the follower's grace is negative, sets the grace to a small
   positive value and returns.
   
   Invisible book with name "restore hitpoints":
   
   If the follower's hitpoints are not at their maximum, sets hitpoints
   to maximum and returns.
   
   Invisible book with name "restore spellpoints":
   
   Can restore the followers spellpoints.  The maximum spellpoints for
   this effect are calculated using this formula:
   
     max = follower->stats.maxsp * (item->stats.maxsp / 100.0)
   
   In other words, the item's stats.maxsp is the maximum in percent
   relative to the followers normal spellpoint maximum.  If the followers
   current spellpoints are below 50% of 'max', they are set to a random
   value between 50% and 100% of 'max', and the function returns.
   
   Invisible book with name "heal spell":
   
   Casts a heal spell (which spell is determined by item's slaying or
   stats.sp field) and returns if the spell was successful.
   
   Invisible book with name "remove curse":
   
   Removes curse from all cursed (but not damned) items, returns if curse
   was removed from at least one item.
   
   Invisible book with name "remove damnation":
   
   Removes curse and damnation from all cursed or damned items, returns
   if curse or damnation was removed from at least one item.
   
   Invisible book with name "heal depletion":
   
   Removes all depletion effects and returns unless the follower's stats
   were not depleted.
   
   Invisible book with name "voice_behind":
   
   The follower hears a voice from behind.  item->msg is what the voice
   says.  Always returns.
   
   Invisible book with name "message":
   
   The follower receives item->msg as a simple message.  Always returns.
   
   Invisible book with name "enchant weapon":
   
   The follower's weapon is enchanted in various ways.  item->level
   affects how much the weapon is enchanted, higher value means less
   enchantment.
   
   Invisible spellbooks:
   
   If the prayer in the book is not yet known to the follower, and the
   follower has the required level, teaches the prayer to the follower
   and returns.  The prayer is determined by item's slaying field.
   
   Visible spellbooks:
   
   If the prayer in the book is not yet known to the follower, the
   follower has the required level, and the follower doesn't already have
   a spellbook with that prayer, gives a copy of this spellbook to the
   follower and returns.  The item must have FLAG_STARTEQUIP.  The prayer
   is determined by item's slaying field.
   
   Other visible items:
   
   If the follower doesn't already have this or a similar item (with same
   type, name, title, msg and slaying fields), gives a copy of this item
   to the follower.  You have to set FLAG_STARTEQUIP in the archetype
   yourself if you wan't the copy to have this flag.  This method (with
   FLAG_STARTEQUIP set) should be prefered for giving items to followers,
   because it is rather safe to use.  The amount is limited, because if
   the follower wants more of it he has to go back to an altar of his
   god.  He can't pray an hour over an altar and then go fighting with a
   hundred potions of restoration.
   
   Other invisible items:
   
   If the follower doesn't already have it this item, gives it, similar
   to visible items.  Except, it ALWAYS gives it, upon conversion.
   And on conversion to another religion, it is ALWAYS removed.
   Signs and forces and skills may not be given/taken this way.


Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2

File made using version 1.96 of cvs2html by leaf at 2006-02-15 17:04