饥荒游戏修改编程_第1页
饥荒游戏修改编程_第2页
饥荒游戏修改编程_第3页
饥荒游戏修改编程_第4页
饥荒游戏修改编程_第5页
已阅读5页,还剩607页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

饥荒游戏实用修改技巧适用于巨人的统治DLC游戏100795版,去掉修改路径中的DLC0001\可用于非DLC版一.全人物解锁用记事本打开游戏目录\data\scripts\playerprofile.lua文件,将下列内容: returntrue--modcharacter end returnfalse替换为: returntrue--modcharacter end returntrue即可解锁全人物进行游戏二.提高主角血量10倍用记事本打开游戏目录\data\DLC0001\scripts\tuning.lua文件,1.将localwilson_health=150替换为localwilson_health=15002.将WX78_MIN_HEALTH=100,替换为WX78_MIN_HEALTH=1000,3.将WX78_MAX_HEALTH=400,替换为WX78_MAX_HEALTH=4000,4.将下列内容: WOLFGANG_HEALTH_MIGHTY=300, WOLFGANG_HEALTH_NORMAL=200, WOLFGANG_HEALTH_WIMPY=150,替换为: WOLFGANG_HEALTH_MIGHTY=3000, WOLFGANG_HEALTH_NORMAL=2000, WOLFGANG_HEALTH_WIMPY=1500,5.将WATHGRITHR_HEALTH=200,替换为WATHGRITHR_HEALTH=2000,6.将WEBBER_HEALTH=175,替换为WEBBER_HEALTH=1750,即可让全部主角血量提高10倍,修改这里也使盔甲的耐久度同步上升10倍三.主角自动回血用记事本打开游戏目录\data\DLC0001\scripts\prefabs\player_common.lua文件,在ponents.health:SetMaxHealth(TUNING.WILSON_HEALTH)的下一行插入以下内容:ponents.health:StartRegen(30,10)即可让主角自动回血,其中30为血量,10为10秒回血一次,可自行调整四.增加食物及料理补血量10倍用记事本打开游戏目录\data\DLC0001\scripts\tuning.lua文件,将以下内容: HEALING_TINY=1, HEALING_SMALL=3, HEALING_MEDSMALL=8, HEALING_MED=20, HEALING_MEDLARGE=30, HEALING_LARGE=40, HEALING_HUGE=60, HEALING_SUPERHUGE=100,替换为: HEALING_TINY=10, HEALING_SMALL=30, HEALING_MEDSMALL=80,十四.背猪皮包、穿大理石盔甲行走速度不减慢用记事本打开游戏目录\data\DLC0001\scripts\tuning.lua文件,1.将PIGGYBACK_SPEED_MULT=0.9,替换为PIGGYBACK_SPEED_MULT=1,2.将ARMORMARBLE_SLOW=0.7,替换为ARMORMARBLE_SLOW=1,即可背猪皮包、穿大理石盔甲行走速度不减慢十五.提高拿手杖行走速度用记事本打开游戏目录\data\DLC0001\scripts\tuning.lua文件,将CANE_SPEED_MULT=1.25,替换为CANE_SPEED_MULT=2.5,即可将拿手杖行走速度提高1倍十六.解锁全科技(全人物不用机器就可造全部物品)1.用记事本打开游戏目录\data\DLC0001\scripts\prefabs\player_common.lua文件,在inst:AddComponent("builder")下一行插入以下内容: ponents.builder.science_bonus=3 ponents.builder.magic_bonus=3 ponents.builder.ancient_bonus=42.用记事本打开游戏目录\data\DLC0001\scripts\prefabs\wickerbottom.lua文件,将ponents.builder.science_bonus=1替换为--ponents.builder.science_bonus=1即可让全人物不用机器就可造全部物品,远古物品也不用靠近祭坛就可制造十九.加大单格堆叠数量用记事本打开游戏目录\data\DLC0001\scripts\tuning.lua文件,将以下内容: STACK_SIZE_LARGEITEM=10, STACK_SIZE_MEDITEM=20, STACK_SIZE_SMALLITEM=40,替换为: STACK_SIZE_LARGEITEM=999, STACK_SIZE_MEDITEM=999, STACK_SIZE_SMALLITEM=999,即可加大单格堆叠数量至999二十.增加主角物品条的格子用记事本打开游戏目录\data\DLC0001\scripts\components\inventory.lua文件,将localMAXSLOTS=15替换为localMAXSLOTS=25即可将主角物品条的格子由15个增加到25个二十一.双层主角物品条(60格)1.用记事本打开游戏目录\data\DLC0001\scripts\components\inventory.lua文件,将localMAXSLOTS=15替换为localMAXSLOTS=602.用记事本打开游戏目录\data\scripts\widgets\inventorybar.lua文件,将self.bg:SetScale(1.15,1,1)替换为self.bg:SetScale(1.86,1.85,1)3.将下列内容:localnum_intersep=math.floor(num_slots/5)+1localtotal_w=(num_slots+num_equip)*(W)+(num_slots+num_equip-2-num_intersep)*(SEP)+INTERSEP*num_intersepfork,vinipairs(self.equipslotinfo)dolocalslot=EquipSlot(v.slot,v.atlas,v.image,self.owner)self.equip[v.slot]=self.toprow:AddChild(slot)localx=-total_w/2+(num_slots)*(W)+num_intersep*(INTERSEP-SEP)+(num_slots-1)*SEP+INTERSEP+W*(k-1)+SEP*(k-1)slot:SetPosition(x,0,0)table.insert(eslot_order,slot) localitem=ponents.inventory:GetEquippedItem(v.slot) ifitemthen slot:SetTile(ItemTile(item)) endendfork=1,num_slotsdolocalslot=InvSlot(k,HUD_ATLAS,"inv_slot.tex",self.owner,ponents.inventory)self.inv[k]=self.toprow:AddChild(slot)localinterseps=math.floor((k-1)/5)localx=-total_w/2+W/2+interseps*(INTERSEP-SEP)+(k-1)*W+(k-1)*SEPslot:SetPosition(x,0,0) slot.top_align_tip=W*0.5+YSEP localitem=ponents.inventory:GetItemInSlot(k) ifitemthen slot:SetTile(ItemTile(item)) endend替换为:localnum_intersep=math.floor(num_slots/10)+1localtotal_w=(num_slots-30.85)*(W)+(num_slots-30.85-2-num_intersep)*(SEP)+INTERSEP*num_intersepfork,vinipairs(self.equipslotinfo)dolocalslot=EquipSlot(v.slot,v.atlas,v.image,self.owner)self.equip[v.slot]=self.toprow:AddChild(slot)localx=-total_w/2+(num_slots*0+14.07)*(W)+num_intersep*(INTERSEP-SEP)+(num_slots-1)*SEP+INTERSEP+W*(k-1)+SEP*(k-1)slot:SetPosition(x+341,190,0)table.insert(eslot_order,slot) localitem=ponents.inventory:GetEquippedItem(v.slot) ifitemthen slot:SetTile(ItemTile(item)) endendfork=1,30dolocalslot=InvSlot(k,HUD_ATLAS,"inv_slot.tex",self.owner,ponents.inventory)self.inv[k]=self.toprow:AddChild(slot)localinterseps=math.floor((k-1)/10)localx=-total_w/2+W/2+interseps*(INTERSEP-SEP)+(k-1)*W+(k-1)*SEPslot:SetPosition(x,0,0) localitem=ponents.inventory:GetItemInSlot(k) ifitemthen slot:SetTile(ItemTile(item)) endendfork=31,60dolocalslot=InvSlot(k,HUD_ATLAS,"inv_slot.tex",self.owner,ponents.inventory)self.inv[k]=self.toprow:AddChild(slot)localinterseps=math.floor((k-1-30)/10)localx=-total_w/2+W/2+interseps*(INTERSEP-SEP)+(k-1-30)*W+(k-1-30)*SEPslot:SetPosition(x,80,0) localitem=ponents.inventory:GetItemInSlot(k) ifitemthen slot:SetTile(ItemTile(item)) endend即可获得双层主角物品条(60格),注意必须将游戏设置(options)-(Settings)-HUDsize项设为0,即显示最小物品条,才可完整显示60格哦二十二.同时携带多个背包(背包可库存)1.同时携带多个普通背包:用记事本打开游戏目录\data\DLC0001\scripts\prefabs\backpack.lua文件,将ponents.inventoryitem.cangoincontainer=false替换为ponents.inventoryitem.cangoincontainer=true2.同时携带多个小猪包:用记事本打开游戏目录\data\DLC0001\scripts\prefabs\piggyback.lua文件,将ponents.inventoryitem.cangoincontainer=false替换为ponents.inventoryitem.cangoincontainer=true3.同时携带多个坎普斯背包:用记事本打开游戏目录\data\DLC0001\scripts\prefabs\krampus_sack.lua文件,将ponents.inventoryitem.cangoincontainer=false替换为ponents.inventoryitem.cangoincontainer=true4.同时携带多个冰包:用记事本打开游戏目录\data\DLC0001\scripts\prefabs\icepack.lua文件,将ponents.inventoryitem.cangoincontainer=false替换为ponents.inventoryitem.cangoincontainer=true即可同时携带多个背包二十三.背包格子增大至39格用记事本打开游戏目录\data\DLC0001\scripts\prefabs\backpack.lua文件,1.将下列内容:fory=0,3do table.insert(slotpos,Vector3(-162,-y*75+114,0)) table.insert(slotpos,Vector3(-162+75,-y*75+114,0))替换为:fory=0,12do table.insert(slotpos,Vector3(-162,-y*75+435,0)) table.insert(slotpos,Vector3(-162+75,-y*75+435,0)) table.insert(slotpos,Vector3(-162+150,-y*75+435,0))2.将下列内容:ponents.container.widgetanimbank="ui_backpack_2x4"ponents.container.widgetanimbuild="ui_backpack_2x4"ponents.container.widgetpos=Vector3(-5,-70,0)替换为:--ponents.container.widgetanimbank="ui_backpack_2x4"--ponents.container.widgetanimbuild="ui_backpack_2x4"ponents.container.widgetpos=Vector3(-25,-50,0)即可让普通背包格子增大至39格二十四.制造坎普斯背包用记事本打开游戏目录\data\DLC0001\scripts\recipes.lua文件,在Recipe("piggyback",{Ingredient("pigskin",4),Ingredient("silk",6),Ingredient("rope",2)},RECIPETABS.SURVIVAL,TECH.SCIENCE_TWO)的下一行插入以下内容:Recipe("krampus_sack",{Ingredient("cutgrass",5),Ingredient("twigs",5)},RECIPETABS.SURVIVAL,TECH.NONE)即可在生存选项(画着绳套)下,用5个草、5个树杈制造坎普斯背包。不要与“巨型超市”一同修改,因为“巨型超市”中已经有坎普斯背包出售二十五.伍迪砍树不会变海狸用记事本打开游戏目录\data\DLC0001\scripts\prefabs\woodie.lua文件,将ponents.beaverness:DoDelta(3)替换为ponents.beaverness:DoDelta(0)即可让伍迪砍树不会变海狸二十六.伍迪吃疯肉立即变海狸且随身物品不掉落用记事本打开游戏目录\data\DLC0001\scripts\prefabs\woodie.lua文件,1.将ponents.inventory:DropEverything()替换为--ponents.inventory:DropEverything()2.在inst.Light:SetColour(245/255,40/255,0/255)的下一行插入以下内容:localfunctionOnEat(inst,food)iffood.prefab=="monstermeat"andnotponents.beaverness:IsBeaver()thenifnotponents.beaverness.doing_transformthenponents.beaverness:SetPercent(1)endendendponents.eater:SetOnEatFn(OnEat)即可让伍迪吃疯肉立即变海狸,随身物品还保留在身上(只是看不见),等变回伍迪即可使用。不要在伍迪佩戴橙色护身符时变海狸,否则砍的木头都自动被吸走,海狸无法吃到。不要与“小病小灾”一同修改二十七.图书管理员不再失眠(老太太可以睡帐篷)用记事本打开游戏目录\data\DLC0001\scripts\prefabs\wickerbottom.lua文件,将inst:AddTag("insomniac")替换为--inst:AddTag("insomniac")即可让老太太也可以睡帐篷二十八.麦斯威尔用魔法书召唤分身不减脑上限1.用记事本打开游戏目录\data\scripts\prefabs\waxwelljournal.lua文件,将ponents.sanity:RecalculatePenalty()替换为--ponents.sanity:RecalculatePenalty()2.用记事本打开游戏目录\data\scripts\prefabs\shadowwaxwell.lua文件,将下列内容:inst:ListenForEvent("death",ondeath) inst:AddComponent("inventory")ponents.inventory.dropondeath=falseinst:AddComponent("sanityaura")ponents.sanityaura.penalty=TUNING.SHADOWWAXWELL_SANITY_PENALTY替换为:--inst:ListenForEvent("death",ondeath) inst:AddComponent("inventory")ponents.inventory.dropondeath=false--inst:AddComponent("sanityaura")--ponents.sanityaura.penalty=TUNING.SHADOWWAXWELL_SANITY_PENALTY即可在麦斯威尔用魔法书召唤分身时不减脑上限二十九.瓦丝格雷斯可以吃蔬菜用记事本打开游戏目录\data\DLC0001\scripts\prefabs\wathgrithr.lua文件,将ponents.eater:SetCarnivore(true)替换为--ponents.eater:SetCarnivore(true)即可让红发妹瓦丝格雷斯不止可以吃肉,也可以吃蔬菜三十.韦伯不被当成怪物用记事本打开游戏目录\data\DLC0001\scripts\prefabs\webber.lua文件,将inst:AddTag("monster")替换为--inst:AddTag("monster")即可让韦伯不被当成怪物,猪人、兔人等中立动物不会主动攻击你三十一.全部物品无限使用(工具、武器、盔甲、魔杖、护身符、衣服、帽子、照明物品等全部无限使用)1.用记事本打开游戏目录\data\DLC0001\scripts\widgets\itemtile.lua文件,将下列内容:ifponents.fueledthenself:SetPercent(ponents.fueled:GetPercent())endifponents.finiteusesthenself:SetPercent(ponents.finiteuses:GetPercent())endifponents.perishablethenifself:HasSpoilage()thenself:SetPerishPercent(ponents.perishable:GetPercent())elseself:SetPercent(ponents.perishable:GetPercent())endendifponents.armorthenself:SetPercent(ponents.armor:GetPercent())end替换为:--ifponents.fueledthen--self:SetPercent(ponents.fueled:GetPercent())--end--ifponents.finiteusesthen--self:SetPercent(ponents.finiteuses:GetPercent())--endifponents.perishablethenifself:HasSpoilage()thenself:SetPerishPercent(ponents.perishable:GetPercent())elseself:SetPercent(ponents.perishable:GetPercent())endend--ifponents.armorthen--self:SetPercent(ponents.armor:GetPercent())--end2.用记事本打开游戏目录\data\scripts\components\finiteuses.lua文件,将self:SetUses(self.current-(numor1))替换为self:SetUses(self.current-0)3.用记事本打开游戏目录\data\DLC0001\scripts\components\fueled.lua文件,将self.consuming=true替换为self.consuming=false4.用记事本打开游戏目录\data\scripts\components\armor.lua文件,将下列内容:functionArmor:SetCondition(amount)self.condition=amount替换为:functionArmor:SetCondition(amount)self.condition=self.maxcondition即可让全部物品无限使用。其中火堆和石头营火会无限燃烧,直到睡过帐篷或下地洞后熄灭三十二.修改装备使用次数及时间用记事本打开游戏目录\data\DLC0001\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_PERISHTIME=total_day_time*10,替换为BEEFALOHAT_PERISHTIME=total_day_time*100,三十三.武器伤害值加大用记事本打开游戏目录\data\DLC0001\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,--Duetothedamagebeingelectric,itwillgetmultipliedby1.5againstanymob吹箭 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,三十四.盔甲在就不掉血(盔甲100%吸收伤害值)用记事本打开游戏目录\data\DLC0001\scripts\tuning.lua文件,1.草盔甲:将ARMORGRASS_ABSORPTION=.6,替换为ARMORGRASS_ABSORPTION=1,2.木盔甲:将ARMORWOOD_ABSORPTION=.8,替换为ARMORWOOD_ABSORPTION=1,3.大理石盔甲:将ARMORMARBLE_ABSORPTION=.95,替换为ARMORMARBLE_ABSORPTION=1,4.蜗牛龟盔甲:将ARMORSNURTLESHELL_ABSORPTION=0.6,替换为ARMORSNURTLESHELL_ABSORPTION=1,5.远古盔甲:将ARMORRUINS_ABSORPTION=0.9,替换为ARMORRUINS_ABSORPTION=1,6.饥饿腰带:将ARMORSLURPER_ABSORPTION=0.6,替换为ARMORSLURPER_ABSORPTION=1,7.猪皮帽:将ARMOR_FOOTBALLHAT_ABSORPTION=.8,替换为ARMOR_FOOTBALLHAT_ABSORPTION=1,8.蜻蜓盔甲:将ARMORDRAGONFLY_ABSORPTION=0.7,替换为ARMORDRAGONFLY_ABSORPTION=1,9.瓦丝格雷斯帽:将ARMOR_WATHGRITHRHAT_ABSORPTION=.8,替换为ARMOR_WATHGRITHRHAT_ABSORPTION=1,10.远古王冠:将ARMOR_RUINSHAT_ABSORPTION=0.9,替换为ARMOR_RUINSHAT_ABSORPTION=1,11.蜗牛帽:将ARMOR_SLURTLEHAT_ABSORPTION=0.9,替换为ARMOR_SLURTLEHAT_ABSORPTION=1,12.蜂帽:将ARMOR_BEEHAT_ABSORPTION=.8,替换为ARMOR_BEEHAT_ABSORPTION=1,13.夜魔盔甲:将ARMOR_SANITY_ABSORPTION=.95,替换为ARMOR_SANITY_ABSORPTION=1,即可让盔甲100%吸收伤害值三十五.提高盔甲耐久力用记事本打开游戏目录\data\DLC0001\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,三十六.盔甲永固(永远100%)用记事本打开游戏目录\data\scripts\components\armor.lua文件,将下列内容:functionArmor:SetCondition(amount)self.condition=amount替换为:functionArmor:SetCondition(amount)self.condition=self.maxcondition即可让盔甲永固三十九.远程采集和拾起物品用记事本打开游戏目录\data\DLC0001\scripts\actions.lua文件,将下列内容:PICK=Action(),PICKUP=Action(1),替换为:PICK=Action(0,true,false,20),PICKUP=Action(1,true,false,20),即可用鼠标左键点击草、树杈等物品,直接采集或捡起,主角不必跑过去,大大节约了时间四十.收割者(吹排箫一次采集周边所有植物)用记事本打开游戏目录\data\DLC0001\scripts\prefabs\panflute.lua文件,1.将下列内容:localfunctionHearPanFlute(inst,musician,instrument) ifponents.sleeperthen ponents.sleeper:AddSleepiness(10,TUNING.PANFLUTE_SLEEPTIME) endend替换为:localfunctionHearPanFlute(inst,musician,instrument)localpos=Vector3(inst.Transform:GetWorldPosition())localents=TheSim:FindEntities(pos.x,pos.y,pos.z,30)fork,vinpairs(ents)doifponents.pickableandv.prefab~="flower"thenponents.pickable:Pick(GetPlayer())endifponents.cropthenponents.crop:Harvest(GetPlayer())endendend2.将下列内容:ponents.instrument.range=TUNING.PANFLUTE_SLEEPRANGEponents.instrument:SetOnHeardFn(HearPanFlute)inst:AddComponent("tool")ponents.tool:SetAction(ACTIONS.PLAY)inst:AddComponent("finiteuses")ponents.finiteuses:SetMaxUses(TUNING.PANFLUTE_USES)ponents.finiteuses:SetUses(TUNING.PANFLUTE_USES)ponents.finiteuses:SetOnFinished(onfinished)ponents.finiteuses:SetConsumption(ACTIONS.PLAY,1)替换为:ponents.instrument:SetOnHeardFn(HearPanFlute)inst:AddComponent("tool")ponents.tool:SetAction(ACTIONS.PLAY)即可吹排箫一次采集周边所有植物(除了花),包括农田也可以收割,排箫原有催眠功能取消。排箫在魔法选项(画着红骷髅)下用5个芦苇、1个曼德拉草、1个绳子制造。如果觉得曼德拉草不好找,可以按本修改技巧“用便便种曼德拉草”修改一下四十六.树桩继续长成树用记事本打开游戏目录\data\DLC0001\scripts\prefabs\evergreens.lua文件,1.将下列内容:localfunctionchop_down_tree(inst,chopper)inst:RemoveComponent("burnable")MakeSmallBurnable(inst)inst:RemoveComponent("propagator")MakeSmallPropagator(inst)inst:RemoveComponent("workable")替换为:MakeLargeBurnable(inst)MakeLargePropagator(inst)2.将下列内容:RemovePhysicsColliders(inst)inst.AnimState:PushAnimation(inst.anims.stump) inst:AddComponent("workable")ponents.workable:SetWorkAction(ACTIONS.DIG)ponents.workable:SetOnFinishCallback(dig_up_stump)ponents.workable:SetWorkLeft(1)inst:AddTag("stump")ifponents.growablethenponents.growable:StopGrowing()end替换为:inst.AnimState:PushAnimation(inst.anims.stump)即可让树桩继续长成树,取消用铲子挖树桩,如果不想要树桩了,烧掉即可。注意这种再生树不会烧成枯树,烧完只会剩一团灰。不要与“砍树无树桩”一同修改四十七.采矿时50%概率挖出宝石和铥矿石用记事本打开游戏目录\data\scripts\prefabs\rocks.lua文件,将下列内容:SetSharedLootTable('rock1',{{'rocks',1.00},{'rocks',1.00},{'rocks',1.00},{'nitre',1.00},{'flint',1.00},{'nitre',0.25},{'flint',0.60},})SetSharedLootTable('rock2',{{'rocks', 1.00},{'rocks', 1.00},{'rocks', 1.00},{'goldnugget',1.00},{'flint', 1.00},{'goldnugget',0.25},{'flint', 0.60},})SetSharedLootTable('rock_flintless',{{'rocks',1.0},{'rocks',1.0},{'rocks',1.0},{'rocks', 1.0},{'rocks',0.6},})SetSharedLootTable('rock_flintless_med',{{'rocks',1.0},{'rocks',1.0},{'rocks',1.0},{'rocks',0.4},})SetSharedLootTable('rock_flintless_low',{{'rocks',1.0},{'rocks',1.0},{'rocks',0.2},})替换为:SetSharedLootTable('rock1',{{'rocks',1.00},{'rocks',1.00},{'rocks',1.00},{'nitre',1.00},{'flint',1.00},{'nitre',0.25},{'flint',0.60},{'bluegem',0.50},{'redgem',0.50},{'orangegem',0.50},{'yellowgem',0.50},{'greengem',0.50},{'purplegem',0.50},{'thulecite',0.50},})SetSharedLootTable('rock2',{{'rocks', 1.00},{'rocks', 1.00},{'rocks', 1.00},{'goldnugget',1.00},{'flint', 1.00},{'goldnugget',0.25},{'flint', 0.60},{'bluegem',0.50},{'redgem',0.50},{'orangegem',0.50},{'yellowgem',0.50},{'greengem',0.50},{'purplegem',0.50},{'thulecite',0.50},})SetSharedLootTable('rock_flintless',{{'rocks',1.0},{'rocks',1.0},{'rocks',1.0},{'rocks', 1.0},{'rocks',0.6},{'bluegem',0.50},{'redgem',0.50},{'orangegem',0.50},{'yellowgem',0.50},{'greengem',0.50},{'purplegem',0.50},{'thulecite',0.50},})SetSharedLootTable('rock_flintless_med',{{'rocks',1.0},{'rocks',1.0},{'rocks',1.0},{'rocks',0.4},{'bluegem',0.50},{'redgem',0.50},{'orangegem',0.50},{'yellowgem',0.50},{'greengem',0.50},{'purplegem',0.50},{'thulecite',0.50},})SetSharedLootTable('rock_flintless_low',{{'rocks',1.0},{'rocks',1.0},{'rocks',0.2},{'bluegem',0.50},{'redgem',0.50},{'orangegem',0.50},{'yellowgem',0.50},{'greengem',0.50},{'purplegem',0.50},{'thulecite',0.50},})即可在采矿时50%概率挖出宝石和铥矿石。也可将bluegem(蓝宝石)、redgem(红宝石)、orangegem(橙宝石)、yellowgem(黄宝石)、greengem(绿宝石)、purplegem(紫宝石)、thulecite(铥矿石)换成其他物品,比如koalefant_summer(红象)、koalefant_winter(冬象),并调整0.50的出现概率为你想要的数字六十八.生命号角(吹牛角让农田和植物迅速长出)用记事本打开游戏目录\data\scripts\prefabs\horn.lua文件,1.在下列内容:localfunctiononfinished(inst)inst:Remove()end的下一行插入以下内容:functiongrowfn(inst,reader)localpos=Vector3(reader.Transform:GetWorldPosition())localents=TheSim:FindEntities(pos.x,pos.y,pos.z,30)fork,vinpairs(ents)doifponents.pickablethenponents.pickable:FinishGrowing()endifponents.cropthenponents.crop:DoGrow(TUNING.TOTAL_DAY_TIME*3)endifv:HasTag("tree")andponents.growableandnotv:HasTag("stump")thenponents.growable:DoGrowth()endendend2.将下列内容:ponents.instrument.range=TUNING.HORN_RANGEponents.instrument:SetOnHeardFn(HearHorn)替换为:ponents.instrument.onheard=growfn即可在采集过的植物根附近吹牛角,使植物瞬间生长出来,小树也可以长成大树,牛角原有让牛跟随功能失效七十二.农田不用施肥用记事本打开游戏目录\data\DLC0001\scripts\components\grower.lua文件,将self.cycles_left=self.cycles_left-1替换为self.cycles_left=self.cycles_left即可让农田不用施肥七十五.冰箱容量增加3倍(27格)用记事本打开游戏目录\data\DLC0001\scripts\prefabs\icebox.lua文件,1.将fory=2,0,-1do替换为fory=8,0,-1do2.将下列内容:ponents.container.widgetanimbank="ui_chest_3x3"ponents.container.widgetanimbuild="ui_chest_3x3"ponents.container.widgetpos=Vector3(0,200,0)替换为:--ponents.container.widgetanimbank="ui_chest_3x3"--ponents.container.widgetanimbuild="ui_chest_3x3"ponents.container.widgetpos=Vector3(0,100,0)即可让冰箱容量增加3倍至27格八十.木箱容量增加9倍(81格)用记事本打开游戏目录\data\DLC0001\scripts\prefabs\treasurechest.lua文件,1.将下列内容:fory=2,0,-1do forx=0,2do替换为:fory=8,0,-1do forx=0,8do2.将下列内容: ponents.container.widgetanimbank="ui_chest_3x3" ponents.container.widgetanimbuild="ui_chest_3x3" ponents.container.widgetpos=Vector3(0,200,0)替换为: --ponents.container.widgetanimbank="ui_chest_3x3" --ponents.container.widgetanimbuild="ui_chest_3x3" ponents.container.widgetpos=Vector3(0,100,0)即可让木箱容量增加9倍至81格八十一.蜻蜓箱子容量增加9倍(108格)用记事本打开游戏目录\data\DLC0001\scripts\prefabs\dragonfly_chest.lua文件,1.将下列内容:fory=2.5,-0.5,-1doforx=0,2do替换为:fory=8,0,-1doforx=0,11do2.将下列内容:ponents.container.widgetanimbank="ui_chester_shadow_3x4"ponents.container.widgetanimbuild="ui_chester_shadow_3x4" ponents.container.widgetpos=Vector3(0,200,0)替换为:--ponents.container.widgetanimbank="ui_chester_shadow_3x4"--ponents.container.widgetanimbuild="ui_chester_shadow_3x4" ponents.container.widgetpos=Vector3(-200,100,0)即可使蜻蜓箱子容量增加9倍至108格八十二.精炼选项里的物品一次造10个用记事本打开游戏目录\data\DLC0001\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个八十六.收获蜂箱不被蛰用记事本打开游戏目录\data\DLC0001\scripts\prefabs\beebox.lua文件,将ponents.childspawner:ReleaseAllChildren(picker)替换为--ponents.childspawner:ReleaseAllChildren(picker)即可在收获蜂箱不被蛰八十七.蜂箱容量增加10倍(最多可采60个蜂蜜)用记事本打开游戏目录\data\DLC0001\scripts\prefabs\beebox.lua文件,1.将下列内容:{amount=6,idle="honey3",hit="hit_honey3"},{amount=3,idle="honey2",hit="hit_honey2"},{amount=1,idle="honey1",hit="hit_honey1"},替换为:{amount=60,idle="honey3",hit="hit_honey3"},{amount=30,idle="honey2",hit="hit_honey2"},{amount=10,idle="honey1",hit="hit_honey1"},2.将ponents.harvestable:SetUp("honey",6,nil,onharvest,updatelevel)替换为ponents.harvestable:SetUp("honey",60,nil,onharvest,updatelevel)即可让蜂箱容量增加10倍,可减少照管的时间九十一.快速找到牛(牛在地图上显示)用记事本打开游戏目录\data\scripts\prefabs\beefalo.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容:localminimap=inst.entity:AddMiniMapEntity()minimap:SetIcon("beemine.png")即可在地图上看到牛的位置,显示为炸弹图标,因为你不知道它什么时候会发狂九十二.牛产便便速度增加1倍用记事本打开游戏目录\data\scripts\prefabs\beefalo.lua文件,将ponents.periodicspawner:SetRandomTimes(40,60)替换为ponents.periodicspawner:SetR

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论