Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Note to spell-writers: INSTALL

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Vlad Glagolev <stealth AT tiberian.ru>
  • To: Source Mage Discussion <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] Note to spell-writers: INSTALL
  • Date: Fri, 30 Jan 2015 14:27:47 +0300

Hi all!

I ask all grimoire gurus use INSTALL[0] only for actions it was created
for.

Please avoid commits as such:

http://scmweb.sourcemage.org/?p=smgl/grimoire.git;a=commitdiff;h=da5a26f03c88b04d03e22961a9eea1665d7ef54c;hp=90cde15e49260d534bfa7aa800a12e7e7d56c7f5

Main idea for INSTALL is about tracking of installed files. Do not
perform anything besides that. If you need it though, use FINAL[1].

The reason is: we should write resurrect-compliant spells, when you're
able to install a spell not only via cast[2], but via resurrect[3] as
well.

According to that, POST_RESURRECT[4] must be used for the actions
required after successful install, if it applies there. Sometimes it
just duplicates FINAL.

Not all spells are resurrect-compliant at the moment and we need more
work in this direction, but we have to avoid new "bugs" coming here.

You've been warned.

Thanks!

[0] http://beta.sourcemage.ru/Spell/Files/INSTALL
[1] http://beta.sourcemage.ru/Spell/Files/FINAL
[2] http://beta.sourcemage.ru/Sorcery/Commands/Cast
[3] http://beta.sourcemage.ru/Sorcery/Commands/Resurrect
[4] http://beta.sourcemage.ru/Spell/Files/POST_RESURRECT

--
Vlad Glagolev

Attachment: pgp2OfA3DuiYS.pgp
Description: PGP signature



  • [SM-Discuss] Note to spell-writers: INSTALL, Vlad Glagolev, 01/30/2015

Archive powered by MHonArc 2.6.24.

Top of Page