在饥荒中为了方便通关,简化游戏。不少玩家费劲心思修改游戏参数。下面是饥荒修改技巧全攻略,喜欢修改数据的同学一定要收藏哦!
一.延长冰箱保鲜时间
用记事本打开游戏目录\data\scripts\tuning.lua文件,将PERISH_FRIDGE_MULT = .5修改为PERISH_FRIDGE_MULT = .01即可
二.种子腐烂变慢
用记事本打开游戏目录\data\scripts\tuning.lua文件,将PERISH_SUPERSLOW = 40*total_day_time*perish_warp,修改为PERISH_SUPERSLOW = 200*total_day_time*perish_warp,
三.提高主角血量10倍
用记事本打开游戏目录\data\scripts\tuning.lua文件,将local wilson_health = 150修改为local wilson_health = 1500
四.提高主角攻击力
用记事本打开游戏目录\data\scripts\tuning.lua文件,将local wilson_attack = 34修改为local wilson_attack = 500
五.主角跑得更快
用记事本打开游戏目录\data\scripts\tuning.lua文件,将以下内容:
WILSON_WALK_SPEED = 4,
WILSON_RUN_SPEED = 6,
修改为:
WILSON_WALK_SPEED = 8,
WILSON_RUN_SPEED = 12,
六.延缓冻、饿死亡时间
用记事本打开游戏目录\data\scripts\tuning.lua文件,将以下内容:
FREEZING_KILL_TIME = 120,
STARVE_KILL_TIME = 120,
修改为:
FREEZING_KILL_TIME = 1200,
STARVE_KILL_TIME = 1200,
七.加大单格堆叠数量
用记事本打开游戏目录\data\scripts\tuning.lua文件,将以下内容:
STACK_SIZE_LARGEITEM = 10,
STACK_SIZE_MEDITEM = 20,
STACK_SIZE_SMALLITEM = 40,
修改为:
STACK_SIZE_LARGEITEM = 20,
STACK_SIZE_MEDITEM = 50,
STACK_SIZE_SMALLITEM = 99,
八.背猪皮包、穿大理石盔甲行走速度不减慢
用记事本打开游戏目录\data\scripts\tuning.lua文件,将以下内容:
PIGGYBACK_SPEED_MULT = 0.8,
ARMORMARBLE_SLOW = 0.7,
修改为:
PIGGYBACK_SPEED_MULT = 1,
ARMORMARBLE_SLOW = 1,
九.提高拿手杖行走速度
用记事本打开游戏目录\data\scripts\tuning.lua文件,将CANE_SPEED_MULT = 1.25,修改为CANE_SPEED_MULT = 2.5,
十.武器伤害值加大
用记事本打开游戏目录\data\scripts\tuning.lua文件,查找以下内容:
UNARMED_DAMAGE = 10, 空手
NIGHTSWORD_DAMAGE = wilson_attack*2, 暗影剑
SPIKE_DAMAGE = wilson_attack*1.5, 狼牙棒
HAMBAT_DAMAGE = wilson_attack, 火腿棍棒
SPEAR_DAMAGE = wilson_attack, 矛
AXE_DAMAGE = wilson_attack*.8, 斧头
PICK_DAMAGE = wilson_attack*.8, 镐
BOOMERANG_DAMAGE = wilson_attack*.8, 回旋镖
TORCH_DAMAGE = wilson_attack*.5, 火炬
HAMMER_DAMAGE = wilson_attack*.5, 锤
SHOVEL_DAMAGE = wilson_attack*.5, 铲子
PITCHFORK_DAMAGE = wilson_attack*.5, 草叉
BUGNET_DAMAGE = wilson_attack*.125, 捕虫网
FISHINGROD_DAMAGE = wilson_attack*.125, 鱼杆
UMBRELLA_DAMAGE = wilson_attack*.5, 雨伞
CANE_DAMAGE = wilson_attack*1.5, 手杖
PIPE_DART_DAMAGE = 100, 吹箭
加大每行最后的数字,即可增大各种武器的伤害值
十一.修改装备使用次数
用记事本打开游戏目录\data\scripts\tuning.lua文件,查找以下内容:
AXE_USES = 100, 斧头
HAMMER_USES = 75, 锤
SHOVEL_USES = 25, 铲子
PITCHFORK_USES = 25, 草叉
PICKAXE_USES = 33, 镐
BUGNET_USES = 10, 捕虫网
SPEAR_USES = 150, 矛
SPIKE_USES = 100, 狼牙棒
FISHINGROD_USES = 9, 鱼杆
TRAP_USES = 8, 陷阱
BOOMERANG_USES = 10, 回旋镖
NIGHTSWORD_USES = 100, 暗影剑
ICESTAFF_USES = 20, 冰魔杖
FIRESTAFF_USES = 20, 火魔杖
HAMBAT_USES = 100, 火腿棍棒
TRAP_TEETH_USES = 10, 牙齿陷阱
PANFLUTE_USES = 10, 排箫
HORN_USES = 10, 牛角
TENT_USES = 6, 帐篷
UMBRELLA_USES = 20, 伞
SEWINGKIT_USES = 5, 针线包
ONEMANBAND_PERISHTIME = 6*seg_time, 独奏乐器
EARMUFF_PERISHTIME = total_day_time*5, 兔耳罩
WINTERHAT_PERISHTIME = total_day_time*10, 冬帽
BEEFALOHAT_PERISHTIME = total_day_time*10, 牛毛帽
SPIDERHAT_PERISHTIME = 4*seg_time, 蜘蛛帽
TRUNKVEST_PERISHTIME = total_day_time*15, 背心
SWEATERVEST_PERISHTIME = total_day_time*10, 毛背心
WALRUSHAT_PERISHTIME = total_day_time*25, 海象帽子
FEATHERHAT_PERISHTIME = total_day_time*8, 羽毛帽
TOPHAT_PERISHTIME = total_day_time*8, 高礼帽
加大每行最后的数字,即可增加该装备使用次数
十二.盔甲在就不掉血
用记事本打开游戏目录\data\scripts\tuning.lua文件,将以下内容:
ARMORGRASS_ABSORPTION = .6,
ARMORWOOD_ABSORPTION = .8,
ARMORMARBLE_ABSORPTION = .95,
ARMOR_FOOTBALLHAT_ABSORPTION = .8,
ARMOR_BEEHAT_ABSORPTION = .8,
ARMOR_SANITY_ABSORPTION = .95,
修改为:
ARMORGRASS_ABSORPTION = 1,
ARMORWOOD_ABSORPTION = 1,
ARMORMARBLE_ABSORPTION = 1,
ARMOR_FOOTBALLHAT_ABSORPTION = 1,
ARMOR_BEEHAT_ABSORPTION = 1,
ARMOR_SANITY_ABSORPTION = 1,
十三.缩短草、树杈、芦苇长出时间
用记事本打开游戏目录\data\scripts\tuning.lua文件,将以下内容:
GRASS_REGROW_TIME = total_day_time*3,
SAPLING_REGROW_TIME = total_day_time*4,
REEDS_REGROW_TIME = total_day_time*3,
修改为:
GRASS_REGROW_TIME = total_day_time*1,
SAPLING_REGROW_TIME = total_day_time*1,
REEDS_REGROW_TIME = total_day_time*1,
十四.增加墙的耐久力
用记事本打开游戏目录\data\scripts\tuning.lua文件,将以下内容:
HAYWALL_HEALTH = 100,
WOODWALL_HEALTH = 200,
STONEWALL_HEALTH = 400,
修改为:
HAYWALL_HEALTH = 1000,
WOODWALL_HEALTH = 2000,
STONEWALL_HEALTH = 4000,
十五.延长燃料燃烧时间
用记事本打开游戏目录\data\scripts\tuning.lua文件,将以下内容:
TINY_FUEL = seg_time*.25,
SMALL_FUEL = seg_time * .5,
MED_FUEL = seg_time * 1.5,
LARGE_FUEL = seg_time * 6,
修改为:
TINY_FUEL = seg_time*1.25,
SMALL_FUEL = seg_time * 2.5,
MED_FUEL = seg_time * 7.5,
LARGE_FUEL = seg_time * 24,
十六.使不能堆叠的物品可堆叠
打开游戏目录\data\scripts\prefabs文件夹,其中的.lua文件为游戏中的物品。举例:用记事本打开牛角horn.lua,查找local function fn(Sim),在下面的空白处插入以下内容:
inst:AddComponent("stackable")
inst.components.stackable.maxsize = TUNING.STACK_SIZE_SMALLITEM
即可实现不能堆叠的物品可堆叠
十七.使不可燃物品可作燃料
打开游戏目录\data\scripts\prefabs文件夹,其中的.lua文件为游戏中的物品。举例:用记事本打开牛角horn.lua,查找local function fn(Sim),在下面的空白处插入以下内容:
inst:AddComponent("fuel")
inst.components.fuel.fuelvalue = TUNING.LARGE_FUEL
即可实现不可燃物品可作燃料。注意:如果既修改了可堆叠,又修改了可作燃料,添火时请手动分成单个物品再燃烧(用鼠标拿起一堆,按住Ctrl点空白格),否则无论多大一堆都一次烧掉。