[CF-Devel] Weapons from gods

Jan Echternach echter at informatik.uni-rostock.de
Mon Oct 30 18:54:04 CST 2000


On Tue, Oct 31, 2000 at 10:37:05AM +1100, 
     
     dnh at hawthorn.csse.monash.edu.au
     
      wrote:
>
     
      intial guess would be to add an ATTUNED_ARMOUR or the likes. Which when
     
     >
     
      given allows gods to improve in this case armour. Ruggilli for instance
     
     >
     
      might improve weapons and bows, gaea might improve shields and helmets.
     
     >
     
      Peterm thinks this is wrong as ATTUNED is for magic and improving items
     
     >
     
      via gods is not the same. I agree, but I can't see any other way to do it,
     
     
Give each god some "randomitems".  This treasure list can contain
special items indicating what a god may give to its followers.  It
would be examined in god_intervention() to determine special actions.
For example, spell books could be used to determine which prayers will
be handed out.  This would allow one god giving "cause many wounds" and
"retributive strike", wheres another god gives "cause many wounds" and
some disease spells, even though all these spells are PATH_WOUNDING.

It would also allow a simple and extensible implementation of other
special gifts like improving armours and bows.  I suggest using
invisible books/scrolls for this purpose.

  if (tmp->type == BOOK && tmp->invisible
      && strcmp (tmp->msg, "enchant bows")
  {
      if (try_to_enchant_the_followers_bow ())
          break;
  }
  /* else continue with the next item in the treasure list */

Visible books could be used for a different purpose.  For example, the
god could give a copy of the book to the follower.

-- 
Jan

    
    


More information about the crossfire mailing list