+ TBWCS 951 Posted January 15, 2014 (edited) NOTICE: This script is not anymore supported and the website it was hosted to has been long gone deleted and dead. This script is not anymore available. Edited November 16, 2016 by Soulpour777 1 TheHarmp reacted to this Share this post Link to post Share on other sites
KayDgirl91 99 Posted January 15, 2014 (edited) Seems like a simple script! Nicely done It's very nice to have such specific control over each items price. Edit: Would it be possible to make it so that you can change a certain type by a percentage? Like, be able to increase all items by 25%? Or increase all weapons by 50%? I think that would be kind of handy. Just a suggestion though, you don't need to implement it if that's not how you want your script to be set up. Edited January 15, 2014 by KevinFrost 1 TBWCS reacted to this Share this post Link to post Share on other sites
+ TBWCS 951 Posted January 15, 2014 (edited) Yes, there is actually a way to implement this. This however is manually done via the price change event. For example, we have an item Potion with the price of 50. Now you want to change it by percentage, right? This is where the Percent of a Number works. For example, you want to change it by 25% of 500. All you have to do is: Price_Change.item(1, 500 * 0.25) But one thing will change here, your currency becomes a decimal number. 500 is just an example of the range your percentage will be Sorry if this was a long explanation for the script. Edited January 15, 2014 by SoulPour777 Share this post Link to post Share on other sites
TheoAllen 830 Posted January 15, 2014 For percentage, I would prefer use Price_Change(1, $data_items[1].price * 0.25) that is not so much different Share this post Link to post Share on other sites