【漢化】YEP.60 – More Currencies

YEP.60 – More Currencies


Introduction


This plugin requires YEP_ShopMenuCore. Make sure this plugin is located under YEP_ShopMenuCore in the plugin list.

這個插件需要YEP_ShopMenuCore奖蔓。確保這個插件在YEP_ShopMenuCore之下芙代。

As an extension of the Shop Menu Core, this plugin enables you to have items cost multiple currencies or different currencies using variables and/or other items themselves.

作為商店菜單插件的拓展插件沐兰,可以讓你通過變量或者物品有更多的貨幣


Instructions – Variables as Currency


If you’re planning to use variables as currency (and you should!), you can set them up in a way to have them show an icon. Name your currency variable as such:

如果你想使用變量作為貨幣茄菊,你需要這樣設(shè)置他們

\i[x]Variable Name

When displayed in shops, it will show the icon and the name. However, if you want it to display only the icon and/or exclude some text, place the text inside a << and >> bracket like such:

當顯示在商店的時候尘应,它會顯示圖標和名字。如果你希望只顯示圖標辩蛋,可以用《》來隱藏

\i[x]<<Variable Name>>

That way, only the icon will be shown while all the next inside the << >> will be hidden.

這個方法挽霉,只有圖標顯示,在《》內(nèi)的文本被隱藏


Instructions – Proxies


Perhaps in your game, you would like for the player to have multiple ways of purchasing an item through one currency or another. However, inputting the costs for all of the options makes the item cost every single aspect. But, what you can do is make proxies of these items. For example, in the database will will have the following:

在游戲里所意,你玩家用不同的貨幣有很多購買方式麦萤。對于所有選項重新設(shè)置很麻煩。你可以使用物品代理功能扁眯,例如壮莹,數(shù)據(jù)庫內(nèi)這樣寫

Potion – 50 Gold
Potion (Proxy A) – 5 Gems
Potion (Proxy B) – 3 Jewels

Placing all three items in your shop normally would result in three types of potions that do not stack into the same category. However, by using this proxy notetag, you can make them all attribute to the same Potion item:

如果簡單把這3個物品放入商店,將會產(chǎn)生3種相同類型的物品姻檀∶可以,使用代理標簽绣版,你可以設(shè)置為一個物品

<Proxy Buy: x>
<Proxy Buy: name>

If you’re using this item as a proxy for another item (so you can set a different cost for the item), this item will end up representing item x, weapon x, or armor x of the same type. If you’re using a named notetag and you have multiple entries in your database with the same name, priority will be given to the item, weapon, or armor with the highest ID.

如果你使用了物品代理胶台,這個物品將會代表物品x,武器x,或者裝備x。如果你使用了名字標簽杂抽,你可以代替名字相同的物品诈唬,優(yōu)先選擇最高ID物品。

If Proxy A and B link back to the main Potion, then whenever the player buys the Proxies in the shop, they will link back to the main Potion, making it possible to buy the same item using different currencies.

如果代理A和代理B返回主物品缩麸,玩家可以通過商店購買代理從而得到主物品铸磅,讓其實現(xiàn)不同貨幣來購買同一物品。


Notetags


You can use the following notetags to adjust various properties for more currencies for your items, weapons, and armors.

你可以使用下面的標簽來調(diào)整貨幣

Item, Weapon, and Armor Notetags:

<Variable x Buy Price: y>

This sets the currency of this item, weapon, or armor to variable x with a buy price of y. You can insert multiples of this notetag to have more than one variable cost for that item, weapon, or armor.

設(shè)置變量x來購買,價格為y阅仔,你可以插入多個標簽來獲得多個變量貨幣來購買物品

<Variable x Sell Price: y>

This makes it that when selling this item, weapon, or armor, the player will gain variable x in y amount. You can insert multiples of this notetag to have more than one variable cost for that item, weapon, or armor.

設(shè)置變量x來出售吹散,價格為y,你可以插入多個標簽來獲得多個變量貨幣來出售物品

<Item x Buy Price: y>
<Item name Buy Price: y>

This sets the currency of this item, weapon, or armor to cost item x (or the named item) with a buy price of y. You can insert multiples of this notetag to have more than one item cost for that item, weapon, or armor. If you’re using Item Core, this will not work on independent items. If you are using the named version of the notetag and have multiple items in your database of the same name, priority will be given to the item with the highest ID.

設(shè)置物品x來購買八酒,數(shù)量為y空民,你可以插入多個標簽來獲得多個物品貨幣來購買物品。如果你使用了物品核心插件羞迷,對于獨立物品不會生效界轩。如果你使用了名字代碼并且有多個重名的物品,將會優(yōu)先選擇ID最高

<Item x Sell Price: y>
<Item name Sell Price: y>

When selling this item, weapon, or armor, the player will get item x (or the named item) with a quantity of y. You can insert multiples of this notetag to have more than one item cost for that item, weapon, or armor. If you’re using Item Core, this will not work on independent items. If you are using the named version of the notetag and have multiple items in your database of the same name, priority will be given to the item with the highest ID.

設(shè)置物品x來出售衔瓮,數(shù)量為y耸棒,你可以插入多個標簽來獲得多個物品貨幣來出售物品。如果你使用了物品核心插件报辱,對于獨立物品不會生效。如果你使用了名字代碼并且有多個重名的物品单山,將會優(yōu)先選擇ID最高

<Weapon x Buy Price: y>
<Weapon name Buy Price: y>

This sets the currency of this item, weapon, or armor to cost weapon x (or the named weapon) with a buy price of y. You can insert multiples of this notetag to have more than one weapon cost for that item, weapon, or armor. If you’re using Item Core, this will not work on independent items. If you are using the named version of the notetag and have multiple items in your database of the same name, priority will be given to the item with the highest ID.

設(shè)置武器x來購買碍现,數(shù)量為y,你可以插入多個標簽來獲得多個武器貨幣來購買物品米奸。如果你使用了物品核心插件昼接,對于獨立物品不會生效。如果你使用了名字代碼并且有多個重名的物品悴晰,將會優(yōu)先選擇ID最高

<Weapon x Sell Price: y>
<Weapon name Sell Price: y>

When selling this item, weapon, or armor, the player will get weapon x (or the named weapon) with a quantity of y. You can insert multiples of this notetag to have more than one weapon cost for that item, weapon, or armor. If you’re using Item Core, this will not work on independent items. If you are using the named version of the notetag and have multiple items in your database of the same name, priority will be given to the item with the highest ID.

設(shè)置武器x來出售慢睡,數(shù)量為y,你可以插入多個標簽來獲得多個武器貨幣來出售物品铡溪。如果你使用了物品核心插件漂辐,對于獨立物品不會生效。如果你使用了名字代碼并且有多個重名的物品棕硫,將會優(yōu)先選擇ID最高

<Armor x Buy Price: y>
<Armor name Buy Price: y>

This sets the currency of this item, weapon, or armor to cost armor x (or the named armor) with a buy price of y. You can insert multiples of this notetag to have more than one armor cost for that item, weapon, or armor. If you’re using Item Core, this will not work on independent items. If you are using the named version of the notetag and have multiple items in your database of the same name, priority will be given to the item with the highest ID.

設(shè)置裝備x來購買髓涯,數(shù)量為y,你可以插入多個標簽來獲得多個裝備貨幣來購買物品哈扮。如果你使用了物品核心插件纬纪,對于獨立物品不會生效。如果你使用了名字代碼并且有多個重名的物品滑肉,將會優(yōu)先選擇ID最高

<Armor x Sell Price: y>
<Armor name Sell Price: y>

When selling this item, weapon, or armor, the player will get armor x (or the named armor) with a quantity of y. You can insert multiples of this notetag to have more than one armor cost for that item, weapon, or armor. If you’re using Item Core, this will not work on independent items. If you are using the named version of the notetag and have multiple items in your database of the same name, priority will be given to the item with the highest ID.

設(shè)置裝備x來出售包各,數(shù)量為y,你可以插入多個標簽來獲得多個裝備貨幣來出售物品靶庙。如果你使用了物品核心插件问畅,對于獨立物品不會生效。如果你使用了名字代碼并且有多個重名的物品,將會優(yōu)先選擇ID最高

<Proxy Buy: x>
<Proxy Buy: name>

If you’re using this item as a proxy for another item (so you can set a different cost for the item), this item will end up representing item x, weapon x, or armor x of the same type. If you’re using a named notetag and you have multiple entries in your database with the same name, priority will be given to the item, weapon, or armor with the highest ID.

如果你使用物品作為代理按声,這個物品最后代表物品x,或者武器裝備x膳犹。如果你使用了名字代碼,數(shù)據(jù)庫會優(yōu)先選擇ID最高的


Happy RPG Making!

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末签则,一起剝皮案震驚了整個濱河市须床,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌渐裂,老刑警劉巖豺旬,帶你破解...
    沈念sama閱讀 212,080評論 6 493
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異柒凉,居然都是意外死亡族阅,警方通過查閱死者的電腦和手機,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,422評論 3 385
  • 文/潘曉璐 我一進店門膝捞,熙熙樓的掌柜王于貴愁眉苦臉地迎上來坦刀,“玉大人,你說我怎么就攤上這事蔬咬±鹨#” “怎么了?”我有些...
    開封第一講書人閱讀 157,630評論 0 348
  • 文/不壞的土叔 我叫張陵林艘,是天一觀的道長盖奈。 經(jīng)常有香客問我,道長狐援,這世上最難降的妖魔是什么钢坦? 我笑而不...
    開封第一講書人閱讀 56,554評論 1 284
  • 正文 為了忘掉前任,我火速辦了婚禮啥酱,結(jié)果婚禮上爹凹,老公的妹妹穿的比我還像新娘。我一直安慰自己镶殷,他們只是感情好逛万,可當我...
    茶點故事閱讀 65,662評論 6 386
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著批钠,像睡著了一般宇植。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上埋心,一...
    開封第一講書人閱讀 49,856評論 1 290
  • 那天指郁,我揣著相機與錄音,去河邊找鬼拷呆。 笑死闲坎,一個胖子當著我的面吹牛疫粥,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播腰懂,決...
    沈念sama閱讀 39,014評論 3 408
  • 文/蒼蘭香墨 我猛地睜開眼梗逮,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了绣溜?” 一聲冷哼從身側(cè)響起慷彤,我...
    開封第一講書人閱讀 37,752評論 0 268
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎怖喻,沒想到半個月后底哗,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 44,212評論 1 303
  • 正文 獨居荒郊野嶺守林人離奇死亡锚沸,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 36,541評論 2 327
  • 正文 我和宋清朗相戀三年跋选,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片哗蜈。...
    茶點故事閱讀 38,687評論 1 341
  • 序言:一個原本活蹦亂跳的男人離奇死亡前标,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出距潘,到底是詐尸還是另有隱情炼列,我是刑警寧澤,帶...
    沈念sama閱讀 34,347評論 4 331
  • 正文 年R本政府宣布绽昼,位于F島的核電站,受9級特大地震影響须蜗,放射性物質(zhì)發(fā)生泄漏硅确。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 39,973評論 3 315
  • 文/蒙蒙 一明肮、第九天 我趴在偏房一處隱蔽的房頂上張望菱农。 院中可真熱鬧,春花似錦柿估、人聲如沸循未。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,777評論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽的妖。三九已至,卻和暖如春足陨,著一層夾襖步出監(jiān)牢的瞬間嫂粟,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 32,006評論 1 266
  • 我被黑心中介騙來泰國打工墨缘, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留星虹,地道東北人零抬。 一個月前我還...
    沈念sama閱讀 46,406評論 2 360
  • 正文 我出身青樓,卻偏偏與公主長得像宽涌,于是被迫代替她去往敵國和親平夜。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當晚...
    茶點故事閱讀 43,576評論 2 349

推薦閱讀更多精彩內(nèi)容