rpgmakermv(6) YEP_ItemSynthesis.js物品合成插件
物品合成插件。
用途?太多了呢。
低级宝石合成高级,还有装备,武器,药水等等。
============================================================================
Introduction
============================================================================
Item synthesis is now a pretty common aspect of most RPG's where the player
can craft their own items after acquiring recipes. This plugin enables your
players to be able to do that after acquiring the said recipes. Recipes can
come in the form of items, weapons, and/or armors and transcribed in them
are what items, weapons, and/or armors they can make. These items can be
made from the main menu and/or synthesis locations!
============================================================================
Notetags
============================================================================
To allow the player the ability to craft a certain item, that item must be
included in a recipe notetag in an item that the player possesses.
Item, Weapon, and Armor Notetags:
<Item Recipe: x>
<Item Recipe: x, x, x>
<Item Recipe: x to y>
This will change this item into a recipe for x item(s). As long as this
item is in possession by the party as a whole, item(s) x can be
synthesized by the player provided that the player has the proper quantity
of ingredients.
* Note: Entries without names will not be included. Entries without both a
synthesis cost and without an ingredient list will not be included.
<Weapon Recipe: x>
<Weapon Recipe: x, x, x>
<Weapon Recipe: x to y>
This will change this item into a recipe for x weapon(s). As long as this
item is in possession by the party as a whole, weapon(s) x can be
synthesized by the player provided that the player has the proper quantity
of ingredients.
* Note: Entries without names will not be included. Entries without both a
synthesis cost and without an ingredient list will not be included.
<Armor Recipe: x>
<Armor Recipe: x, x, x>
<Armor Recipe: x to y>
This will change this item into a recipe for x armor(s). As long as this
item is in possession by the party as a whole, armor(s) x can be
synthesized by the player provided that the player has the proper quantity
of ingredients.
* Note: Entries without names will not be included. Entries without both a
synthesis cost and without an ingredient list will not be included.
<Synthesis Ingredients>
item id
item id: x
weapon id
weapon id: x
armor id
armor id: x
gold: x
named item
named item: x
</Synthesis Ingredients>
Using the above tag in an item will set those items as the ingredients
required for the player to synthesize. Replace "id" with the proper item,
weapon, or armor ID's. If no ":x" is used, the database will register that
as only needing 1 of that item as an ingredient. If "gold: x" is used,
that will be the cost required to synthesize the item.
If you are using named entries, priority will be given to the highest ID
in the order of items, weapons, then armors.
* Note: If you are using Item Core, Independent Items cannot become an
ingredient for a recipe and will therefore be automatically omitted.
<Mask Name: x>
If you are masking unknown items' names, you can change the text shown for
the unknown item with x. This will cause the game to use the mask name
instead of the usual ??? (if that's what you're using) to mask the item.
This can give a player a general idea of what they may be synthesizing
such as "Strange Liquid" or "Weird Crystal".
============================================================================
Lunatic Mode - Custom Synthesis Effects
============================================================================
For those with a JavaScript experience, you can use these notetags to make
a custom effect that will occur when a specific item is synthesized. For
example, when a Potion is made, you can give the player an empty bottle as a
side product of the synthesis.
---
Item, Weapon, and Armor Notetags:
<Custom Synthesis Effect>
var bottle = $dataItems[123];
$gameParty.gainItem(bottle, 2);
</Custom Synthesis Effect>
For this notetag, the 'item' variable will refer to the item being
synthesized. Changing it will do nothing but it will be used as a
convenience variable to refer to it.
---
============================================================================
Plugin Commands
============================================================================
The following are Plugin Commands you may use with events.
Plugin Command:
OpenSynthesis Opens up the Synthesis Scene from the field.
ShowSynthesis Shows the Synthesis command from the main menu.
HideSynthesis Hides the Synthesis command from the main menu.
EnableSynthesis Enables the Synthesis command from the main menu.
DisableSynthesis Disables the Synthesis command from the main menu.
For those who wish to make the player synthesize only specific recipes, you
can use the following command.
OpenSynthesis Item 15 Recipe
- or -
OpenSynthesis Weapon 20 Recipe
- or -
OpenSynthesis Armor 30 Recipe
This will make the synthesis menu, when opened up, only allow the recipes of
the Item 15, Weapon 20, or Armor 30 without needing it and not showing the
recipes of any recipe items within the player's inventory.
============================================================================
Changelog
============================================================================
Version 1.10:
- Added 'Amount Format' plugin parameter. Now you can switch the way the
needed ingredients are shown between Need/Own and Own/Need.
Version 1.09:
- Updated for RPG Maker MV version 1.5.0.
Version 1.08:
- Lunatic Mode fail safes added.
Version 1.07:
- Added <Custom Synthesis Effect> Lunatic Mode notetag.
Version 1.06:
- Fixed an error with the calculation of total recipes.
Version 1.05:
- Updated for RPG Maker MV version 1.1.0.
Version 1.04:
- Added failsafes to prevent crashes from saved games that did not have this
plugin already installed.
Version 1.03a:
- Fixed a bug that caused a crash for OpenSynthesis recipe commands.
- Fixed an issue with recipe counts not appearing right.
Version 1.02:
- Added 'Equipped Recipes' plugin parameter. If enabled, this will allow the
Item Synthesis menu to check your party's equipment to see if any of them
are recipe holders.
Version 1.01:
- Fixed a bug with the synthesis gold costs taking more than they should.
- Extended the OpenSynthesis plugin command. If you add Item, Weapon, or
Armor after the command along with an ID, the synthesis menu will only show
the items listed on the recipe for Item x, Weapon x, or Armor x.
Version 1.00:
- Finished Plugin!
-----------------------------------------------------------------------------------------------------------
rpgmakermv(6) YEP_ItemSynthesis.js物品合成插件的更多相关文章
- 给Chrome和Firefox添加js脚本作为插件的方法
为了防止无良网站的爬虫抓取文章,特此标识,转载请注明文章出处.LaplaceDemon/ShiJiaqi. http://www.cnblogs.com/shijiaqi1066/p/5973141. ...
- 原生js日期时间插件鼠标点击文本框弹出日期时间表格选择日期时间
原文出处 (这是我从互联网上搜来的,感觉能满足各方面的需求.个人感觉挺不错的,所以后期修改了一下向大家推荐!) 效果图: html代码: <!DOCTYPE html PUBLIC " ...
- 手写js面向对象选项卡插件
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8&qu ...
- 手写JS无缝滚动插件
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8&qu ...
- Js与flash交互:在html页面中用js与MyReport插件交互
Html页面与flash的加载 如下图,flash是html页面的一个插件节点. js与flash进行交互,首先要处理好html页面和swf的加载问题. Swf调用外部js方法,要确保js方法已存在, ...
- 纯js客服插件集qq、旺旺、skype、百度hi、msn
原文 纯js客服插件集qq.旺旺.skype.百度hi.msn 客服插件,集qq.旺旺.skype.百度hi.msn 等 即时通讯工具,并可自己添加支持的通讯工具,极简主义,用法自己琢磨.我的博客 h ...
- js封装成插件
由于项目原因,工作一年多还没用js写过插件,项目太成熟,平时基本都是在使用已经封装好的功能插件.感觉自己好low......这两天想自己抽空写一个canvas画统计图与折现图的插件,所以就去网上学习了 ...
- 原生js版分页插件
之前我在自己的博客里发表了一篇用angularJs自定义指令实现的分页插件,今天简单改造了一下,改成了原生JavaScript版本的分页插件,可以自定义一些简单配置,特此记录下来.如有不足之处,欢迎指 ...
- 好用的jquery.animateNumber.js数字动画插件
在做公司的运营报告页面时,有一个数字累计增加的动画效果,一开始,毫无头绪,不知如何下手,于是上网查资料,发现大多都是用的插件来实现的,那么今天,我也来用插件jquery.animateNumber.j ...
随机推荐
- Django配合MySQL学习Django模型外键的建立和使用
Django 模型建立外键 在模型中建立外键是很简单的,基本操作如下 class Table(models.Model) column_name = models.ForeignKey(other-T ...
- 【CF886E】Maximum Element DP
[CF886E]Maximum Element 题意:小P有一个1-n的序列,他想找到整个序列中最大值的出现位置,但是他觉得O(n)扫一遍太慢了,所以它采用了如下方法: 1.逐个遍历每个元素,如果这个 ...
- squid白名单
http_access deny all #取消注释 http_access allow all --> http_access allow xxx_custom_ip #添加系统服务器IP白名 ...
- javascript中top、clientTop、scrollTop、offsetTop的讲解(转载加总结)
scrollHeight: 获取对象的滚动高度. scrollLeft:设置或获取位于对象左边界和窗口中目前可见内容的最左端之间的距离 scrollTop:设置或获取位于对象最顶端和窗口中可见内容的最 ...
- Hibernate的10个常见面试问题及答案
在Java J2EE方面进行面试时,常被问起的Hibernate面试问题,大多都是针对基于Web的企业级应用开发者的角色的.Hibernate框架在Java界的成功和高度的可接受性使得它成为了Java ...
- XCache 一种快速可靠的PHP操作码缓存
1,错误报告开启 错误报告是在PHP中一个非常有用的功能,应同时在开发阶段启用. 这可以帮助我们确定我们的代码中的问题. 最常用的功能是“E_ALL”,这有助于我们发现所有的警告和严重错误. 必须指出 ...
- vs中如何添加库目录、包含目录以及依赖-----转
在生成时,可能需要首先生成某些项目,以便生成由其他项目使用的可执行代码.使用 “解决方案属性页”对话框 ->“通用属性”->“项目依赖项” 设置当前生成顺序.若要访问此对话框,请在“解决方 ...
- 【太虚AR_v0.1】使用教程 | SLAM(Markerless)
https://blog.csdn.net/VOID_AR/article/details/77715274
- Linux:32/64位程序(应用程序、共享库、内核模块)
摘要: Linux系统区分32/64位,相应地,应用程序.共享库和内核模块也区分32/64位. 本文以Ubuntu系统为例,介绍如何编译和使用32/64位的应用程序.共享库和内核模块. 1. 应用程序 ...
- Pragma: no-cache
PHP Advanced and Object-Oriented Programming Larry Ullman Last-Modified 最后修改时间 Expires 过期时间 Pragma ...