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

YN016-解锁全科技(全人物不用机器就可造全部物品)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 十六.解锁全科技(全人物不用机器就可造全部物品) 1.用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/player_common.lua文件,在inst:AddComponent("builder")下一行插入以下内容: inst.components.builder.science_bonus = 3 inst.components.builder.magic_bonus = 3 inst.components.builder.ancient_bonus = 4 2.用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/wickerbottom.lua文件,将inst.components.builder.science_bonus = 1替换为--inst.components.builder.science_bonus = 1 即可让全人物不用机器就可造全部物品,远古物品也不用靠近祭坛就可制造

2025/04/23 · Bny

YN017-快速制造物品

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 十七.快速制造物品 用MT管理器打开游戏目录/assets/DLC0002/scripts/actions.lua文件,将BUILD = Action(),替换为BUILD = Action(0, true), 即可跳过制造物品的动画,快速制造物品

2025/04/23 · Bny

YN018-地图全开(游戏中按Ctrl+1)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 十八.地图全开(游戏中按Ctrl+1) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/player_common.lua文件,在inst:AddComponent("resurrectable")下一行插入以下内容: TheInput:AddKeyUpHandler(KEY_1, function() if TheInput:IsKeyDown(KEY_CTRL) then local map = TheSim:FindFirstEntityWithTag("minimap") local x,y,z = GetPlayer().Transform:GetWorldPosition() map.MiniMap:ShowArea(x, y, z, 10000) end end) 即可在游戏中按Ctrl + 1使地图全开

2025/04/23 · Bny

YN019-加大单格堆叠数量

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 十九.加大单格堆叠数量 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将以下内容: STACK_SIZE_LARGEITEM = 10, STACK_SIZE_MEDITEM = 20, STACK_SIZE_SMALLITEM = 40, 替换为: STACK_SIZE_LARGEITEM = 999, STACK_SIZE_MEDITEM = 999, STACK_SIZE_SMALLITEM = 999, 即可加大单格堆叠数量至999

2025/04/23 · Bny

YN020-增加主角物品条的格子

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 二十.增加主角物品条的格子 用MT管理器打开游戏目录/assets/DLC0002/scripts/components/inventory.lua文件,将local MAXSLOTS = 15替换为local MAXSLOTS = 25 即可将主角物品条的格子由15个增加到25个

2025/04/23 · Bny

YN021-双层主角物品条(60格)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 二十一.双层主角物品条(60格) 1.用MT管理器打开游戏目录/assets/DLC0002/scripts/components/inventory.lua文件,将local MAXSLOTS = 15替换为local MAXSLOTS = 60 2.用MT管理器打开游戏目录/assets/scripts/widgets/inventorybar.lua文件,将self.bg:SetScale(1.15,1,1)替换为self.bg:SetScale(1.86,1.85,1) 3.将下列内容: local num_intersep = math.floor(num_slots / 5) + 1 local total_w = (num_slots + num_equip)*(W) + (num_slots + num_equip - 2 - num_intersep) *(SEP) + INTERSEP*num_intersep for k, v in ipairs(self.equipslotinfo) do local slot = EquipSlot(v.slot, v.atlas, v.image, self.owner) self.equip[v.slot] = self.toprow:AddChild(slot) local x = -total_w/2 + (num_slots)*(W)+num_intersep*(INTERSEP - SEP) + (num_slots-1)*SEP + INTERSEP + W*(k-1) + SEP*(k-1) slot:SetPosition(x,0,0) table.insert(eslot_order, slot) local item = self.owner.components.inventory:GetEquippedItem(v.slot) if item then slot:SetTile(ItemTile(item)) end end for k = 1,num_slots do local slot = InvSlot(k, HUD_ATLAS, "inv_slot.tex", self.owner, self.owner.components.inventory) self.inv[k] = self.toprow:AddChild(slot) local interseps = math.floor((k-1) / 5) local x = -total_w/2 + W/2 + interseps*(INTERSEP - SEP) + (k-1)*W + (k-1)*SEP slot:SetPosition(x,0,0) slot.top_align_tip = W*0.5 + YSEP local item = self.owner.components.inventory:GetItemInSlot(k) if item then slot:SetTile(ItemTile(item)) end end 替换为: local num_intersep = math.floor(num_slots / 10) + 1 local total_w = (num_slots -30.85)*(W) + (num_slots -30.85 - 2 - num_intersep) *(SEP) + INTERSEP*num_intersep for k, v in ipairs(self.equipslotinfo) do local slot = EquipSlot(v.slot, v.atlas, v.image, self.owner) self.equip[v.slot] = self.toprow:AddChild(slot) local x = -total_w/2 + (num_slots*0+14.07)*(W)+num_intersep*(INTERSEP - SEP) + (num_slots-1)*SEP + INTERSEP + W*(k-1) + SEP*(k-1) slot:SetPosition(x+341,190,0) table.insert(eslot_order, slot) local item = self.owner.components.inventory:GetEquippedItem(v.slot) if item then slot:SetTile(ItemTile(item)) end end for k = 1,30 do local slot = InvSlot(k, HUD_ATLAS, "inv_slot.tex", self.owner, self.owner.components.inventory) self.inv[k] = self.toprow:AddChild(slot) local interseps = math.floor((k-1) / 10) local x = -total_w/2 + W/2 + interseps*(INTERSEP - SEP) + (k-1)*W + (k-1)*SEP slot:SetPosition(x,0,0) local item = self.owner.components.inventory:GetItemInSlot(k) if item then slot:SetTile(ItemTile(item)) end end for k = 31,60 do local slot = InvSlot(k, HUD_ATLAS, "inv_slot.tex", self.owner, self.owner.components.inventory) self.inv[k] = self.toprow:AddChild(slot) local interseps = math.floor((k-1-30) / 10) local x = -total_w/2 + W/2 + interseps*(INTERSEP - SEP) + (k-1-30)*W + (k-1-30)*SEP slot:SetPosition(x,80,0) local item = self.owner.components.inventory:GetItemInSlot(k) if item then slot:SetTile(ItemTile(item)) end end 即可获得双层主角物品条(60格),注意必须将游戏设置(options) - (Settings) - HUD size项设为0,即显示最小物品条,才可完整显示60格哦

2025/04/23 · Bny

YN022-同时携带多个背包(背包可库存)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 二十二.同时携带多个背包(背包可库存) 1.同时携带多个普通背包:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/backpack.lua文件,将inst.components.inventoryitem.cangoincontainer = false替换为inst.components.inventoryitem.cangoincontainer = true 2.同时携带多个小猪包:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/piggyback.lua文件,将inst.components.inventoryitem.cangoincontainer = false替换为inst.components.inventoryitem.cangoincontainer = true 3.同时携带多个坎普斯背包:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/krampus_sack.lua文件,将inst.components.inventoryitem.cangoincontainer = false替换为inst.components.inventoryitem.cangoincontainer = true 4.同时携带多个冰包:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/icepack.lua文件,将inst.components.inventoryitem.cangoincontainer = false替换为inst.components.inventoryitem.cangoincontainer = true 即可同时携带多个背包

2025/04/23 · Bny

YN023-背包格子增大至39格

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 二十三.背包格子增大至39格 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/backpack.lua文件, 1.将下列内容: for y = 0, 3 do table.insert(slotpos, Vector3(-162, -y*75 + 114 ,0)) table.insert(slotpos, Vector3(-162 +75, -y*75 + 114 ,0)) 替换为: for y = 0, 12 do table.insert(slotpos, Vector3(-162, -y*75 + 350 ,0)) table.insert(slotpos, Vector3(-162 +75, -y*75 + 350 ,0)) table.insert(slotpos, Vector3(-162 +150, -y*75 + 350 ,0)) 2.将下列内容: inst.components.container.widgetanimbank = "ui_backpack_2x4" inst.components.container.widgetanimbuild = "ui_backpack_2x4" inst.components.container.widgetpos = Vector3(-5,-70,0) 替换为: --inst.components.container.widgetanimbank = "ui_backpack_2x4" --inst.components.container.widgetanimbuild = "ui_backpack_2x4" inst.components.container.widgetpos = Vector3(-25,-50,0) 即可让普通背包格子增大至39格.将游戏设置(options) - (Settings) - HUD size项设为0,即显示最小物品条,才可完整显示

2025/04/23 · Bny

YN024-制造坎普斯背包

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 二十四.制造坎普斯背包 用MT管理器打开游戏目录/assets/DLC0002/scripts/recipes.lua文件,在Recipe("piggyback", {Ingredient("pigskin", 4), Ingredient("silk", 6), Ingredient("rope", 2)}, RECIPETABS.SURVIVAL, TECH.SCIENCE_TWO)的下一行插入以下内容: Recipe("krampus_sack", {Ingredient("cutgrass", 5),Ingredient("twigs", 5)}, RECIPETABS.SURVIVAL, TECH.NONE) 即可在生存选项(画着绳套)下,用5个草、5个树杈制造坎普斯背包。不要与“巨型超市”一同修改,因为“巨型超市”中已经有坎普斯背包出售

2025/04/23 · Bny

YN025-伍迪砍树不会变海狸

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 二十五.伍迪砍树不会变海狸 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/woodie.lua文件,将inst.components.beaverness:DoDelta(3)替换为inst.components.beaverness:DoDelta(0) 即可让伍迪砍树不会变海狸

2025/04/23 · Bny