Project1

标题: 求教CraftingSystem.js的使用办法 [打印本页]

作者: Denis    时间: 2016-1-17 00:35
标题: 求教CraftingSystem.js的使用办法
求教CraftingSystem.js的使用方法,,尤其是配方的制作和调用,多谢啦!

* Plugin Command:
* CraftingSystem open 0 # Opens the crafting scene for category #0
* CraftingSystem add_recipe 5: w3 # Adds the recipe of weapon #3 to recipe book #5
* CraftingSystem remove_recipe 5: a1 # Removes the recipe of armor #1 from recipe book #5
*
* Defining recipes for items, weapons and armors in their notes:
* <recipe>
* i: 1, 5 # requires 5 of item #1
* w: 3, 2 # requires 2 of weapon #3
* a: 2, 5 # requires 5 of armor #2
* c: 1000 # requires 1000 of currency
* </recipe>
*
* Defining recipe books (only key items) in their notes:
* <recipe_book>
* category: x # recipe book is of category #x
* i: 1, 3, 4 # recipe book contains the recipes of items #1, #3 and #4
* w: 3 # recipe book contains the recipes of weapon #3
* a: 2, 1 # recipe book contains the recipes of armors #1 and #2
* </recipe_book>
*
作者: Denis    时间: 2016-1-17 12:49
有人知道吗?亲
作者: taroxd    时间: 2016-1-17 13:00
你都把使用方法全部写在1L了,然后还问使用方法,这是什么意思啊?

具体的效果也要你自己试试才会知道
作者: Denis    时间: 2016-1-18 08:36
就是不知道配方具体怎么写,写在哪,怎么调用




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1