[Achaea/Svo] Tarot Inscribing Script
Posted: Thu Jul 14, 2011 9:58 pm
Greetings- Mot from Achaea here..
This is a script I worked up with Mosr last night to assist in inscribing tarot cards: it is intended for users of Svo, though it could easily be adapted to work without that system. In fact, if you have any curing system with a 'pause' function (i.e. that is a way to pause your system's curing) that can be called from script, it would be VERY easy to adapt this.
To use it:
ASCRIBE <# of cards> <cardtype> - begins inscribing blanks with the given card-type to the number specified.
example: ascribe 10 empress
ASCRIBE PAUSE - pauses inscribing.
ASCRIBE RESUME - resumes inscribing at the point it was paused. Counts are remembered as long as your session hasn't been closed.
Other points of interest:
#1. The script pauses Svo while inscribing to avoid interruption and resumes Svo at the successful completion OF EACH CARD. (This is to allow for mana sips and such.)
#2. Blank cards are OUTD'd one at a time just before inscribing begins. Originally I OUTD'd a bulk amount to match the quantity desired but this is not ideal (theft, disconnect and drop, etc.)
#3. Once finished with the batch, all the inscribed cards are IND'd. I do it this way to save a little time inscribing but you could adjust it to IND each card as it is inscribed.
#4. Mosr suggested using disableTrigger() to pause the script. I elected to make use of Lua's first-class functions. (To see what I mean, look at the ASCRIBE PAUSE and ASCRIBE RESUME aliases.)
Enjoy!
==================================
As this is intended for Svo-users, you should all have test3 and the package-manager, therefor just download and import the zip! In total, the package is two functions, three aliases, and three triggers. The third trigger is to resume if inscribing is somehow interrupted and the card is thrown away. It resumes inscribing while keeping the proper count (i.e. it doesn't count a ruined card as a successful.)
Edit: As always, I appreciate comments/feedback/suggestions/corrections/"Nice-jobs!"
This is a script I worked up with Mosr last night to assist in inscribing tarot cards: it is intended for users of Svo, though it could easily be adapted to work without that system. In fact, if you have any curing system with a 'pause' function (i.e. that is a way to pause your system's curing) that can be called from script, it would be VERY easy to adapt this.
To use it:
ASCRIBE <# of cards> <cardtype> - begins inscribing blanks with the given card-type to the number specified.
example: ascribe 10 empress
ASCRIBE PAUSE - pauses inscribing.
ASCRIBE RESUME - resumes inscribing at the point it was paused. Counts are remembered as long as your session hasn't been closed.
Other points of interest:
#1. The script pauses Svo while inscribing to avoid interruption and resumes Svo at the successful completion OF EACH CARD. (This is to allow for mana sips and such.)
#2. Blank cards are OUTD'd one at a time just before inscribing begins. Originally I OUTD'd a bulk amount to match the quantity desired but this is not ideal (theft, disconnect and drop, etc.)
#3. Once finished with the batch, all the inscribed cards are IND'd. I do it this way to save a little time inscribing but you could adjust it to IND each card as it is inscribed.
#4. Mosr suggested using disableTrigger() to pause the script. I elected to make use of Lua's first-class functions. (To see what I mean, look at the ASCRIBE PAUSE and ASCRIBE RESUME aliases.)
Enjoy!
==================================
As this is intended for Svo-users, you should all have test3 and the package-manager, therefor just download and import the zip! In total, the package is two functions, three aliases, and three triggers. The third trigger is to resume if inscribing is somehow interrupted and the card is thrown away. It resumes inscribing while keeping the proper count (i.e. it doesn't count a ruined card as a successful.)
Edit: As always, I appreciate comments/feedback/suggestions/corrections/"Nice-jobs!"