[crossfire] [Re]Player Owned Shops

tchize tchize at myrealbox.com
Sun Mar 19 06:39:12 CST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Price in real shops depends on charisma of buyer and a shop
expensiveness factor set in shop maps. I suppose in player owned shop,
you don't want a price to change depending on charisma, and so you
can't check a minimum value easily.

Alberto Sáez Lodeiros a écrit :

> I think this is a good idea.
>
> The problem of hihg leveled items to be sold at low plat, can be
> solved relatively easy: I dont know how the source code does this,
> but the idea is this: all items have a value (or variable, i
> supose) that store the selling prize in normal shops. So, you can
> set the minimun selling prize for player's shops at 1/3 less than
> normal shops. A sample of this could be: We have a Bonecrusher, and
> we can sell it for 300 platinum at a normal shop in Scorn, then,
> the minimun prize of Bonecrusher in our shop will be: 3000 - 3000 *
> 1/3 = 2000. So, the formulae can be [ Real_Prize - Real_Prize * 1/3
> ].
>
> I have write 1/3, but it can be more or less, it was just a sample.
>
>
> -- Powered By SuSE Linux 10.0
>
>
> ----------------------------------------------------------------------
>
>
> _______________________________________________ crossfire mailing
> list crossfire at metalforge.org
> http://mailman.metalforge.org/mailman/listinfo/crossfire


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEHVDwHHGOa1Q2wXwRAqs3AJ9QQUoKiUb2pdaYYweb/lvTCM4y2QCgiImO
cFImYXHLgN2sF+b0RcSv8yA=
=WzB9
-----END PGP SIGNATURE-----




More information about the crossfire mailing list