Main Menu
  • Welcome to The RPG Maker Resource Kit.

Euphoria - Alternate Currencies

Started by Euphoria, August 17, 2014, 04:28:30 PM

0 Members and 1 Guest are viewing this topic.

Euphoria

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
My Website:

:tinysmile:

Arrow

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.

Euphoria

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:

modern algebra

Hey, I didn't give it a full read or anything, but as I was glancing through your code I noticed this:


#┌──────────────────────────────────────────────────────────────────────────────
#│■ 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.

Arrow

Quote from: Euphoria on August 17, 2014, 09:08:29 PM
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.

Euphoria

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:

yuyu!

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

[Spoiler=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]

[/Spoiler]

PhoenixFire

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 :)

Euphoria

Quote from: yuyu! on August 18, 2014, 01:01:54 AM
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:

Euphoria

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

:tinysmile:

PhoenixFire

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

Euphoria

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:

PhoenixFire

Quick update to link this post to one I just put up about this part:

Quote from: Euphoria on August 17, 2014, 09:08:29 PM
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