YN140-切斯特(狗箱)跑得快

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四0.切斯特(狗箱)跑得快 用MT管理器打开游戏目录/assets/scripts/prefabs/chester.lua文件,将下列内容: inst.components.locomotor.walkspeed = 3 inst.components.locomotor.runspeed = 7 替换为: inst.components.locomotor.walkspeed = 9 inst.components.locomotor.runspeed = 21 即可让切斯特运动速度提高3倍

2025/04/23 · Bny

YN141-切斯特(狗箱)不死

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四一.切斯特(狗箱)不死 用MT管理器打开游戏目录/assets/scripts/prefabs/chester.lua文件,在inst:AddTag("noauradamage")的下一行插入inst.components.health:SetInvincible(true) 即可让切斯特不死

2025/04/23 · Bny

YN142-切斯特(狗箱)容量增加9倍(81格)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四二.切斯特(狗箱)容量增加9倍(81格) 用MT管理器打开游戏目录/assets/scripts/prefabs/chester.lua文件, 1.将下列内容: for y = 2, 0, -1 do for x = 0, 2 do 替换为: for y = 8, 0, -1 do for x = 0, 8 do 2.将下列内容: inst.components.container.widgetanimbank = "ui_chest_3x3" inst.components.container.widgetanimbuild = "ui_chest_3x3" inst.components.container.widgetpos = Vector3(0,200,0) 替换为: --inst.components.container.widgetanimbank = "ui_chest_3x3" --inst.components.container.widgetanimbuild = "ui_chest_3x3" inst.components.container.widgetpos = Vector3(0,100,0) 即可让切斯特(狗箱)容量增加9倍至81格

2025/04/23 · Bny

YN143-保温石保温时间延长1倍

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四三.保温石保温时间延长1倍 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/heatrock.lua文件,将下列内容: inst.components.temperature.inherentinsulation = TUNING.INSULATION_MED inst.components.temperature.inherentsummerinsulation = TUNING.INSULATION_MED 替换为: inst.components.temperature.inherentinsulation = TUNING.INSULATION_MED*2 inst.components.temperature.inherentsummerinsulation = TUNING.INSULATION_MED*2 即可让保温石保温时间延长1倍,将2这个数字调整为其他数字,可自行调整保温时间延长几倍

2025/04/23 · Bny

YN144-建造肉块雕像不罚血(正常要从血的上限减30)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四四.建造肉块雕像不罚血(正常要从血的上限减30) 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将EFFIGY_HEALTH_PENALTY = 30,替换为EFFIGY_HEALTH_PENALTY = 0, 即可建造肉块雕像不罚血,修改为负数比如-30则可加血的上限

2025/04/23 · Bny

YN145-白天也能睡帐篷,睡帐篷不减饥饿

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四五.白天也能睡帐篷,睡帐篷不减饥饿 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/tent.lua文件, 1.删除下列内容: if GetClock():IsDay() then local tosay = "ANNOUNCE_NODAYSLEEP" if GetWorld():IsCave() then tosay = "ANNOUNCE_NODAYSLEEP_CAVE" end if sleeper.components.talker then sleeper.components.talker:Say(GetString(inst.prefab, tosay)) return end end 2.删除下列内容: if GetClock():IsDay() then local tosay = "ANNOUNCE_NODAYSLEEP" if GetWorld():IsCave() then tosay = "ANNOUNCE_NODAYSLEEP_CAVE" end if sleeper.components.talker then sleeper.components.talker:Say(GetString(inst.prefab, tosay)) sleeper.components.health:SetInvincible(false) sleeper.components.playercontroller:Enable(true) return end end 3.将sleeper.components.hunger:DoDelta(-TUNING.CALORIES_HUGE, false, true)替换为--sleeper.components.hunger:DoDelta(-TUNING.CALORIES_HUGE, false, true) 即可白天也能睡帐篷,睡帐篷不减饥饿

2025/04/23 · Bny

YN146-睡草席卷可补血

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四六.睡草席卷可补血 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/bedroll_straw.lua文件,在sleeper.sg:GoToState("wakeup")的下一行插入以下内容: if sleeper.components.health then sleeper.components.health:DoDelta(TUNING.HEALING_MED, false, "tent", true) end 即可睡草席卷可补血,补血量小于毛皮铺盖和帐篷

2025/04/23 · Bny

YN147-护身符装备在帽子格(省出身体格穿盔甲或带背包)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四七.护身符装备在帽子格(省出身体格穿盔甲或带背包) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/amulet.lua文件,将inst.components.equippable.equipslot = EQUIPSLOTS.BODY替换为inst.components.equippable.equipslot = EQUIPSLOTS.HEAD 即可让护身符装备在帽子格,在佩戴护身符的同时,穿盔甲或带背包

2025/04/23 · Bny

YN148-橙色护身符吸取物品加速、范围加大、不吸常用物品

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四八.橙色护身符吸取物品加速、范围加大、不吸常用物品 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/amulet.lua文件, 1.吸取物品加速10倍:将inst.task = inst:DoPeriodicTask(TUNING.ORANGEAMULET_ICD, function() pickup(inst, owner) end)替换为以下内容: inst.task = inst:DoPeriodicTask(TUNING.ORANGEAMULET_ICD*.1, function() pickup(inst, owner) end) 2.吸取物品范围加大5倍:将local ents = TheSim:FindEntities(pt.x, pt.y, pt.z, TUNING.ORANGEAMULET_RANGE)替换为以下内容: local ents = TheSim:FindEntities(pt.x, pt.y, pt.z, TUNING.ORANGEAMULET_RANGE*5) 3.不吸常用物品:将v.components.inventoryitem:IsHeld() then替换为以下内容: v.components.inventoryitem:IsHeld() and not v:HasTag("trap") and not v:HasTag("light") and not v:HasTag("blowdart") and not v:HasTag("projectile") then 即可让橙色护身符吸取物品加速、范围加大,不吸陷阱、提灯,也可以在佩戴时使用远程武器

2025/04/23 · Bny

YN149-用紫色魔杖传送不降脑

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四九.用紫色魔杖传送不降脑 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/staff.lua文件,将caster.components.sanity:DoDelta(-TUNING.SANITY_HUGE)替换为caster.components.sanity:DoDelta(TUNING.SANITY_HUGE) 即可用紫色魔杖传送不降脑

2025/04/23 · Bny