Multiple Currencies
v1.2
-- Discontinued --
Due to re-releasing this plugin (new and improved) along with a couple of others in my Economics Trinity plugin, this will no longer be supported, and the github version is removed. If you still want to use THIS version, it'll still be available on this post.
Update(1.2):
* Added alternative currencies to buy and sell items not connected with your other currencies put into the plugin parameters
* There was an issue when trying to Load Game, would not recognize the functions. They have been moved and made "unique" so they can work but not clash with any other plugins (hopefully).
Setting Up Alternate Currencies(New with v1.2!):
Setup the item/weapon/armor in the database as normal, including price. However, change the price to the number of "AltCurrency" you wish to trade for. Then place a notetag in that item's notefield:
<AltCurrency type id>
type = Item or Weapon or Armor
id = the itemId of item/weapon/armor in database.
Example: <AltCurrency Item 5>
Better Explination: Differences between the 2 notetags:
<CURRENCY: ID>
This is the notetag on an item you want to be bought and sold in that currency (that is listed as a currency item that is defined in the plugin parameters.
* This allows the system to know what to convert it as for a 'base number'. Base Number refers to the lowest form of currency (last entry in the parameters that = 1 in exchange rate.
So if you set the following: Code:
- Item1 = Gold | Exchange: 100,
- Item2 = Silver | Exchange: 10,
- Item3 = Copper | Exchange: 1
复制代码
- and you have a set of clothes that has a price of 5, and <Currency: 3>, this means it will cost 5 Copper Pieces to purchase.
<ALTCURRENCY TYPE ID>
This is the notetag to use for items you want to purchase or sell with a currency item that is
NOT in the listed currencies (plugin parameters). It works independently of the system so it doesn't convert to or from a base number.
About:
Gain and spend multiple types of currencies from the classic "Gold, Silver, and Copper" to more realistic monetary items (Dollars, Rubles, Yen, etc). This plugin is part of my "Economy" series to add more life to your world. For instructions how to setup, read the Help section. The "TLDR" version:
* Setup items in database (define which are currencies, and which one cost other currencies)
* Setup plugin parameters to match
Plugin Order:
- LvMZ_Factions.js
- LvMZ_Economy.js
-
LvMZ_Currencies.js (this one)
Terms of Use:
* Free to use and modify for commercial and noncommercial games, with credit.
* Do NOT remove my name from the Author of this plugin
* Do NOT reupload this plugin (modified or otherwise) anywhere other than these forums
Screenshots:
Spoiler: images
本贴来自国际rpgmaker官方论坛作者:lordvalinar处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/multiple-currencies.126906/