Only if one of the players is OBJECT_TYPE_STORE instead of OBJECT_TYPE_CREATURE :) _________________________ My Submissions
Posted by lylver at 2006-05-16 05:21:10 Voted 9.00 on 05/16/06
technically the best way to do, but breaking some possibilities : anonymous ressources exchange between players in PW. _________________________ TN Bouchon 2 (PW-RP), un des "bouchons lyonnais"
Posted by lylver at 2006-05-16 05:18:39 Voted 9.00 on 05/16/06
Bioware store panel : you have option to restrict type of items that can be sold instead of just destroying them. Depends on what type of store you need, just destroying anything that comes "in" can break item exchange between players in a persistent PW.
Technically : this is the best way to do.
From the player point of view : you can let some items to make the store a point of rendez-vous and put a trashcan near for discarding of no valuable items. _________________________ TN Bouchon 2 (PW-RP), un des "bouchons lyonnais"
I do it like this on my server since I figure if it is over 10k gold it is worthy to keep it. The concept might fall apart with higher level areas though. Only time will tell :)
object oItem = GetModuleItemLost();
object oOwner = GetItemPossessor(oItem);
if (GetObjectType(oOwner) == OBJECT_TYPE_STORE)
{
if (GetGoldPieceValue(oItem) < 10000) DestroyObject(oItem, 0.1f);
}
Posted by Markshire at 2006-04-13 20:16:25 Voted 10.00 on 04/13/06
I had the same idea for the change DM Mask made except in a more realistic concept ... Anything over 1000 gold piece value is something they would retain and perhaps find a special buyer for. This covers most magic weapons and armor.
if (GetObjectType(GetItemPossessor(oItem)) == OBJECT_TYPE_STORE & GetGoldPieceValue(oItem) > 1000) DestroyObject(oItem, 0.1f);
Posted by DM Mask at 2006-04-11 14:20:53 Voted 10.00 on 04/11/06
Great method of keeping shops clean, I was actually looking for something like this. With a minor modification to deal with expensive items, its perfect for what I needed.
For anyone with a similiar GP value concern..
if (GetGoldPieceValue(oItem)>14999)return;//15K or over.. we stop. _________________________ Itinerant Admin: RPGModding.com - Where Modders Muster.
If you need to, Contact Me
Its more effective than leaving a post on a vault entry you will probably never return to look at a second time
Posted by DM Mask at 2006-04-11 14:19:37 Voted 10.00 on 04/11/06
Great method of keeping shops clean, I was actually looking for something exactly like this. _________________________ Itinerant Admin: RPGModding.com - Where Modders Muster.