Aller au contenu

Photo

Can you restock the store ?


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Eguintir Eligard

Eguintir Eligard
  • Members
  • 1 832 messages
Is it possible to just restock the potion supplies of a store every quest or so?

The infinite potions currently available seem exploitable.

#2
Hilltop2012

Hilltop2012
  • Members
  • 66 messages
You should be able to use 'GetFirstItemInInventory' to loop through the store and use 'GetItemStackSize' to determine the qty of each potion. If it's low then use 'CreateItemOnObject' to replenish the supply. At least thats my first theory.

#3
Quilistan

Quilistan
  • Members
  • 111 messages
Here is a script set from NWN1 for Dynamic Merchants. Merchant cleaner, restock, random items, thieve systems are all possible with it. With some adjustments it does work for NWN2.


nwvault.ign.com/View.php

Modifié par Quilistan, 08 septembre 2010 - 02:22 .


#4
Hilltop2012

Hilltop2012
  • Members
  • 66 messages

Quilistan wrote...

Here is a script set from NWN1 for Dynamic Merchants. Merchant cleaner, restock, random items, thieve systems are all possible with it. With some adjustments it does work for NWN2.


nwvault.ign.com/View.php


I like the pick pocket (sleight of hand) option in the dialog. That would be pretty neat  for a Rogue.