YN076-冰箱永久保鲜
代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十六.冰箱永久保鲜 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将PERISH_FRIDGE_MULT = .5,替换为PERISH_FRIDGE_MULT = 0, 即可让放入冰箱的食物永久保鲜。如果将0改为负数比如-5,则可使不新鲜的食物回复新鲜度
代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十六.冰箱永久保鲜 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将PERISH_FRIDGE_MULT = .5,替换为PERISH_FRIDGE_MULT = 0, 即可让放入冰箱的食物永久保鲜。如果将0改为负数比如-5,则可使不新鲜的食物回复新鲜度
代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十七.背包可冷藏食品 1.普通背包可冷藏食品:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/backpack.lua文件,在inst:AddComponent("inspectable")的下一行插入inst:AddTag("fridge") 2.小猪包可冷藏食品:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/piggyback.lua文件,在inst:AddComponent("inspectable")的下一行插入inst:AddTag("fridge") 3.坎普斯背包可冷藏食品:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/krampus_sack.lua文件,在inst:AddComponent("inspectable")的下一行插入inst:AddTag("fridge") 即可让背包具备冰箱功能
代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十八.晾肉无需等待(将肉放在晾肉架上即干) 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将下列内容: DRY_FAST = total_day_time, DRY_MED = 2*total_day_time, 替换为: DRY_FAST = total_day_time*0, DRY_MED = 2*total_day_time*0, 即可晾肉无需等待,肉放在晾肉架上即干
代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十九.晾肉架一次收多块干肉 用MT管理器打开游戏目录/assets/DLC0002/scripts/components/dryer.lua文件,将以下内容: harvester.components.inventory:GiveItem(loot, nil, Vector3(TheSim:GetScreenPos(self.inst.Transform:GetWorldPosition()))) 替换为: harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) 即可晾1块肉收3块干肉,想收多少,就复制多少行harvester.components.inventory:GiveItem(SpawnPrefab(self.product))即可
代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 八十.木箱容量增加9倍(81格) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/treasurechest.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格
代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 八十一.蜻蜓箱子容量增加9倍(108格) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/dragonfly_chest.lua文件, 1.将下列内容: for y = 2.5, -0.5, -1 do for x = 0, 2 do 替换为: for y = 8, 0, -1 do for x = 0, 11 do 2.将下列内容: inst.components.container.widgetanimbank = "ui_chester_shadow_3x4" inst.components.container.widgetanimbuild = "ui_chester_shadow_3x4" inst.components.container.widgetpos = Vector3(0,200,0) 替换为: --inst.components.container.widgetanimbank = "ui_chester_shadow_3x4" --inst.components.container.widgetanimbuild = "ui_chester_shadow_3x4" inst.components.container.widgetpos = Vector3(-200,100,0) 即可使蜻蜓箱子容量增加9倍至108格
代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 八十二.精炼选项里的物品一次造10个 用MT管理器打开游戏目录/assets/DLC0002/scripts/recipes.lua文件,将下列内容: Recipe("rope", {Ingredient("cutgrass", 3)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) Recipe("boards", {Ingredient("log", 4)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) Recipe("cutstone", {Ingredient("rocks", 3)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) Recipe("papyrus", {Ingredient("cutreeds", 4)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) Recipe("nightmarefuel", {Ingredient("petals_evil", 4)}, RECIPETABS.REFINE, TECH.MAGIC_TWO) Recipe("purplegem", {Ingredient("redgem",1), Ingredient("bluegem", 1)}, RECIPETABS.REFINE, TECH.MAGIC_TWO) 替换为: Recipe("rope", {Ingredient("cutgrass", 3)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE,nil,nil,nil,10) Recipe("boards", {Ingredient("log", 4)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE,nil,nil,nil,10) Recipe("cutstone", {Ingredient("rocks", 3)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE,nil,nil,nil,10) Recipe("papyrus", {Ingredient("cutreeds", 4)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE,nil,nil,nil,10) Recipe("nightmarefuel", {Ingredient("petals_evil", 4)}, RECIPETABS.REFINE, TECH.MAGIC_TWO,nil,nil,nil,10) Recipe("purplegem", {Ingredient("redgem",1), Ingredient("bluegem", 1)}, RECIPETABS.REFINE, TECH.MAGIC_TWO,nil,nil,nil,10) 即可让精炼选项(画着白色宝石)里的绳子、木板、石砖、纸、噩梦燃料、紫宝石一次造10个
代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 八十三.喂鸟蔬菜多掉种子 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/birdcage.lua文件,将local num_seeds = math.random(2)替换为local num_seeds = 10 即可喂鸟一次蔬菜掉10个种子,数字可随意调整
代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 八十四.冬天野外的鸟也掉种子 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/birds.lua文件,将return not GetWorld().components.seasonmanager:IsWinter()替换为return true 即可让野外的鸟在冬天也掉种子
代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 八十五.种子腐烂变慢 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将PERISH_SUPERSLOW = 40*total_day_time*perish_warp,替换为PERISH_SUPERSLOW = 200*total_day_time*perish_warp, 即可让种子腐烂时间延缓5倍