Armageddon General Discussion Board

General => Code Discussion => Topic started by: Chettaman on July 23, 2012, 09:57:48 PM

Title: The barter system
Post by: Chettaman on July 23, 2012, 09:57:48 PM
You have a fancy knife
>offer knife 100
"that sounds like a fair price."

- you notice another item you can buy for 100

offer knife basket
"No deal. That is not worth enough to me."

~ Conclusion: I think if we can haggle up the number to/ or above the price of another item we should be able to trade items instead of coins. Yeah? Or was that a terrible explanation.
Title: Re: The barter system
Post by: Delirium on July 23, 2012, 10:13:50 PM
Or you can just accept the offer and then buy the basket? I know, I know, it's not as fun, but... y'know.
Title: Re: The barter system
Post by: RogueGunslinger on July 23, 2012, 10:22:30 PM
Quote from: Delirium on July 23, 2012, 10:13:50 PM
Or you can just accept the offer and then buy the basket? I know, I know, it's not as fun, but... y'know.

Too bad the merchant doesn't have enough coins.
Title: Re: The barter system
Post by: Delirium on July 23, 2012, 10:25:09 PM
So that's how long it's been since I've played. :-[
Title: Re: The barter system
Post by: The7DeadlyVenomz on July 23, 2012, 11:47:14 PM
Quote from: Delirium on July 23, 2012, 10:25:09 PM
So that's how long it's been since I've played. :-[
Eh ... no. This was certainly in place when last you played, deary.
Title: Re: The barter system
Post by: Marauder Moe on July 23, 2012, 11:50:56 PM
Wait... I thought you could already do trades.

???

http://www.armageddon.org/help/view.php?name=offer
Title: Re: The barter system
Post by: Delirium on July 23, 2012, 11:53:04 PM
Yeah yeah yeah I meant that I'd forgotten you could actually do item-for-item trades.

Worst part is I used to do that all the time with a tribal character of mine.

D'oh.

But yes, being able to haggle on item-for-item trades would be radsauce.
Title: Re: The barter system
Post by: Marauder Moe on July 23, 2012, 11:57:10 PM
I'd think that if you haggled them down to the price of what they'd pay for your item, you could then offer the item itself and make the trade.
Title: Re: The barter system
Post by: musashi on July 24, 2012, 12:24:43 AM
This would be awesome.
Title: Re: The barter system
Post by: FantasyWriter on July 24, 2012, 07:46:57 AM
I've played lots of merchants, and never messed with the item for item system more than a few times... it always makes me want to stab my eyes out.
Title: Re: The barter system
Post by: Shepard on July 24, 2012, 10:51:23 AM
I just do this:

buy item that is 100 sid

offer sword 100 X50 until he says sure

barter


At that point you have essentially just traded items - but I have often wished I could do as you said.
Title: Re: The barter system
Post by: Kankfly on July 24, 2012, 10:54:57 AM
I've never used the offer X for Y, but yes, that would be awesome +1.
Title: Re: The barter system
Post by: Marauder Moe on July 24, 2012, 11:10:34 AM
Why are you all still saying "would"/"could"?

Like I said, I think this feature is actually, currently, coded in the game right now this very moment!
Title: Re: The barter system
Post by: Barsook on July 24, 2012, 11:15:52 AM
Quote from: Marauder Moe on July 24, 2012, 11:10:34 AM
Like I said, I think this feature is actually, currently, coded in the game right now this very moment!

It's but doesn't work well.
Title: Re: The barter system
Post by: Kieandatu on July 24, 2012, 12:13:05 PM
The issue is, if you have a sword that initially offers at 50 coins, and you see a hammer that you really want, that is for sale for 55 coins, the merchant doesn't always make the trade.

And I think whats being asked for, is if you haggle the price of that hammer down to 30 coins then you should be able to offer that sword because its "worth more". As it stands, offering <item> for <item> doesn't take haggled costs into account. (And, frankly, I don't know how it could with the code)
Title: Re: The barter system
Post by: Synthesis on July 24, 2012, 09:57:28 PM
Yeah, you can't use the bonus gained by the haggle skill to trade for items, so item trading is basically useless.

You have to trade an item worth about twice as much as the item you want (in a generous shop) in order to barter item for item without using cash as an intermediate step.  You also can't bundle items (5 10 'sid items for one 50 'sid item).  Another problem is that most shops buy and sell related item types, so you're almost always downgrading your inventory if you're item-bartering, because you're ending up with a less valuable item of the same type.

This would probably be a pretty easy fix, if a coder would take a look at it.  All it seems to involve is replacing the item's base value variable with the haggled-for value variable when it comes to the item vs. item value comparison.

Multiple-item haggling would be a great addition, but perhaps more complicated to code.