【汉化】YEP.12 – Item Upgrade Slots

YEP.12 – Item Upgrade Slots

This plugin requires the Item Core plugin as this plugin is an extension plugin for it. This plugin enables your players to be able to uprade their weapons and armors through a dedicated slot system.

这个插件需要物品核心插件,这个插件可以让你能够改进物品和装备。


Introduction


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

插件需要YEP_ItemCore,确保插件位于其下面

This plugin adds Item Upgraders, where you can select the base item and then apply the appropriate Item Upgraders onto it to boost its parameters.

这个插件添加了物品提升系统,你可以选择基础物品,然后提升等级


Notetags


The following notetags can be used to modify item upgrades.

下面的标签可以用来调整提升等级

Weapon, and Armor Notetags

<Upgrade Slots: x>

This sets the number of times an item can be upgraded instead of the default amount defined in the database.

设置物品提升的数量

<Slot Variance: x>

This makes it so that there is a random variance for the number of slots provided through the item. If this notetag isn’t used, it will go by the setting in the parameters.

提供不同随机数值,如果没有使用这个标签,则采用插件参数的值

<Upgrade Sound: filename>

Changes the upgrade sound played to ‘filename’. If this notetag isn’t used, the ‘Default Sound’ parameter sound will be used instead.

改变提升物品时播放的声音。如果没有使用这个标签,则会采用默认声音

<Upgrade Effect>
effect
effect
</Upgrade Effect>

These are the effects applied (in the order they’re listed). Refer to the ‘Upgrade Effects List’ in the next section to have those effects applied to the upgraded item.

物品提升的影响。这里有一个提升列表,可以应用

<Upgrade Item Type: All>
<Upgrade Item Type: Regular>
<Upgrade Item Type: Key>
<Upgrade Item Type: Hidden A>
<Upgrade Item Type: Hidden B>
<Upgrade Item Type: Always>
<Upgrade Item Type: Battle>
<Upgrade Item Type: Menu>
<Upgrade Item Type: Never>
<Upgrade Item Type: string>

This makes it so this item can be used to upgrade the item that matches either the item type or the item occassion. If none of those work for you, you can use the following notetag and place an instance for ‘string’ inside of the item upgrade types.

这个是你可以提升物品的类型。如果这里面没有你需要的类型,你可以用下面的标签命令来设置。

<Type: string>

Puts this type into the notebox for items (not weapons nor armors) and it will add ‘string’ as its type. You can insert multiple copies of this notetag to enable the item to have more types. Any types in here that match the types for the previous notetag will enable the item to be upgradeable by that upgrade item type.

可以把你想要的物品类型放入物品标签栏。你可以批量插入标签来获得多个类型。

<Upgrade Weapon Type: x>
<Upgrade Weapon Type: x, x, x>
<Upgrade Weapon Type: x through x>

This makes it so that only weapon types x can use this item for upgrade. If you use weapon type 0, all weapons can be upgraded using this item.

这可以让武器类型中的第x个可以提升。如果是0,则全部都可以。

<Upgrade Armor Type: x>
<Upgrade Armor Type: x, x, x>
<Upgrade Armor Type: x through x>

This makes it so that only armor types x can use this item for upgrade. If you use armor type 0, all armor can be upgraded using this item.

这可以让装备类型中的第x个可以提升。如果是0,则全部都可以。


Upgrade Effects List


The following is a list of effects you can use for the <Upgrade Effects> notetag to have it apply the desired effects to the upgraded item.

下面这个影响列表你可以用来应用提升效果

Effect Text Upgrade Effect:

Base Name: x
Changes item’s base name to x. *Note2
基础名字改为x

Boost Count: +x
Increases Boost Count by x. *Note2
增量+x

Boost Count: -x
Decreases Boost Count by x. *Note2
增量+x

Eval: x
Runs x as a piece of code. *Note2
执行代码x

Name: x
Changes item’s name to x. *Note2
物品名字改为x

Icon: x
Changes item’s icon to x. *Note2
图标改为x

Prefix: x
Changes item’s prefix to x. *Note2
前缀改为x

Priority Name: x
Sets priority name to x. *Note2
优先名字改为x

Random Stat: x
Increases or decreases ‘Stat’ by 0 to x. *Note1
增加或者减少状态0到x

Random Stat: +x
Increases ‘Stat’ by 0 to x. *Note1
增加状态0到x

Random Stat: -x
Decreases ‘Stat’ by 0 to x. *Note1
减少状态0到x

Reset Base Name
Resets the base name to default.
重置基础名字

Reset Boost Count
Resets the Boost Count to 0.
重置增量

Reset Icon
Resets the icon back to the default icon.
重置图标

Reset Prefix
Resets name prefix to default.
重置前缀

Reset Stat
Resets ‘Stat’ back to base stat values. *Note1
重置状态

Reset Suffix
Resets name suffix to default.
重置后缀

Reset Full
Resets every single aspect about item. *Note3
重置所以方面

Slots: x
Changes the slot consumption cost to x. *Note1
改变提升消耗

Stat: +x
Increases ‘Stat’ by x. *Note1
增加状态x

Stat: -x
Decreases ‘Stat’ by x. *Note1
减少状态x

Suffix: x
Changes item’s suffix to x. *Note2
改变后缀为x

Note1: ‘Stat’ is to be replaced by ‘MaxHP’, ‘MaxMP’, ‘ATK’, ‘DEF’, ‘MAT’, ‘MDF’, ‘AGI’, ‘LUK’, ‘SLOTS’, ‘ALL’ or ‘CURRENT’. ‘ALL’ affects all stats. ‘CURRENT’ affects only non-zero stats. This effect will also increase the boost count (+x) by 1 and update the item’s name.

注意1:状态可以被最大血量,魔法量,攻击,防御等等替代。并且会改变增量和物品名字

Note2: This does not alter boost count nor update the item’s name unless it is altered by the effect.

注意2:这不会改变增量或者物品名字

Note3: Because this effect resets absolutely everything about an item, it will send the player away from the upgrade menu to reset the standings of the item.

注意3:因为重置,会将角色从升级菜单跳出


Plugin Commands


The following are some Plugin Commands you can use for your game regarding the upgrade option in the item menu:

下面的插件命令你可以使用

Plugin Command:

ShowItemUpgrade

Shows the upgrade option in the item menu.
显示升级选项

HideItemUpgrade

Hides the upgrade option in the item menu.
隐藏升级选项

DisableItemUpgrade

Disables the upgrade option in the item menu.
关闭升级选项

EnableItemUpgrade

Enables the upgrade option in the item menu.
开启升级选项

You can use those Plugin Commands at any time to adjust the upgrade option.

你可以在任何时候使用插件命令来调整升级选项


Happy RPG Making!

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 199,519评论 5 468
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 83,842评论 2 376
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 146,544评论 0 330
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 53,742评论 1 271
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 62,646评论 5 359
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,027评论 1 275
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,513评论 3 390
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,169评论 0 254
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,324评论 1 294
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,268评论 2 317
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,299评论 1 329
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 32,996评论 3 315
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,591评论 3 303
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,667评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 30,911评论 1 255
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 42,288评论 2 345
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 41,871评论 2 341

推荐阅读更多精彩内容

  • 来荷兰之前,没有欣喜若狂,没有焦虑不安。仿佛一切都在被命运推着走向前方。 现在的我,不知是为谁改变,还...
    醉舞胭脂泪阅读 339评论 0 0
  • 移动支付已成为主流技术,电子商务逐渐转向移动商务,移动支付具有信息量大、防伪安全性高、可脱机作业,可多功能开发,数...
    好奇虫虫阅读 428评论 0 0