RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Euphoria - Alternate Currencies

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 39
RMRK Junior
ALTERNATE CURRENCIES
V1.1
 
 



 
Introduction
This script gives you the ability to create new and separate currencies for your game to use. Up to seven of these currencies can be shown in the menu, and a currency view scene can be added to the menu as well. By using script calls, you can change the amount of each currency the party has, and through a conditional branch check to see if the player can buy items with this currency. Use your imagination a bit and there are lots of possibilities!
 
Suggestions/Errors?
If you notice any errors or have any suggestions for this script, feel free to comment them here or on my website, thanks!
 
Special Thanks
TheoAllen

Credits
Credit me (Euphoria) if you want to use this script. The rest of the terms of use are in the scripts header.
 
Download Below
Alternate Currencies Download

Add-Ons:
Alternate Currency Shops
« Last Edit: August 20, 2014, 02:49:25 PM by Euphoria »
My Website:

:tinysmile:

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
This is a neat idea, Euphoria. Good on you for coming up with something unique and interesting- it's the little touches like this that make a game stand out.

***
Rep:
Level 39
RMRK Junior
Thanks :) I really appreciate it. I do have plans to add shops that take the currencies and maybe even a currency exchange scene with varying exchange rates!
My Website:

:tinysmile:

*
Rep:
Level 97
2014 Best RPG Maker User - Engine2014 Most Unsung Member2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Most Mature Member2011 Favourite Staff Member2011 Best RPG Maker User (Scripting)2011 Best Veteran2010 Favourite Staff Member2010 Most Mature Member
Hey, I didn't give it a full read or anything, but as I was glancing through your code I noticed this:

Code: [Select]
#┌──────────────────────────────────────────────────────────────────────────────
#│■ ExtraCurrencies
#└──────────────────────────────────────────────────────────────────────────────
class NewCurrency
  attr_accessor :name
  attr_accessor :symbol
  attr_accessor :desc
  attr_accessor :icon
  attr_accessor :max
  attr_accessor :amount
  attr_accessor :enabled
   
  #NEW - INITIALIZE
  def initialize(name, symbol, desc, icon, max, amount, enabled)
    @name = name
    @symbol = symbol
    @desc = desc
    @icon = icon
    @max = max
    @amount = amount
    @enabled = enabled
  end
   
end

I recommend that you take a look at structs.

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
Thanks :) I really appreciate it. I do have plans to add shops that take the currencies and maybe even a currency exchange scene with varying exchange rates!

Excellent idea, you'll definitely benefit from capitalizing on the groundwork you've already laid down. These are some general concepts that I feel like most people using this system will want to implement, and having a structure for them to build off of, and helpful tools for them to use will make your script all the more indispensable.

***
Rep:
Level 39
RMRK Junior
Thanks for the info MA! I'll definitely look into it.

And yeah, there really is a lot that can be done with this script with a bit of thinking, I just hope that the add-ons I want to create aren't too tough for me xD
My Website:

:tinysmile:

*
The Hero of Rhyme
Rep:
Level 83
( ͡° ͜ʖ ͡°)
2014 Best RPG Maker User - StoryProject of the Year 20142014 Queen of RMRK2011 Best Newbie2014 Best RPG Maker User - Creativity2014 Kindest Member2013 Queen of RMRKBronze SS AuthorBronze Writing ReviewerSecret Santa 2013 ParticipantFor taking arms in the name of your breakfast.GOOD!For frequently finding and reporting spam and spam bots2012 Best Yuyubabe Smiley2012 Best RPG Maker User (Creativity);o
Very cool! :-) The currency info viewing is optional, right? I like it, but I always keep my menus simple. ;o
Spoiler for My Games and Art:
ℒℴѵℯ❤


My Artwork Thread

The Lhuvia Tales [Current]

Ambassador [Complete]

The Postman [Complete]

The Wyvern [Complete]

Phoenix Wright: Haunted Turnabout [Complete]

Major Arcana [Cancelled]


*
Rep:
Level 72
~Few people understand the beauty of the night~
2014 Best Topic
Love the idea, just wish it were an XP script =p

I can also see this being used for many different scenarios, such as keeping track of gold for use with merchants, and maybe gems like rubies and sapphires for use with vendors of other races? I can see alot of uses for this :)
Download http://a.tumblr.com/tumblr_lm5v281q6E1qde50fo1.mp3

***
Rep:
Level 39
RMRK Junior
Very cool! :-) The currency info viewing is optional, right? I like it, but I always keep my menus simple. ;o

Yup completely optional, and you can always call it from an event as well! Thanks :)

And thank you Phoenix! That's basically what I had in mind was different currencies for special vendors or different countries/areas! I was just hoping other people would see the potential as well, which so far they have! It is a bit hard to use right now without a working full store, but that's being worked on!
My Website:

:tinysmile:

***
Rep:
Level 39
RMRK Junior
1.1) Adds compatibility with my new script "Alternate Currency Shops" which allows shops to be made for alternate currencies!
My Website:

:tinysmile:

*
Rep:
Level 72
~Few people understand the beauty of the night~
2014 Best Topic
Seriously though, someone needs to make this in XP (actually, I wonder if it's simple enough for the ace engine to handle.. I will have to try it out that way first!)

I saw the oter script, and it looks fantastic as well :P
Download http://a.tumblr.com/tumblr_lm5v281q6E1qde50fo1.mp3

***
Rep:
Level 39
RMRK Junior
Thanks, this one was actually made with quite a bit of reference material, the currencies shop was made with very little. So I'm gradually learning to code better xD

I would port it to XP if I new the differences in coding for RGSS and 3. Sadly, I don't :/
My Website:

:tinysmile:

*
Rep:
Level 72
~Few people understand the beauty of the night~
2014 Best Topic
Quick update to link this post to one I just put up about this part:

I do have plans to add shops that take the currencies and maybe even a currency exchange scene with varying exchange rates!



As Euphoria seems to have fallen off the face of the earth, at least temporarily, I have made an event system for currency exchange. More info and download link on this post: http://rmrk.net/index.php?topic=50042.0
Download http://a.tumblr.com/tumblr_lm5v281q6E1qde50fo1.mp3