饥友分享的饥荒常用的修改

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

001,来源来自易宁修改,再联机版中我试了许多都不能用,以下是常用的我试过可行的比较简单的修改,还有许多没去试,太麻烦也很影响游戏平衡和乐趣,也有增加游戏
乐趣的,大家可以自己去百度文库《易宁修改》自己试试,详细的其他的没试过的修改我也会放在群里,大家自行理解尝试



002,提高盔甲耐久力

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


木盔甲 ARMORWOOD = wilson_health*3,

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






003,快速采集草、树枝、浆果


1.草:用记事本打开游戏目录\data\scripts\prefabs\grass.lua文件,在inst:AddComponent("pickable")的下一行插入ponents.pickable.quickpick = true

2.树枝:用记事本打开游戏目录\data\scripts\prefabs\sapling.lua文件,在inst:AddComponent("pickable")的下一行插入ponents.pickable.quickpick = true

3.浆果:用记事本打开游戏目录\data\scripts\prefabs\berrybush.lua文件,在inst:AddComponent("pickable")的下一行插入ponents.pickable.quickpick = true





004,一斧砍倒一棵树、一镐开掉一块石

1.用记事本打开游戏目录\data\scripts\prefabs\axe.lua文件,将ponents.tool:SetAction(ACTIONS.CHOP)替换为ponents.tool:SetAction(ACTIONS.CHOP, 15)

2.用记事本打开游戏目录\data\scripts\prefabs\pickaxe.lua文件,将ponents.tool:SetAction(ACTIONS.MINE)替换为ponents.tool:SetAction(ACTIONS.MINE, 15)

即可一斧砍倒一棵树、一镐开掉一块石





005,无限开石头(石头不消失)

用记事本打开游戏目录\data\scripts\prefabs\rocks.lua文件,将inst:Remove()替换为ponents.workable.workleft = 10

即可在开矿时既掉落矿石,石头本身又不消失,可以无限开石头







006,冰箱永久保鲜

用记事本打开游戏目录\data\scripts\tuning.lua文件,将PERISH_FRIDGE_MULT = .5,替换为PERISH_FRIDGE_MULT = 0,

即可让放入冰箱的食物永久保鲜。如果将0改为负数比如-5,则可使不新鲜的食物回复新鲜度








007,矿工灯无限使用


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

ponents.fueled:StartConsuming()
inst.SoundEmitter:PlaySound("dontstarve/common/minerhatAddFuel")

替换为:

ponents.fueled:StopConsuming()
inst.SoundEmitter:PlaySound("dontstarve/common/minerhatAddFuel")即可





008,修改装备使用次数及时间

用记事本打开游戏目录\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,
瓦丝格雷斯矛 WATHGRITHR_SPEAR_USES = 200,
狼牙棒 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,
绿色魔杖 GREENSTAFF_USES = 5,
龙卷风魔杖 TORNADOSTAFF_USES = 15,
火腿短棍 HAMBAT_USES = 100,
蝙蝠棒 BATBAT_USES = 75,
多功能工具斧头和锄头 MULTITOOL_AXE_PICKAXE_USES = 400,
远古短棒 RUINS_BAT_USES = 150,
红色护身符 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,
午睡小屋 SIESTA_CANOPY_USES = 6,
伞(攻击次数) UMBRELLA_USES = 20,
针线包 SEWINGKIT_USES = 5,
肥料 FERTILIZER_USES = 10,
铃 GLOMMERBELL_USES = 3,
火炬 TORCH_FUEL = night_time*1.25,
夜棍 NIGHTSTICK_FUEL = night_time*6,
矿工帽 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,
草伞 GRASS_UMBRELLA_PERISHTIME = 2*total_day_time*perish_warp,
伞 UMBRELLA_PERISHTIME = total_day_time*6,
眼睛帽 EYEBRELLA_PERISHTIME = total_day_time*9,
草帽 STRAWHAT_PERISHTIME = total_day_time*5,
兔耳罩 EARMUFF_PERISHTIME = total_day_time*5,
冬帽 WINTERHAT_PERISHTIME = total_day_time*10,
牛毛帽 BEEFALOHAT_PERISHTIME = total_day_time*10,
寒冬背心 TRUNKVEST_PERISHTIME = total_day_time*15,
反射背心 REFLECTIVEVEST_PERISHTIME = total_day_time*8,
夏威夷衬衫 HAWAIIANSHIRT_PERISHTIME = total_day_time*15,
小巧背心 SWEATERVEST_PERISHTIME = total_day_time*10,
饥饿腰带 HUNGERBELT_PERISHTIME = total_day_time*8,
熊背心 BEARGERVEST_PERISHTIME = total_day_time*7,
雨衣 RAINCOAT_PERISHTIME = total_day_time*10,
海象帽子 WALRUSHAT_PERISHTIME = total_day_time*25,
羽毛帽 FEATHERHAT_PERISHTIME = total_day_time*8,
高礼帽 TOPHAT_PERISHTIME = total_day_time*8,
冰帽 ICEHAT_PERISHTIME = total_day_time*4,
鼹鼠帽 MOLEHAT_PERISHTIME = total_day_time*1.5,
防雨帽 RAINHAT_PERISHTIME = total_day_time*10,
浣熊帽 CATCOONHAT_PERISHTIME = total_day_time*10,
羽毛扇 FEATHER_FAN_USES = 15,

加大每行的数字,即可增加该装备使用次数及时间。如让牛毛帽使用时间增加10倍,就将BEEFALOHAT_PER

ISHTIME = total_day_time*10,替换为BEEFALOHAT_PERISHTIME = total_day_time*100,




009,武器伤害值加大

用记事本打开游戏目录\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,
火腿短棍 HAMBAT_DAMAGE = wilson_attack*1.75,
矛 SPEAR_DAMAGE = wilson_attack,
瓦丝格雷斯矛 WATHGRITHR_SPEAR_DAMAGE = wilson_attack * 1.25,
斧头 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*.5,
多功能工具 MULTITOOL_DAMAGE = wilson_attack*.9,
远古短棒 RUINS_BAT_DAMAGE = wilson_attack * 1.75,
夜棍 NIGHTSTICK_DAMAGE = wilson_attack*.85, -- Due to the damage being electric, it will get multiplied by 1.5 against any mob
吹箭 PIPE_DART_DAMAGE = 100,
牙齿陷阱 TRAP_TEETH_DAMAGE = 60,
火药 GUNPOWDER_DAMAGE = 200,
打火机 LIGHTER_DAMAGE = wilson_attack*.5,
眼睛炮塔 EYETURRET_DAMAGE = 65,
龙卷风 TORNADO_DAMAGE = 7,

加大每行最后的数字,即可增大各种武器的伤害值,游戏中的伤害值是你修改的数字乘34(主角攻击力)。如将暗影剑的伤害值增大10倍,就将NIGHTSWORD_DAMAGE = wilson_attack*2,替换为NIGHTSWORD_DAMAGE = wilson_attack*20,





010,提高盔甲耐久力

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

草盔甲 ARMORGRASS = wilson_health*1.5,
木盔甲 ARMORWOOD = wilson_health*3,
大理石盔甲 ARMORMARBLE = wilson_health*7,
蜗牛龟盔甲 ARMORSNURTLESHELL = wilson_health*7,
远古盔甲 ARMORRUINS = wilson_health * 12,
饥饿腰带 ARMORSLURPER = wilson_health * 4,
猪皮帽 ARMOR_FOOTBALLHAT = wilson_health*3,
蜻蜓盔甲 ARMORDRAGONFLY = wilson_health * 9,
瓦丝格雷斯帽 ARMOR_WATHGRITHRHAT = wilson_health * 5,
远古王冠 ARMOR_RUINSHAT = wilson_health*8,
蜗牛帽 ARMOR_SLURTLEHAT = wilson_health*5,
蜂帽 ARMOR_BEEHAT = wilson_health*5,
夜魔盔甲 ARMOR_SANITY = wilson_health * 5,

加大每行最后的数字,即可提高盔甲耐久力。如让草盔甲耐久力增大10倍,则将ARMORGRASS = wilson_health*1.5,替换为ARMORGRASS = wilson_health*15,查找的时候查找等号前边的半段,因为联机版跟DCL还是有许多区别的,全搜的话搜不到,搜完之

后也是更改数字就可以了

相关文档
最新文档