代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。

原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html



九十二.牛产便便速度增加1
	用MT管理器打开游戏目录/assets/scripts/prefabs/beefalo.lua文件,将inst.components.periodicspawner:SetRandomTimes(40, 60)替换为inst.components.periodicspawner:SetRandomTimes(20, 30)

	即可让牛产便便速度增加1倍,约2030秒产一次。牛的附近如果有便便,就不会再拉了,要勤捡起哦