View previous topic :: View next topic |
Author |
Message |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Sun Nov 18, 2007 3:32 pm Post subject: Battle rewards |
|
|
Is there any way for an after-battle script to tell what rewards you got from the previous battle? If not, then I believe there should be. I'm concerned with items found/stolen right now, but I imagine there could be uses for knowing all of the rewards.
Basically the plotscript commands would work the same as herolevelled:
EXP gained (who)
money gained
total items found #returns number of items found
item found (number) #returns item ID of (number)th item found, to be used with a for loop involving 'total items found'
total items stolen
item stolen (number) #work same as items found
If this cannot already be done somehow that I'm just not thinking of (I refuse to store an image of the party's current stats and items before every battle), I will enter this into Bugzilla. _________________ My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161
This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Mon Nov 19, 2007 1:13 am Post subject: |
|
|
Go ahead.
I wanted to ad some commands to allow saving and restoring the state of the inventory (from which separate inventories for each hero might follow naturally), and being able to compare stored inventories would be a good additional feature; it would be a second way to do the same thing, but not a totally replacement. _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
|
Back to top |
|
 |
|