Spell tomes for sale...

Post » Tue Jan 01, 2013 5:57 pm

How is spell tome availability governed in vendor inventories? It's determined by magic skill level... somehow. I saw nothing in the leveled list layout to that effect, nor did I see any scripts attached to the vendor container forms or their gamespace refs.
User avatar
Mizz.Jayy
 
Posts: 3483
Joined: Sat Mar 03, 2007 5:56 pm

Post » Tue Jan 01, 2013 7:17 am

I think just certain vendors get certain tomes. I've only ever gotten super high level ones from the college. Then again, I haven't played a mage long term ever, but low end vendors never get them so it's just how their vendor chest is set up I think.
User avatar
Paula Rose
 
Posts: 3305
Joined: Fri Feb 16, 2007 8:12 am

Post » Tue Jan 01, 2013 2:08 pm

Find a vendor in the Actor list and open the properties. I'll use Adrianne Avenicci as an example.

Select the Factions tab and double click ServicesWhiterunWarmaidens.

Select the Vendor tab. There's two things your looking at.

The first is the Merchant container. This is what they have available to sell. Any scrolls or levelled lists containing scrolls that they sell are found here. You could add scrolls to her chest but she will never sell or buy them. Why?

The second thing to look at is the Vendor Buy/Sell List and the Not Buy/Sell checkbox. The list is a form list containing keywords and determines what they will buy and sell if the Not Buy/Sell checkbox is clear, and what they won't buy and sell if the Not Buy/Sell checkbox is marked. If we added the keyword VendorItemScroll to Adrianne Avenicci's Vendor Buy/Sell List, then she would buy them from us and sell them if she had some.

If you look at general traders (like Belethor who buys and sells everything) you'll see that they have the Not Buy/Sell checkbox marked and only two entries in the linked form list (keywords VendorNoSale and VendorItemKey). This is why they buy (almost) anything.
User avatar
Wane Peters
 
Posts: 3359
Joined: Tue Jul 31, 2007 9:34 pm

Post » Tue Jan 01, 2013 6:29 pm

Find a vendor in the Actor list and open the properties. I'll use Adrianne Avenicci as an example.

Select the Factions tab and double click ServicesWhiterunWarmaidens.

Select the Vendor tab. There's two things your looking at.

The first is the Merchant container. This is what they have available to sell. Any scrolls or levelled lists containing scrolls that they sell are found here. You could add scrolls to her chest but she will never sell or buy them. Why?

The second thing to look at is the Vendor Buy/Sell List and the Not Buy/Sell checkbox. The list is a form list containing keywords and determines what they will buy and sell if the Not Buy/Sell checkbox is clear, and what they won't buy and sell if the Not Buy/Sell checkbox is marked. If we added the keyword VendorItemScroll to Adrianne Avenicci's Vendor Buy/Sell List, then she would buy them from us and sell them if she had some.

If you look at general traders (like Belethor who buys and sells everything) you'll see that they have the Not Buy/Sell checkbox marked and only two entries in the linked form list (keywords VendorNoSale and VendorItemKey). This is why they buy (almost) anything.

Yeah... which does not say anything about governing by-skill-level availability of spell tomes.


I think just certain vendors get certain tomes. I've only ever gotten super high level ones from the college. Then again, I haven't played a mage long term ever, but low end vendors never get them so it's just how their vendor chest is set up I think.

Something else is at work. Farengar will sell only up to Adept destruction spells and Apprentice everything else... but will not sell the Adept destruction spells until your Destruction skill is at 40 or so.
User avatar
Natalie Harvey
 
Posts: 3433
Joined: Fri Aug 18, 2006 12:15 pm

Post » Tue Jan 01, 2013 6:01 pm

Can you do a levelled list but make it based off a skill level instead of the players overall level? Perhaps the vendor list does this somehow?

EDIT: Yup. Look at Farengars chest "MerchantWhiterunFarengarsChest". Look at 'LItemSpellTomes50AllDestruction'. It uses the global 'PCDestructionAdept' meaning none of that shows up until the player is adept (50ish) in Destruction. He then has two other LItems that sell ALL types of books, meaning low level destruction stuff shows up no matter what.
User avatar
rebecca moody
 
Posts: 3430
Joined: Mon Mar 05, 2007 3:01 pm

Post » Tue Jan 01, 2013 6:41 pm

Can you do a levelled list but make it based off a skill level instead of the players overall level? Perhaps the vendor list does this somehow?

EDIT: Yup. Look at Farengars chest "MerchantWhiterunFarengarsChest". Look at 'LItemSpellTomes50AllDestruction'. It uses the global 'PCDestructionAdept' meaning none of that shows up until the player is adept (50ish) in Destruction. He then has two other LItems that sell ALL types of books, meaning low level destruction stuff shows up no matter what.

Ahh, I see now. Didn't see that before. :facepalm:

And it's tied to a quest that is governed by the Skill Increase story mode event manager. Probably accurate to surmise it sets the GLOB's value to 0 once the player skill passes the threshold (which is before the actual skill threshold so you can get a highly magicka-inefficient teaser of its power).
User avatar
keri seymour
 
Posts: 3361
Joined: Thu Oct 19, 2006 4:09 am


Return to V - Skyrim