The RPG Maker Resource Kit
RMRK RPG Maker Creation => VX Ace => VXA Scripts Database => Topic started by: Kalacious on July 19, 2013, 10:22:29 PM
-
CURRENCY GENERATOR/SHOP
Version 1.0 - Initial release
Version 1.0.1
- Script is now a default menu action. See the bottom of the currency script header for more info.
- Currency Windows now function properly.
- Also: Fixed Forum post links
So what is it? Why am I using it? Why do I care?
This set of scripts is designed for you to create new currencies and shops based on those currencies.
So how do I use the script it's self?
Read the header(s). Its detailed enough, I hope.
Couple things to note:
- You cannot create a shop based on a currency that doesn't exist!
- You cannot create more then one shop in the hash for a given currency, use the script calls to do that.
- All currencies are created by their currency symbol given as the core key for the hash
- All Shops, when using the hash, are created based on currency used as the core key for the hash.
- All Shop's item_type's, item_id's and prices MUST be the same array length!
Failure to follow these is not my fault when it comes to script errors. Please check these when encountering any errors.
Enough babble! Show me the scripts!
Currency Generator
----> Due to post length restriction, you can find the custom currency script over here, as a gist. (https://gist.github.com/AdamKyle/6046633)
Shops
----> Due to post length restriction, you can find the shop script over here, as a gist. (https://gist.github.com/AdamKyle/6046623)
GPL vs 3
Because the script's state I have supplied you with the GPL license, you can read it here: GPL 3 (http://www.gnu.org/licenses/gpl.html)
-
It seems like this could be a very useful script for some games.
For the Script Index, would you prefer to be recorded as Kalacious or Vindictive Personality?
Also, if you do prefer Kalacious, I can change your visible name on the forum as well (though you'd still login as Vindictive Personality)
-
Kalacious. I log in every where as Kalacious. Thanks MA
-
Done. Again, you will still log in as Vindictive Personality, but the name everyone sees will be Kalacious.
-
Thank you.
-
Sorry for the bump:
1.0.1 was released. this fixes crashing issues and add the currency window to the main menu as the last option. Please see bottom of currency generator script for details.
-
Release 1.0.2 of Currency Script - Fixed alignments and cleaned up some icons.
-
Is it possible to make a demo for better understanding?
I tried to use it, but can't get that running in game. :/
I can creat the currency, but allways fail on creating the shops. :'( (\s/)
If I use that:
create_shop('curr', purchase_only = false)
For comment nothing happens and if I use it as script, that what in the Attachment is happens. :'( /)