Reduce item sell price/item value
Terrorble
Member Posts: 183
I'm trying to reduce the sell price of an item in a player inventory to 1 or nothing, but can't see how to do this.
I've tried applying ItemPropertyQuality(IP_CONST_QUALITY_RUINED) and editing iprp_qualcost.2da cost column to -9999 and 0.0001, but neither seems to have any effect on the selling price of the item.
I can suppress the effects when the player opens a store, but I don't see an event for when a player leaves a store to reinstate them.
I have ranged weapons that add bonuses to ammunition as they are equipped - kinda like infinite ammo, except I have more control over what gets added. The problem is that you can buy mundane ammo, equip it, then resell it and gain infinite money.
Any ideas about how to handle this are welcome.
I've tried applying ItemPropertyQuality(IP_CONST_QUALITY_RUINED) and editing iprp_qualcost.2da cost column to -9999 and 0.0001, but neither seems to have any effect on the selling price of the item.
I can suppress the effects when the player opens a store, but I don't see an event for when a player leaves a store to reinstate them.
I have ranged weapons that add bonuses to ammunition as they are equipped - kinda like infinite ammo, except I have more control over what gets added. The problem is that you can buy mundane ammo, equip it, then resell it and gain infinite money.
Any ideas about how to handle this are welcome.
0
Comments