代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。
原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html
一0八.池塘边长满曼德拉草
用MT管理器打开游戏目录/assets/scripts/prefabs/pond.lua文件,将共2句inst.planttype = "marsh_plant"均替换为inst.planttype = "mandrake"
即可让池塘边长曼德拉草,采完过一段时间后又会长出一批。注意一共要替换2句哦