设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 64|回复: 1

[转载发布] Multiple Currencies

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    7525

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    29057
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    37476

    灌水之王

    发表于 7 天前 | 显示全部楼层 |阅读模式
    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:       
    1. Item1 = Gold | Exchange: 100,
    2. Item2 = Silver | Exchange: 10,
    3. 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/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    回复过本主题
    的还回复过:
    累计送礼:
    0 个
    累计收礼:
    0 个
  • TA的每日心情
    无聊
    2 小时前
  • 签到天数: 22 天

    连续签到: 1 天

    [LV.4]偶尔看看III

    24

    主题

    76

    回帖

    226

    积分

    光能

    Rank: 3Rank: 3

    VIP
    0
    卡币
    126
    OK点
    0
    推广点
    0
    同能卷
    0

    积分
    226
    发表于 2 小时前 | 显示全部楼层
    强烈支持楼主ing……
    [发帖际遇]: 阿冷 发帖时在路边捡到 5 卡币,偷偷放进了口袋. 幸运榜 / 衰神榜
    累 你好勇者
    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-7-30 19:38 , Processed in 0.113725 second(s), 61 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表