NPC Rates - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: NPC Rates (/Thread-NPC-Rates) |
NPC Rates - Abuelox - 10-08-2012 08:29 PM I'm looking for a system which applies a percentage rate to get the money from the sales of each NPC (of each individual purchase by region) need help with this and do not know where to start, if someone is kind enough to help me .. . thank you very much I worth a little explanation of how to get a certain percentage of the total sale of an NPC, is what I'm stuck, thanks. RE: NPC Rates - Mordaunt - 10-09-2012 01:48 AM You'll be wanting the region tag: TAG.VENDORMARKUP - This value is added to the markup percentage that vendors apply to their buy and sell prices. Since the default markup is 15%, this means that a vendor will sell something worth 100gp at 115gp and buy it back for 85gp. If you set this tag to -15 the markup will be cancelled out to 0%, or you can raise/lower it if you want your vendor to sell things at a higher/lower price. If the vendor has this tag set directly on them then this region TAG will not be used. RE: NPC Rates - Abuelox - 10-09-2012 06:14 AM Very thanks for that function, but does this money to where it goes remain in the seller? I am trying to mount a system of taxes, and the truth not like to begin it, neither I am an expert in scripts. Thanks again Mordaunt! RE: NPC Rates - Anarch Cassius - 10-09-2012 06:38 AM .... I'm not sure. I have an idea of how to do taxes but I wrote completely new buy / sell menus for the entire system. I'm not sure you can do this with default system. RE: NPC Rates - Extreme - 10-09-2012 06:52 AM (10-09-2012 06:38 AM)Anarch Cassius Wrote: .... I'm not sure. I have an idea of how to do taxes but I wrote completely new buy / sell menus for the entire system. I'm not sure you can do this with default system.Pictures?! |