Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] section FUNCTIONS

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: SM Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] section FUNCTIONS
  • Date: Fri, 23 Jun 2006 08:52:55 -0700

On Fri, Jun 23, 2006 at 02:09:41PM +0200, Treeve Jelbert wrote:
> I am moving several spells from the database section to a new section, so
> that
> they can share some common functions at the section level, and remove some
> files (FINAL, POST_REMOVE and POST_RESURRECT ) from the spells.
>
>
> default_post_install and default_post_remove do what I want, but
> default_post_resurrect does not seem to get called. Does it exist?

There is no such thing, sorcery doesnt have any default behavior for that...

>
> POST_RESURRECT at the spell level does work.

I should work, but sorcery runs the file from when the spell was cast
(and is in the cache tarball), not what happens to be in some grimoire
at the time you do a resurrect.


--
_________________________________________________________________________
| Andrew D. Stitt | acedit at armory.com | astitt at sourcemage.org |
| irc: afrayedknot | Sorcery Team Lead | ftp://t.armory.com/ |
| 1024D/D39B096C | 76E4 728A 04EE 62B2 A09A 96D7 4D9E 239B D39B 096C |
-------------------------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page