模组文件免费下载和使用,谨防上当受骗。

YN096-养殖牛(用牛毛种小牛)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 九十六.养殖牛(用牛毛种小牛) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/beefalowool.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab("babybeefalo").Transform:SetPosition(pt.x, pt.y, pt.z) inst.components.stackable:Get():Remove() end inst:AddComponent("deployable") inst.components.deployable.ondeploy = OnDeploy 即可用牛毛种小牛,人工繁育自己的牛群

2025/04/23 · Bny

YN097-养殖兔子(用兔子种兔子洞、兔子可堆叠)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 九十七.养殖兔子(用兔子种兔子洞、兔子可堆叠) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/rabbit.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab("rabbithole").Transform:SetPosition(pt.x, pt.y, pt.z) inst.components.stackable:Get():Remove() end inst:AddComponent("deployable") inst.components.deployable.ondeploy = OnDeploy inst:AddComponent("stackable") inst.components.stackable.maxsize = TUNING.STACK_SIZE_LARGEITEM 即可种兔子得兔子洞、兔子可堆叠

2025/04/23 · Bny

YN098-养殖火鸡(用鸡蛋种会下蛋且不用圈养的火鸡)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 九十八.养殖火鸡(用鸡蛋种会下蛋且不用圈养的火鸡) 1.用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/egg.lua文件,在inst.components.cookable.product = "bird_egg_cooked"的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab("perd").Transform:SetPosition(pt.x, pt.y, pt.z) inst.components.stackable:Get():Remove() end inst:AddComponent("deployable") inst.components.deployable.ondeploy = OnDeploy 2.用MT管理器打开游戏目录/assets/scripts/prefabs/perd.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: inst:AddComponent("periodicspawner") inst.components.periodicspawner:SetPrefab("bird_egg") inst.components.periodicspawner:SetRandomTimes(360, 480) inst.components.periodicspawner:Start() 3.用MT管理器打开游戏目录/assets/scripts/brains/perdbrain.lua文件,将下列内容: WhileNode(function() return clock and not clock:IsDay() end, "IsNight", DoAction(self.inst, GoHomeAction, "Go Home", true )), DoAction(self.inst, EatFoodAction, "Eat Food"), RunAway(self.inst, "scarytoprey", SEE_PLAYER_DIST, STOP_RUN_DIST), DoAction(self.inst, PickBerriesAction, "Pick Berries", true), Wander(self.inst, HomePos, MAX_WANDER_DIST), 替换为: DoAction(self.inst, EatFoodAction, "Eat Food"), RunAway(self.inst, "scarytoprey", SEE_PLAYER_DIST/2.5, STOP_RUN_DIST/3), 即可用鸡蛋种会下蛋且不用圈养的火鸡,火鸡不会乱跑,养在果树丛旁也不会消失,一天左右下一个蛋

2025/04/23 · Bny

YN099-养殖大象(用兔人尾巴种大象)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 九十九.养殖大象(用兔人尾巴种大象) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/manrabbit_tail.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function OnDeploy (inst, pt) local names = {"koalefant_summer","koalefant_winter"} inst.name = names[math.random(#names)] SpawnPrefab(inst.name).Transform:SetPosition(pt.x, pt.y, pt.z) inst.components.stackable:Get():Remove() end inst:AddComponent("deployable") inst.components.deployable.ondeploy = OnDeploy 即可用兔人尾巴种大象,品种随机,可能是冬象、也可能是夏象

2025/04/23 · Bny

YN100-养殖高鸟(种高鸟蛋得不攻击、下高鸟蛋的大高鸟)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一00.养殖高鸟(种高鸟蛋得不攻击、下高鸟蛋的大高鸟) 1.用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/tallbirdegg.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab("tallbird").Transform:SetPosition(pt.x, pt.y, pt.z) inst.components.stackable:Get():Remove() end inst:AddComponent("deployable") inst.components.deployable.ondeploy = OnDeploy inst:AddComponent("stackable") inst.components.stackable.maxsize = TUNING.STACK_SIZE_SMALLITEM 2.用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/tallbird.lua文件,将inst.components.combat:SetRange(TUNING.TALLBIRD_ATTACK_RANGE)替换为inst.components.combat:SetRange(TUNING.TALLBIRD_ATTACK_RANGE*0) 3.在inst:AddComponent("inspectable")的下一行插入以下内容: inst:AddComponent("periodicspawner") inst.components.periodicspawner:SetPrefab("tallbirdegg") inst.components.periodicspawner:SetRandomTimes(80, 110) inst.components.periodicspawner:SetDensityInRange(20, 2) inst.components.periodicspawner:SetMinimumSpacing(8) inst.components.periodicspawner:Start() 即可种高鸟蛋得大高鸟,高鸟无攻击行为、下高鸟蛋,高鸟蛋可堆叠

2025/04/23 · Bny

YN101-下钩就上鱼(无限刷鱼)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一0一.下钩就上鱼(无限刷鱼) 1.用MT管理器打开游戏目录/assets/scripts/prefabs/fishingrod.lua文件,将inst.components.fishingrod:SetWaitTimes(4, 40)替换为inst.components.fishingrod:SetWaitTimes(0, 0) 2.用MT管理器打开游戏目录/assets/scripts/components/fishable.lua文件,将self.fishleft = self.fishleft - 1替换为self.fishleft = self.fishleft 即可在池塘钓鱼时,下钩就上鱼,且无限刷鱼。游戏原设定为钓10条需等一段时间才会再有鱼

2025/04/23 · Bny

YN102-用腐烂食物种普通池塘

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一0二.用腐烂食物种普通池塘 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/spoiledfood.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab("pond").Transform:SetPosition(pt.x, pt.y, pt.z) inst.components.stackable:Get():Remove() end inst:AddComponent("deployable") inst.components.deployable.ondeploy = OnDeploy 即可用腐烂食物种普通池塘

2025/04/23 · Bny

YN103-用蛙腿种可钓鳗鱼池塘

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一0三.用蛙腿种可钓鳗鱼池塘 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/froglegs.lua文件,在inst.AnimState:PlayAnimation("idle")的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab("pond_cave").Transform:SetPosition(pt.x, pt.y, pt.z) inst.components.stackable:Get():Remove() end inst:AddComponent("deployable") inst.components.deployable.ondeploy = OnDeploy 即可用蛙腿种可钓鳗鱼池塘

2025/04/23 · Bny

YN104-用铲子挖掉池塘

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一0四.用铲子挖掉池塘 用MT管理器打开游戏目录/assets/scripts/prefabs/pond.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function dig_up(inst, chopper) inst:Remove() end inst:AddComponent("workable") inst.components.workable:SetWorkAction(ACTIONS.DIG) inst.components.workable:SetOnFinishCallback(dig_up) inst.components.workable:SetWorkLeft(1) 即可用铲子挖掉池塘

2025/04/23 · Bny

YN105-冬天池塘不上冻

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一0五.冬天池塘不上冻 用MT管理器打开游戏目录/assets/scripts/prefabs/pond.lua文件,将if snow_cover > thresh and not inst.frozen then替换为if snow_cover > thresh and inst.frozen then 即可冬天池塘不上冻,在冬天也能钓鱼

2025/04/23 · Bny