Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: CountVlad on May 26, 2010, 08:09:58 pm

Title: Falcon's Tax Script Modification?
Post by: CountVlad on May 26, 2010, 08:09:58 pm
A while back I found a script by Falcon, which allowed you to modify the prices of items in a shop before you entered it.
Here's the thread: http://forum.chaos-project.com/index.php/topic,1807.0.html

I was wondering if there is any easy way to make a new script based on that one that will change the sell price for when you sell an item to a merchant? It would need to be a completely seperate script that could be called independently from the original tax system.

If it's possible, could someone explain to me how to do it? Even better, would someone be able to make it for me? I'm still a novice at scripting.

Thanks! :)
Title: Re: Falcon's Tax Script Modification?
Post by: Jragyn on May 27, 2010, 03:45:55 am
Erm, so yu want a script that will alter the % for which you sell back items to a merchant?
ie: instead of selling items back for half price, you sell them back at full price?


--J
Title: Re: Falcon's Tax Script Modification?
Post by: CountVlad on May 27, 2010, 01:50:43 pm
Basicly, yeah. Instead of it being fixed at 50% you can set it by using a script in an event, in a very similar way to the Tax script. Do you know if there is any simple way of just modifying the tax script to change item sellback instead of item price?
Title: Re: Falcon's Tax Script Modification?
Post by: Jragyn on May 28, 2010, 12:07:46 pm
The answer! (http://forum.chaos-project.com/index.php/topic,6499.0.html)Somewhat.

Its uhh, not like, eccentric or anything, but it'll get the job done.


--J
Title: Re: Falcon's Tax Script Modification?
Post by: CountVlad on May 28, 2010, 04:56:00 pm
Wow! That's even better than I was expecting! Thanks! And... er... sorry Falcon. I'm gonna have to defect. I think I've got another script of yours, tho.
Title: Re: Falcon's Tax Script Modification?
Post by: Jragyn on May 29, 2010, 12:13:33 am
Well uhh...keep in mind, if it matters at all, Falcon's script DOES state the price altercations ingame, while mine does not, if its important to yu. Of course, if it IS important, I'm sure I could implement something along the same lines as Falcon.

ie:
Current BUY  rate: +25%
Current SELL rate: -10%



--J
Title: Re: Falcon's Tax Script Modification?
Post by: CountVlad on May 29, 2010, 08:03:45 am
No, it's one of the features I was thinking about disabling. I've got an NPC who tells you, in general terms, the 'prosperity' of the settlement. The prosperity value (-100 to +100) then directly affects the prices of merchants in that settlement. Basically what I'm trying to do is set up some kind of economy system in the game so you can actually make money from trading!
Title: Re: Falcon's Tax Script Modification?
Post by: Jragyn on May 31, 2010, 12:06:03 pm
That could be pretty awesome at least!
With the slight modification of the script I've provided, you should be able to establish that pretty well.
As you know, you can access variables within the text windows 'n stuff with '\V