Jump to content
TBWCS

[RGSS3] Item, Weapon and Armor Price Change

Recommended Posts

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 by Soulpour777

Share this post


Link to post
Share on other sites

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 by KevinFrost

Share this post


Link to post
Share on other sites

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 by SoulPour777

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×