[分享]饥荒联机版,支持局域网联机。

YN070-农作物1秒长出来

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 1 2七十.农作物1秒长出来 3 4 1.用MT管理器打开游戏目录/assets/scripts/prefabs/seeds.lua文件,将inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME替换为inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME*0 5 6 7 2.用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/veggies.lua文件,将inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME替换为inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME*0 8 9 即可让所有农作物1秒长出

2025/04/23 · Bny

YN071-冬天农作物也生长

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 1 2七十一.冬天农作物也生长 3 4 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将MIN_CROP_GROW_TEMP = 5,替换为MIN_CROP_GROW_TEMP = -100, 5 6 即可让农作物在冬天也生长

2025/04/23 · Bny

YN072-农田不用施肥

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 1 2七十二.农田不用施肥 3 4 用MT管理器打开游戏目录/assets/DLC0002/scripts/components/grower.lua文件,将self.cycles_left = self.cycles_left - 1替换为self.cycles_left = self.cycles_left 5 6 即可让农田不用施肥

2025/04/23 · Bny

YN073-煮一锅收多个料理

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 1 2七十三.煮一锅收多个料理 3 4 用MT管理器打开游戏目录/assets/DLC0002/scripts/components/stewer.lua文件,将以下内容: 5 6harvester.components.inventory:GiveItem(loot, nil, Vector3(TheSim:GetScreenPos(self.inst.Transform:GetWorldPosition()))) 7 8 替换为: 9 10harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) 11harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) 12harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) 13 14 即可煮一锅收3个料理,想收多少,就复制多少行harvester.components.inventory:GiveItem(SpawnPrefab(self.product))即可

2025/04/23 · Bny

YN074-缩短煮料理时间

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 1 2七十四.缩短煮料理时间 3 4 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将BASE_COOK_TIME = night_time*.3333,替换为BASE_COOK_TIME = seg_time*.01, 5 6 即可使料理瞬间煮熟

2025/04/23 · Bny

YN075-冰箱容量增加3倍(27格)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 1 2七十五.冰箱容量增加3倍(27格) 3 4 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/icebox.lua文件, 5 6 1.将for y = 2, 0, -1 do替换为for y = 8, 0, -1 do 7 8 9 2.将下列内容: 10 11 inst.components.container.widgetanimbank = "ui_chest_3x3" 12 inst.components.container.widgetanimbuild = "ui_chest_3x3" 13 inst.components.container.widgetpos = Vector3(0,200,0) 14 15 替换为: 16 17 --inst.components.container.widgetanimbank = "ui_chest_3x3" 18 --inst.components.container.widgetanimbuild = "ui_chest_3x3" 19 inst.components.container.widgetpos = Vector3(0,100,0) 20 21 即可让冰箱容量增加3倍至27格

2025/04/23 · Bny

YN076-冰箱永久保鲜

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 1 2七十六.冰箱永久保鲜 3 4 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将PERISH_FRIDGE_MULT = .5,替换为PERISH_FRIDGE_MULT = 0, 5 6 即可让放入冰箱的食物永久保鲜。如果将0改为负数比如-5,则可使不新鲜的食物回复新鲜度

2025/04/23 · Bny

YN077-背包可冷藏食品

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 1 2七十七.背包可冷藏食品 3 4 1.普通背包可冷藏食品:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/backpack.lua文件,在inst:AddComponent("inspectable")的下一行插入inst:AddTag("fridge") 5 6 7 2.小猪包可冷藏食品:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/piggyback.lua文件,在inst:AddComponent("inspectable")的下一行插入inst:AddTag("fridge") 8 9 10 3.坎普斯背包可冷藏食品:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/krampus_sack.lua文件,在inst:AddComponent("inspectable")的下一行插入inst:AddTag("fridge") 11 12 即可让背包具备冰箱功能

2025/04/23 · Bny

YN078-晾肉无需等待(将肉放在晾肉架上即干)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 1 2七十八.晾肉无需等待(将肉放在晾肉架上即干) 3 4 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将下列内容: 5 6 DRY_FAST = total_day_time, 7 DRY_MED = 2*total_day_time, 8 9 替换为: 10 11 DRY_FAST = total_day_time*0, 12 DRY_MED = 2*total_day_time*0, 13 14 即可晾肉无需等待,肉放在晾肉架上即干

2025/04/23 · Bny

YN079-晾肉架一次收多块干肉

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 1 2七十九.晾肉架一次收多块干肉 3 4 用MT管理器打开游戏目录/assets/DLC0002/scripts/components/dryer.lua文件,将以下内容: 5 6harvester.components.inventory:GiveItem(loot, nil, Vector3(TheSim:GetScreenPos(self.inst.Transform:GetWorldPosition()))) 7 8 替换为: 9 10harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) 11harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) 12harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) 13 14 即可晾1块肉收3块干肉,想收多少,就复制多少行harvester.components.inventory:GiveItem(SpawnPrefab(self.product))即可

2025/04/23 · Bny