Better Shopping?

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Better Shopping?
Apprentice
Member # 8511
Profile #0
Is there a way to edit the scripts to increase the number of items for sale?

Specifically, I'd like more energy elixirs, but I've purchased all of them in all the stores. All of the stores have limited amounts for sale. Is there a way to change this?
Posts: 3 | Registered: Sunday, April 15 2007 07:00
Law Bringer
Member # 6785
Profile #1
Yes you can edit scripts. Check the editors that have been made for the game in the Avernum 4 header. I think it might give you what you want.

Checked - It gives you more than that so you might want to edit out the other things and then after backing up the original file replace it with the new one.
Posts: 4643 | Registered: Friday, February 10 2006 08:00
Warrior
Member # 7032
Profile #2
I wonder though, I've never had problems with mana shortage so much...

--------------------
_ _ _____________________________ _ _
Power to (the) Mas(ses)
Posts: 102 | Registered: Friday, April 14 2006 07:00
Canned
Member # 8014
Profile #3
It would help if your spell caster was smarter.

--------------------
I can transform into almost anything, though not sanity.

My brother tried to type something here. I just erased it.
Posts: 1799 | Registered: Sunday, February 4 2007 08:00
Lifecrafter
Member # 7557
Profile #4
Muff.....Be nice to the newbie please.

Yes it is possible but I find the trainers are more then adequate.

--------------------
The force is with ME! I'm not so sure about YOU!

Trust me, you do not want to click this link
Posts: 942 | Registered: Sunday, October 8 2006 07:00
Shaper
Member # 7472
Profile Homepage #5
He meant boosting the spellcaster's intelligence. That wasn't an insult.

--------------------
Scenarios need reviews! Please rate these scenarios at the CSR after playing them!
AmnesiaDileciaThe Empire's New GroveExpress Delivery
Twilight ValleyWitch HuntWhere the Rivers MeetFoul Hordes
Posts: 2686 | Registered: Friday, September 8 2006 07:00
Canned
Member # 8014
Profile #6
If only there was a laughing graemlin.
And yes, I did mean intelligence. Boosting mage/priest should increase spell energy as well.
I think magery might do it too.

--------------------
I can transform into almost anything, though not sanity.

My brother tried to type something here. I just erased it.
Posts: 1799 | Registered: Sunday, February 4 2007 08:00
Councilor
Member # 6600
Profile Homepage #7
Well, if we're talking strategy now, first aid will recover some spell points after a battle.

The easiest thing to do might be to search the scripts for someone's dialogue you can get to easily, and then add a reward_give at the end. I don't have A4, so I can't test it for you, but it will probably end up looking like this:

text[#] = "Blah blah blah. Blah blah.";
code =
reward_give([item # for energy elixirs]);
break;
Dikiyoba.
Posts: 4346 | Registered: Friday, December 23 2005 08:00
Apprentice
Member # 8511
Profile #8
quote:
Originally written by Randomizer:

Yes you can edit scripts. Check the editors that have been made for the game in the Avernum 4 header. I think it might give you what you want.
Where is the AV4 header?
Posts: 3 | Registered: Sunday, April 15 2007 07:00
Law Bringer
Member # 6785
Profile #9
The A4 header is the area of text above the topics list. The link of interest is Hawk King's A4 Editor.

When you look at the text near the end of the file you will see the extra lines of code that alter the characters and give you items. Copy the file and remove the features that you don't want. Then you can copy this file to the Avernum 4 files to replace a hopefully backupped file for the start point of the game.

There is another editor or trainer that gives different results, but I don't remember the topic it's in.

[ Monday, April 30, 2007 23:01: Message edited by: Randomizer ]
Posts: 4643 | Registered: Friday, February 10 2006 08:00
BANNED
Member # 8639
Profile #10
The only potion that I use is the Knowledge potion(or elixir).I restore my SP with cheats,use ``imdrained´´ and *poof* your spell point are back.

--------------------
The shaper commandant
Posts: 5 | Registered: Thursday, May 3 2007 07:00