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

YN056-挖树苗一次得10个树苗根

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 五十六.挖树苗一次得10个树苗根 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/sapling.lua文件,在inst:Remove()的下一行插入以下内容: inst.components.lootdropper:SetLoot({"dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling"}) local pt = Point(inst.Transform:GetWorldPosition()) inst.components.lootdropper:DropLoot(pt) 即可挖树苗一次得10个树苗根,树苗根是用来种树杈的

2025/04/23 · Bny

YN057-用芦苇种植芦苇(芦苇可移植)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 五十七.用芦苇种植芦苇(芦苇可移植) 1.用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/cutreeds.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab("reeds").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/reeds.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function dig_up(inst, chopper) inst.components.lootdropper:SpawnLootPrefab("cutreeds") inst:Remove() end inst:AddComponent("workable") inst.components.workable:SetWorkAction(ACTIONS.DIG) inst.components.workable:SetOnFinishCallback(dig_up) inst.components.workable:SetWorkLeft(1) inst:AddComponent("lootdropper") 即可让芦苇可以被铲子铲掉得芦苇,用芦苇可种芦苇,使芦苇可移植

2025/04/23 · Bny

YN058-挖尖刺灌木一次得10个尖刺灌木根

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 五十八.挖尖刺灌木一次得10个尖刺灌木根 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/marsh_bush.lua文件,在inst:Remove()的下一行插入以下内容: inst.components.lootdropper:SetLoot({"dug_marsh_bush", "dug_marsh_bush", "dug_marsh_bush", "dug_marsh_bush", "dug_marsh_bush", "dug_marsh_bush", "dug_marsh_bush", "dug_marsh_bush", "dug_marsh_bush"}) local pt = Point(inst.Transform:GetWorldPosition()) inst.components.lootdropper:DropLoot(pt) 即可挖尖刺灌木一次得10个尖刺灌木根,尖刺灌木根是用来种尖刺灌木的,采集获得树杈,且会被扎一下

2025/04/23 · Bny

YN059-栽种尖刺灌木产黄油(植物黄油)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 五十九.栽种尖刺灌木产黄油(植物黄油) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/marsh_bush.lua文件, 1.将picker.components.combat:GetAttacked(inst, TUNING.MARSHBUSH_DAMAGE)替换为--picker.components.combat:GetAttacked(inst, TUNING.MARSHBUSH_DAMAGE) 2.将inst.components.pickable:SetUp("twigs", TUNING.MARSHBUSH_REGROW_TIME)替换为inst.components.pickable:SetUp("butter", TUNING.MARSHBUSH_REGROW_TIME*.25,3) 即可让栽种的尖刺灌木不产树杈而改产3块黄油,并且1天长1次,还不扎手哦。尖刺灌木一般生长在沼泽里,用铲子挖下来就可以栽种,无须施肥,冬夏皆长

2025/04/23 · Bny

YN060-花瓣种花(花可移植)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 六十.花瓣种花(花可移植) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/petals.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab("flower").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

YN061-用树枝种香蕉树

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 六十一.用树枝种香蕉树 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/twigs.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab("cave_banana_tree").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

YN062-用蘑菇种蘑菇(蘑菇可移植)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 六十二.用蘑菇种蘑菇(蘑菇可移植) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/mushrooms.lua文件,在inst.AnimState:PlayAnimation(data.animname.."_cap")的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab(data.animname.."_mushroom").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

YN063-用苔藓种苔藓(苔藓可移植)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 六十三.用苔藓种苔藓(苔藓可移植) 用MT管理器打开游戏目录/assets/scripts/prefabs/cutlichen.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab("lichen").Transform:SetPosition(pt.x, pt.y, pt.z) inst.components.stackable:Get():Remove() end inst:AddComponent("deployable") inst.components.deployable.ondeploy = OnDeploy 即可用苔藓种苔藓,使苔藓可移植。不要与“奶报箱(用苔藓种奶报箱,放入黄金,每天清晨送来报纸和5瓶牛奶,读报纸可补脑)”一同修改

2025/04/23 · Bny

YN064-用荧光果种三朵洞穴花

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 六十四.用荧光果种三朵洞穴花 用MT管理器打开游戏目录/assets/scripts/prefabs/lightbulb.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function OnDeploy (inst, pt) SpawnPrefab("flower_cave_triple").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

YN065-铲掉洞穴花得荧光果

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 六十五.铲掉洞穴花得荧光果 用MT管理器打开游戏目录/assets/scripts/prefabs/flower_cave.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local function dig_up(inst, chopper) inst.components.lootdropper:SpawnLootPrefab("lightbulb") 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