游戏攻略

《石炉》mod制作教程

lee_振光 2015-12-28 石炉吧
在《石炉》(Stonehearth)游戏中,玩家自行制作MOD,那么新手玩家该怎么制作MOD呢?其实MOD制作很简单,下面是玩家“lee_振光”带来的《石炉》mod制作教程,让你知道如何制作MOD。

第四步:

编写xxx物体的合成配方:

我们打开 YYYmod/recipes/xxx_recipes.json 复制粘贴这段代码

{

"type":"recipe",

"work_units" : 3,

"recipe_name" : "xxx",

"description" : "--------------------",

"flavor" : "---------!!!!",

"portrait" : "/YYYmod/entities/decoration/xxx/xxx.png",

"ingredients": [

{

"material" : "wood resource",

"count" : 1

}

],

"produces": [

{

"item":"YYYmod:decoration:xxx"

}

]

}

注释:

1."type" 类型

2."work_units" 制作该物体的时间,3下

3."recipe_name" 显示在合成界面上的名字.也就是物体的名字.

4."description" 物体的描述文字,作用和用途.

5."flavor" 特别的描述,类似后缀描述.

6."portrait" 显示在合成界面上的图片,后面是图片存放的路径.

7."ingredients" 材料,后面跟着的是需要合成的材料和数量.

8."wood resource" 这里可以替换的,石头是"stone resource".

9."produces" 产物. 而"item":"YYYmod:decoration:xxx"这个就是前面提到的ID.

游戏介绍Introduction

最新专区
本周热门