泽渔 发表于 2020-8-25 19:37:33

【ZU种植】MOD

本帖最后由 泽渔 于 2021-8-20 15:47 编辑

【春天种下一颗种子,秋天收获一堆果实】

1.浇水会减少所需要的时间,肥料会减少所需要的时间上限。
2.施肥最多将植物的成长时间上限设置成10s,
3.植物图片高度可不一致。

1. Watering will reduce the time required, and fertilizer will reduce the upper limit of the time required.
2. When fertilizing, set the upper limit of plant growth time to 10s at most,
3. The height of the plant picture is allowed to be inconsistent.

4.在数据库的道具数据库中:
注意:确保将@填写在物品说明最后面
第一个@是确定分类,第二个@是确定数值。
如果是种子(用于种植的道具)则第一个@后填写1,然后第二个@后填写植物id。
如果是水(用于浇水的道具)则第一个@后填写2,然后第二个@后填写数值。
如果是肥料(用于施肥的道具)则第一个@后填写3,然后第二个@后填写数值。

4. In the prop description:
【Note: Be sure to fill in @ at the end of the item description. 】
The first @category, the second @number.
For seeds (props used for planting), fill in 1 in the first @ and the plant id in the second @.
For water (props used for watering), fill in 2 in the first @, and then fill in the value for the second @.
For fertilizer (props used for fertilization), fill in 3 in the first @, and then fill in the value for the second @.


5.关于界面:(已经修复)
6.在2021.6.20对种植MOD进行了优化,彻底开源了MOD并且修改了植物的生成方式。
现在为了确保使用正常,你需要在如图所示的地方添加上一行代码。

代码在下方↓
//清除已经存在的数据
    for (var q = 0; q < zuNowPlantPic.length; q++) {
      if(zuNowPlantPic!=undefined){
            zuNowPlantPic.disposeBase();
            zuNowPlantPic = undefined;
      }
    }
    //清除全部数据
    zuNowPlantPic = [];

代码在上方↑
图:


7.感谢购买与使用种植MOD。

8.©泽渔

9.新版本的种植MOD可以让你的植物动起来,但太多的话可是会卡的哦!
在这里关闭


10.增加植物和修改MOD脚本的位置:




2020.8.26更新:更新了界面图标,更新了种植密度概念,优化了植物遮挡,优化了界面
2020.8.28更新:修复了一点BUG,增加了种植区块的概念,需要自行设置。
2021.6.20更新:将MOD彻底开源,优化了植物的生成方式。








aa1320461559 发表于 2020-8-26 11:19:03

还可以吧。。。。。。

小八馍馍 发表于 2020-8-26 11:23:03

这个mod真香啊

泽渔 发表于 2020-8-26 15:40:34

8.26更新:更新了界面图标,更新了种植密度概念,优化了植物遮挡,优化了界面

赤月抉择 发表于 2020-8-26 19:33:00

{:4_95:}万岁,我的IFA谷物语的核心MOD出现了!!

泽渔 发表于 2020-8-28 16:02:08

8.28更新:修复了一点BUG,增加了种植区块的概念,需要自行设置。

ooyd 发表于 2020-12-6 04:53:12

买了不知道怎么用{:3_44:}

xspot 发表于 2021-2-4 23:49:04

can help me explain in english ? i really need help. thanks before

2877242250 发表于 2021-5-24 20:28:00

请问种植区块要怎么设置呢

泽渔 发表于 2021-6-20 10:37:10

2021.6.20更新:将MOD彻底开源,优化了植物的生成方式。
页: [1]
查看完整版本: 【ZU种植】MOD