This is an UNOFFICIAL bugfix version of Casper667's CSCA Currency System, meant for general compatibility with many scripts it otherwise does not work well with at all.
It's unofficial because I have tried to get in touch with Casper through official channels and I have yet to be able to (his email seems to be dead for starters), and based on a search of Google, he has become a ghost. His scripts have been in dire need of support, and since this is the case, after discussion with site staff, I have been allowed to post this topic.
Do note all the original conditions still apply (insofar as they can be obeyed, as explained above), as found here:
http://www.caspergaming.com/terms_of_use.html
The original script is from here:
http://www.caspergaming.com/ScriptRedirect.php?dir=Scripts/Ace&file=CSCA_CurrencySystem&ext=txt
And, assuming his site's commercial license payment system still works, you MUST use that to use this script in a commercial game, as per his original terms.
This is a modified version of Casper's script meant to work with many Yanfly scripts, as well as Black Morning's Icon Module, but it must be loaded towards the bottom of your script list.
Here are specific instructions for making it work with certain scripts that my modifications alone will not fix:
Blackmorning's Icon module: All lines regarding the display of the gold icon must be commented out or removed (recommend the former). Otherwise, both scripts will work but will have clashing overlapping gold icons.
Yanfly's Victory Aftermath: This script works with my modified version just fine, but has the problem of displaying garbage characters for the gold entry in the victory drops screen, so make sure it's above the currency script and comment out this line in the script:
draw_currency_value(@gold, text, rect.x, rect.y, rect.width)
(this should be line 1100)
If done properly, gold and other currency gained after a battle will be rendered as under the stock engine interface. It will render silently in the background of the victory drops screen immediately afterwards, but will not display due to the commented out line (the first line will be blank in said screen), due to otherwise producing garbage characters if not commented out.
Do note I'm no experienced coder, and my fixes are UGLY, mostly removals and commenting out of lots of code that otherwise will cause many Yanfly scripts especially to horrendously break to the point of game crashes. These fixes otherwise preserve the essentials of the currency script, except gold will no longer tint the numerical value for it yellow (removed for compatibility with scripts that alter the gold value/text) in menus.
Regardless, I have tested this bugfix version under various conditions and unless I missed something, it should be 500% more compatible with other scripts than it was before. And assuming Casper shows back up and fixes things instead, I urge everyone to use his fixes instead of mine.