[crossfire] Treasurelist idea

2006-03-21 Thread Miguel Ghobangieno
I was thinking (perhapse this is allready doable):

treasure bla
   arch sword
  chance 20
  magic 4
  set damned 1
  set wc -2
  set msg
  set this is a great sword
  sed endmsg
   end

If the code sees "set" then that which comes after it
will be applied to the dropped thing



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] Treasurelist idea

2006-03-22 Thread Miguel Ghobangieno
Well using set as a prefix would allow you to put
whatever in the arch, thus one wouldn't need to edit
the code every time a new variable is created since
set just passes it into the archtype in memory.


--- Alex Schultz <[EMAIL PROTECTED]> wrote:

> Miguel Ghobangieno wrote:
> 
> >I was thinking (perhapse this is allready doable):
> >
> >treasure bla
> >   arch sword
> >  chance 20
> >  magic 4
> >  set damned 1
> >  set wc -2
> >  set msg
> >  set this is a great sword
> >  sed endmsg
> >   end
> >
> >If the code sees "set" then that which comes after
> it
> >will be applied to the dropped thing
> >
> Hmm, not sure it's the best way to approach the
> issue (i.e. do we even 
> need to prepend "set"?), but that would in some ways
> be a good idea.
> 
> Also, please don't use the reply button to start a
> completely new topic, 
> it messes up those using thread view (I am anyways,
> and that's how 
> people on the web archives often view it)
> 
> Alex Schultz
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire