《饥荒》这款探险游戏受到不少玩家的好评,最近有不少玩家表示武器道具不够用。下面给大家带来武器耐久代码一览,以方便大家修改装备使用次数。
这是一个介绍饥荒20版的武器工具耐久的代码介绍,根据玩家自己的爱好,想改几倍就可以改成几倍,使用简单方便,分享给需要的玩家。
代码介绍
修改装备使用次数及时间:
用记事本打开游戏目录\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, 火魔杖
TELESTAFF_USES = 5, 远程魔杖
HAMBAT_USES = 100, 火腿棍棒
BATBAT_USES = 75, 蝙蝠棒
REDAMULET_USES = 20, 红色护身符
BLUEAMULET_FUEL = total_day_time * 0.75, 蓝色护身符
PURPLEAMULET_FUEL = total_day_time * 0.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, 背心
SWEATERVEST_PERISHTIME = total_day_time*10, 毛背心
WALRUSHAT_PERISHTIME = total_day_time*25, 海象帽子
FEATHERHAT_PERISHTIME = total_day_time*8, 羽毛帽
TOPHAT_PERISHTIME = total_day_time*8, 高礼帽
加大每行的数字,即可增加该装备使用次数及时间。