Scripted Traders (IE NPCs that buy stuff w/o the "store

Ideas and suggestions for game mechanics and rules.
Locked
User avatar
Mayhem
Otyugh
Posts: 906
Joined: Wed Aug 10, 2005 10:45 pm
Location: Norfolk

Scripted Traders (IE NPCs that buy stuff w/o the "store

Post by Mayhem »

There are a few places in ALFA where traders buy objects from you via scripts rather than via the merchant screen.

EG in TLR there are traders that buy furs, and others that buy beetle-parts.

Presumably it is done this way to make the items valuable without making them something every merchant will buy.

Is there going to be a need for this sort of thing in NWN2 (do we even know yet?). If so, I have a couple of ideas I would like to share.
*** ANON: has joined #channel
ANON: Mod you have to be one of the dumbest f**ks ive ever met
MOD: hows that ?
ANON: read what I said
ANON: You feel you can ban someone on a whim
MOD: i can, watch this
ANON: its so stupid how much power you think you have
User avatar
Fionn
Ancient Red Dragon
Posts: 2942
Joined: Sun Jan 04, 2004 7:07 am
Location: Seattle, WA

Post by Fionn »

I'd like to see a way to do this *with* a store. The scripted merchants are laggy, and often don't allow you to sell *some* of your items. NPC consigners (aka PC owned stores) would be one area they'd be needed. Fetch it quests (bring me a 'shrubbery') would be another.

I don't see a need to make sure no other merchant buys 'shrubberies', but obviously the guy that asked for it is likely to pay more.
PC: Bot (WD)

Code: Select all

     -----          -----          -----          -----
    /     \        /     \        /     \        /     \
   /  RIP  \      /  RIP  \      /  RIP  \      /  RIP  \      /
   |       |      |       |      |       |      |       |      |
  *| *  *  |*    *| *  *  |*    *| *  *  |*    *| *  *  |*    *|
_)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_(
User avatar
Mayhem
Otyugh
Posts: 906
Joined: Wed Aug 10, 2005 10:45 pm
Location: Norfolk

Post by Mayhem »

The reason I asked is I wondered if it was possible to use item tags in the scripting.

EG, take a trader that buys furs.

The furs would have tags like

Wolf pelt - ALFA_FUR_10_WOLF
Cougar Pelt - ALFA_FUR_14_COUGAR

The the trader script, instead of checking for one of several different tags and comparing it to the list of stuff it buys, extracts info from the tag name.

So -ithe script looks at the first part of the tag - "ALFA_FUR" and says, yup, thats something I buy,

Then it looks at the second part and says "And I pay xx gold for it"

So the merchant says "I see you have a (item name), I'll give you (variable extracted from tag) gold for it."

"I see you have a Wolf Pelt, I'll give you 10 gold for it."

***

Why, you ask?

Well, imagine that all of ALFA uses this trader script. A DM *anywhere* in ALFA could create a brand new, never seen before item...

EG: Winter Wolf Pelt: ALFA_FUR_30_WINWOL

And even though this item didn't previously exist, without any changes to the merchant script, every furrier accross ALFA would immediately know this is something they buy and for how much.

"I see you have a Winter Wolf Pelt, I'll give you 30 gold for it."

Would work for gems and beetle parts too, or anything that would only be bought for decent prices by a specialist buyer

/no idea if this is desirable or practical. The idea occured to me whilst writing up some excel formulas and I just wanted to share it in case it was of any use..
*** ANON: has joined #channel
ANON: Mod you have to be one of the dumbest f**ks ive ever met
MOD: hows that ?
ANON: read what I said
ANON: You feel you can ban someone on a whim
MOD: i can, watch this
ANON: its so stupid how much power you think you have
User avatar
Fionn
Ancient Red Dragon
Posts: 2942
Joined: Sun Jan 04, 2004 7:07 am
Location: Seattle, WA

Post by Fionn »

very doable, but it requires standardization across ALFA. Hit up Cypher and help build the hunter/trapper system for NWN2 ;)
PC: Bot (WD)

Code: Select all

     -----          -----          -----          -----
    /     \        /     \        /     \        /     \
   /  RIP  \      /  RIP  \      /  RIP  \      /  RIP  \      /
   |       |      |       |      |       |      |       |      |
  *| *  *  |*    *| *  *  |*    *| *  *  |*    *| *  *  |*    *|
_)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_(
Thangorn
Haste Bear
Posts: 2081
Joined: Fri Oct 01, 2004 1:00 pm
Location: Queenstown, New Zealand

Post by Thangorn »

creslyn's done it already.. I have a player run economy script to add to it so the hunters and skinners keep themselves in check.

if a certain number of furs come in over a particular period, the price will drop as the demand drops.

after a certain point the cost of the tools of the trade for hunters, trappers and skinners will outweigh the returns for a time.. it would make for more fun rp between players..
On indefinite real life hiatus

[22:52] <Veilan> obviously something sinister must be afoot if a DM does not have his social security number in his avatar name!
User avatar
Mayhem
Otyugh
Posts: 906
Joined: Wed Aug 10, 2005 10:45 pm
Location: Norfolk

Post by Mayhem »

Thangorn wrote:creslyn's done it already.. I have a player run economy script to add to it so the hunters and skinners keep themselves in check.

if a certain number of furs come in over a particular period, the price will drop as the demand drops.

after a certain point the cost of the tools of the trade for hunters, trappers and skinners will outweigh the returns for a time.. it would make for more fun rp between players..
So if a DM creates a brand new item with the right tag, any of the furriers will recognise it and buy it automatically?
*** ANON: has joined #channel
ANON: Mod you have to be one of the dumbest f**ks ive ever met
MOD: hows that ?
ANON: read what I said
ANON: You feel you can ban someone on a whim
MOD: i can, watch this
ANON: its so stupid how much power you think you have
Locked