代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。
原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html
1
2七十.农作物1秒长出来
3
4 1.用MT管理器打开游戏目录/assets/scripts/prefabs/seeds.lua文件,将inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME替换为inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME*0
5
6
7 2.用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/veggies.lua文件,将inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME替换为inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME*0
8
9 即可让所有农作物1秒长出