Prices varying with conversation choices
#1
Posted 21 March 2007 - 01:32 PM
Say, the PC visits and the conversation runs:
Storekeep greeting
PC1: Pleasant reply (prices go down)
PC2: Neutral reply (Prices stay at the normal level)
PC3: Rude reply (Prices go up)
Purchases made.
PC leaves & the store prices are back at "normal" until the next such conversation.
#2
Posted 21 March 2007 - 01:37 PM
I've done this by using two stores (or three in your case) all of which have the same items but at different prices. The dialog trail then opens the relevant store depending on the PC's response.Is it possible to code a store so that the prices vary depending on the response the PC makes in conversation? More than once, I mean.
-Y-
'Go for the optics, Chiktikka. GO FOR THE OPTICS!!' - Tali vas Neema
DLTCEP Tutorials Update Page
DLTCEP Tutorials Main Page
Yovaneth's AI Scripts for BG1, BG2-SoA and IWD1
Fishing for Trouble - a quest mod for Shadows of Amn
#3
Posted 21 March 2007 - 03:12 PM
E.G: You talk to the merchant and choose the Rude reply and then sell him some wands into store3. If you come back and choose Neutral Reply you will see store2 which won't have the wands in it you sold earlier (they remain in store3).
No problem if Merchant sticks with store chosen in first dialog.
#4
Posted 21 March 2007 - 03:14 PM
#5
Posted 21 March 2007 - 03:37 PM
E.G: You talk to the merchant and choose the Rude reply and then sell him some wands into store3. If you come back and choose Neutral Reply you will see store2 which won't have the wands in it you sold earlier (they remain in store3).
Depending on how you look at it, this might be a feature as opposed to a drawback.
I always thought it was ridiculous that Ribald would hang on to that +1 sword you sold him forever.
"Imagination is given to man to console him for what he is not; a sense of humor, for what he is." - Oscar Wilde
berelinde's mods
TolkienAcrossTheWater website
TolkienAcrossTheWater Forum
#6
Posted 21 March 2007 - 03:45 PM
Damn. Yes. I checked and I find that I've actually tagged the stores so that the storekeeper remembers CHARNAME and always offers the same option. That seemed a reasonable action on the grounds that the storekeeper would remember a rude customer whereas everyone else (including CHARNAME, if he/she had behaved) would get the better prices.That is a significant drawback.
-Y-
Edited by Yovaneth, 21 March 2007 - 03:47 PM.
'Go for the optics, Chiktikka. GO FOR THE OPTICS!!' - Tali vas Neema
DLTCEP Tutorials Update Page
DLTCEP Tutorials Main Page
Yovaneth's AI Scripts for BG1, BG2-SoA and IWD1
Fishing for Trouble - a quest mod for Shadows of Amn
#7
Posted 21 March 2007 - 04:10 PM
This also works the other way around - if store3 has one particular magic item in stock, and you purchase that one, the next time you visit store2 it will be as if it's magically reappeared in the store.E.G: You talk to the merchant and choose the Rude reply and then sell him some wands into store3. If you come back and choose Neutral Reply you will see store2 which won't have the wands in it you sold earlier (they remain in store3).
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#8
Posted 21 March 2007 - 07:47 PM
Damn. Yes. I checked and I find that I've actually tagged the stores so that the storekeeper remembers CHARNAME and always offers the same option. That seemed a reasonable action on the grounds that the storekeeper would remember a rude customer whereas everyone else (including CHARNAME, if he/she had behaved) would get the better prices.That is a significant drawback.
-Y-
I was hoping for a way to vary the prices more often and for the change to hold only for the single conversation.
#9
Posted 21 March 2007 - 11:39 PM
Unfortunately...I was hoping for a way to vary the prices more often and for the change to hold only for the single conversation.
Retired from modding.
#10
Posted 21 March 2007 - 11:52 PM
IWD NPC, Xan, The Sellswords, Back to Brynnlaw, Assassinations, Dungeon Crawl, Reunion, Branwen, Coran, Tiax, Xan BG1 Friendship
BG1 NPC, Romantic Encounters
#11
Posted 22 March 2007 - 12:22 AM
Retired from modding.
#12
Posted 22 March 2007 - 01:51 AM
Edited by Kulyok, 22 March 2007 - 01:51 AM.
IWD NPC, Xan, The Sellswords, Back to Brynnlaw, Assassinations, Dungeon Crawl, Reunion, Branwen, Coran, Tiax, Xan BG1 Friendship
BG1 NPC, Romantic Encounters






