饥荒实用修改技巧更新 下载本文

2.同时携带多个小猪包:用记事本打开游戏目录\\data\\scripts\\prefabs\\piggyback.lua文件,将inst.components.inventoryitem.cangoincontainer inst.components.inventoryitem.cangoincontainer = true

3.同时携带多个坎普斯背包:用记事本打开游戏目录\\data\\scripts\\prefabs\\krampus_sack.lua文件,将inst.components.inventoryitem.cangoincontainer = false修改为inst.components.inventoryitem.cangoincontainer = true

即可同时携带多个背包

二十一.制造坎普斯背包(18版及以后游戏使用)

用记事本打开游戏目录\\data\\scripts\\recipes.lua文件,在Recipe("piggyback", {Ingredient("pigskin", 4), Ingredient("silk", 6), Ingredient("rope", 2)}, RECIPETABS.SURVIVAL, TECH.SCIENCE_TWO)的下一行插入以下内容:

Recipe("krampus_sack",

即可用5个草、5个树杈制造坎普斯背包

二十二.武器伤害值加大

用记事本打开游戏目录\\data\\scripts\\tuning.lua文件,查找以下内容:

UNARMED_DAMAGE = 10,

空手

NIGHTSWORD_DAMAGE = wilson_attack*2, 暗影剑 BATBAT_DAMAGE = wilson_attack * 1.25, 蝙蝠棒 BATBAT_DRAIN = wilson_attack * 0.2, SPIKE_DAMAGE = wilson_attack*1.5, SPEAR_DAMAGE = wilson_attack, 矛 AXE_DAMAGE = wilson_attack*.8, 斧头 PICK_DAMAGE = wilson_attack*.8, 镐

枯竭蝙蝠棒 狼牙棒

{Ingredient("cutgrass",

5),Ingredient("twigs", 5)}, RECIPETABS.SURVIVAL, TECH.NONE)

=

false

HAMBAT_DAMAGE = wilson_attack, 火腿棍棒

BOOMERANG_DAMAGE = wilson_attack*.8, 回旋镖 TORCH_DAMAGE = wilson_attack*.5, SHOVEL_DAMAGE = wilson_attack*.5,

火炬 铲子

草叉

HAMMER_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*.5, 手杖 BEAVER_DAMAGE = wilson_attack*1.5, 海狸 MULTITOOL_DAMAGE = wilson_attack*.9, PIPE_DART_DAMAGE = 100, 吹箭 TRAP_TEETH_DAMAGE = 60, 牙齿陷阱

加大每行最后的数字,即可增大各种武器的伤害值,游戏中的伤害值是你修改的数字乘34(主角攻击力)

二十三.修改魔杖伤害值(魔杖一击必杀) 用

\\data\\scripts\\prefabs\\staff.lua

将为

inst.components.weapon:SetDamage(0)inst.components.weapon:SetDamage(0)要修改

二十四.修改装备使用次数及时间

用记事本打开游戏目录\\data\\scripts\\tuning.lua文件,查找以下内容:

AXE_USES = 100,

斧头

HAMMER_USES = 75,

多功能工具

inst.components.weapon:SetDamage(TUNING.PIPE_DART_DAMAGE*30)即可,一共有两处

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,

火魔杖 TELESTAFF_USES = 5,

远程魔杖

橙色魔杖

YELLOWSTAFF_USES = 20, 黄色魔杖 ORANGESTAFF_USES = 20, HAMBAT_USES = 100,

GREENSTAFF_USES = 5, 绿色魔杖

火腿棍棒

BATBAT_USES = 75, 蝙蝠棒

MULTITOOL_AXE_PICKAXE_USES = 230, 多功能工具斧头和锄头 REDAMULET_USES = 20, 红色护身符

BLUEAMULET_FUEL = total_day_time * 0.75, 蓝色护身符 PURPLEAMULET_FUEL = total_day_time * 0.4, 紫色护身符 YELLOWAMULET_FUEL = total_day_time, 黄色护身符 ORANGEAMULET_USES = 225, 橙色护身符 GREENAMULET_USES = 5, PANFLUTE_USES = 10, HORN_USES = 10, 牛角

TRAP_TEETH_USES = 10, 牙齿陷阱 TENT_USES = 6,

帐篷

伞 针线包

火炬

提灯

UMBRELLA_USES = 20, SEWINGKIT_USES = 5,

TORCH_FUEL = night_time*1.25,

MINERHAT_LIGHTTIME = (night_time+dusk_time)*2.6, 矿工帽 LANTERN_LIGHTTIME = (night_time+dusk_time)*2.6, SPIDERHAT_PERISHTIME = 4*seg_time, 蜘蛛帽 ONEMANBAND_PERISHTIME = 6*seg_time,

独奏乐器

冬帽 牛毛帽 背心 海象帽子 羽毛帽

EARMUFF_PERISHTIME = total_day_time*5, 兔耳罩 WINTERHAT_PERISHTIME = total_day_time*10, BEEFALOHAT_PERISHTIME = total_day_time*10,

TRUNKVEST_PERISHTIME = total_day_time*15, WALRUSHAT_PERISHTIME = total_day_time*25, FEATHERHAT_PERISHTIME = total_day_time*8, TOPHAT_PERISHTIME = total_day_time*8,

加大每行的数字,即可增加该装备使用次数及时间 SWEATERVEST_PERISHTIME = total_day_time*10, 毛背心

绿色护身符 排箫

暗影剑

高礼帽

二十五.盔甲在就不掉血(盔甲100%吸收伤害值)

用记事本打开游戏目录\\data\\scripts\\tuning.lua文件,将以下内容:

ARMORGRASS_ABSORPTION = .6, ARMORWOOD_ABSORPTION = .8, ARMORMARBLE_ABSORPTION = .95, ARMOR_FOOTBALLHAT_ABSORPTION = .8, ARMOR_SLURTLEHAT_ABSORPTION = 0.9, ARMOR_BEEHAT_ABSORPTION = .8, ARMOR_SANITY_ABSORPTION = .95, 修改为:

ARMORGRASS_ABSORPTION = 1, ARMORWOOD_ABSORPTION = 1, ARMORMARBLE_ABSORPTION = 1, ARMOR_FOOTBALLHAT_ABSORPTION = 1, ARMOR_SLURTLEHAT_ABSORPTION = 1, ARMOR_BEEHAT_ABSORPTION = 1, ARMOR_SANITY_ABSORPTION = 1,

二十六.提高盔甲耐久力

用记事本打开游戏目录\\data\\scripts\\tuning.lua文件,将以下内容:

ARMORGRASS = wilson_health*1.5, 草盔甲 ARMORWOOD = wilson_health*3, 木盔甲 ARMORMARBLE = wilson_health*7, 大理石盔甲 ARMOR_FOOTBALLHAT = wilson_health*3, ARMOR_BEEHAT = wilson_health*5, ARMOR_SANITY = wilson_health * 5,

加大每行最后的数字,即可提高盔甲耐久力

足球帽

ARMOR_SLURTLEHAT = wilson_health*5, 蜗牛帽

蜂帽 夜魔盔甲