<form id="dn777"><listing id="dn777"></listing></form>

        <form id="dn777"></form>

        <address id="dn777"></address>

        饑荒實用修改技巧更新 下載本文

        1.魔杖無限使用:用記事本打開游戲目錄\\data\\scripts\\prefabs\\staff.lua文件,將下列內容:

        inst:AddComponent("finiteuses") inst.components.finiteuses:SetOnFinished( onfinished )

        inst.components.finiteuses:SetMaxUses(TUNING.FIRESTAFF_USES) inst.components.finiteuses:SetUses(TUNING.FIRESTAFF_USES)

        inst.components.finiteuses:SetMaxUses(TUNING.ICESTAFF_USES) inst.components.finiteuses:SetUses(TUNING.ICESTAFF_USES)

        inst.components.finiteuses:SetMaxUses(TUNING.TELESTAFF_USES) inst.components.finiteuses:SetUses(TUNING.TELESTAFF_USES)

        inst.components.finiteuses:SetMaxUses(TUNING.YELLOWSTAFF_USES) inst.components.finiteuses:SetUses(TUNING.YELLOWSTAFF_USES)

        修改為以下內容(即在每句前面加--):

        --inst:AddComponent("finiteuses")

        --inst.components.finiteuses:SetOnFinished( onfinished )

        --inst.components.finiteuses:SetMaxUses(TUNING.FIRESTAFF_USES) --inst.components.finiteuses:SetUses(TUNING.FIRESTAFF_USES)

        --inst.components.finiteuses:SetMaxUses(TUNING.ICESTAFF_USES) --inst

        .components.finiteuses:SetUses(TUNING.ICESTAFF_USES)

        --inst.components.finiteuses:SetMaxUses(TUNING.TELESTAFF_USES) --inst.components.finiteuses:SetUses(TUNING.TELESTAFF_USES)

        --inst.components.finiteuses:SetMaxUses(TUNING.YELLOWSTAFF_USES) --inst.components.finiteuses:SetUses(TUNING.YELLOWSTAFF_USES)

        2.護身符無限使用:用記事本打開游戲目錄\\data\\scripts\\prefabs\\amulet.lua文件,將下列內容:

        inst.components.finiteuses:Use(1)

        amulet.components.finiteuses:Use(1)

        inst:AddComponent("finiteuses") inst.components.finiteuses:SetOnFinished( onfinished )

        inst.components.finiteuses:SetMaxUses(TUNING.REDAMULET_USES) inst.components.finiteuses:SetUses(TUNING.REDAMULET_USES)

        inst:AddComponent("finiteuses") inst.components.finiteuses:SetOnFinished( onfinished )

        inst.components.finiteuses:SetMaxUses(TUNING.ORANGEAMULET_USES) inst.components.finiteuses:SetUses(TUNING.ORANGEAMULET_USES)

        修改為以下內容(即在每句前面加--):

        --inst.components.finiteuses:Use(1)

        --amulet.components.finiteuses:Use(1)

        --inst:AddComponent("finiteuses")

        --inst.components.finiteuses:SetOnFinished( onfinished )

        --inst.components.finiteuses:SetMaxUses(TUNING.REDAMULET_USES) --inst.components.finiteuses:SetUses(TUNING.REDAMULET_USES)

        --inst:AddComponent("finiteuses")

        --inst.components.finiteuses:SetOnFinished( onfinished )

        --inst.components.finiteuses:SetMaxUses(TUNING.ORANGEAMULET_USES) --inst.components.finiteuses:SetUses(TUNING.ORANGEAMULET_USES)

        將下列內容:

        inst.components.fueled:DoDelta(-(inst.components.fueled.maxfuel * 0.03))

        inst.components.fueled:StartConsuming()

        inst.components.fueled:StopConsuming()

        inst.components.fueled:StartConsuming()

        inst.components.fueled:StopConsuming()

        inst:AddComponent("fueled")

        inst.components.fueled.fueltype = "MAGIC"

        inst.components.fueled:InitializeFuelLevel(TUNING.BLUEAMULET_FUEL) inst.components.fueled:SetDepletedFn(onfinished)

        inst:AddComponent("fueled")

        inst.components.fueled.fueltype = "MAGIC"

        inst.components.fueled:InitializeFuelLevel(TUNING.PURPLEAMULET_FUEL) inst.components.fueled:SetDepletedFn(onfinished)

        修改為以下內容(即在每句前面加--):

        --inst.components.fueled:DoDelta(-(inst.components.fueled.maxfuel * 0.03))

        --inst.components.fueled:StartConsuming()

        --inst.components.fueled:StopConsuming()

        --inst.components.fueled:StartConsuming()

        --inst.components.fueled:StopConsuming()

        --inst:AddComponent("fueled")

        --inst.components.fueled.fueltype = "MAGIC" --inst.components.fueled:InitializeFuelLevel(TUNING.BLUEAM

        ULET_FUEL)

        --inst.components.fueled:SetDepletedFn(onfinished)

        --inst:AddComponent("fueled")

        --inst.components.fueled.fueltype = "MAGIC"

        --inst.components.fueled:InitializeFuelLevel(TUNING.PURPLEAMULET_FUEL) --inst.components.fueled:SetDepletedFn(onfinished)

        即可讓魔杖、護身符無限使用

        三十七.橙色護身符吸取物品加速、范圍加大,不吸陷阱

        用記事本打開游戲目錄\\data\\scripts\\prefabs\\amulet.lua文件,

        1.吸取物品加速:將inst.task = inst:DoPeriodicTask(TUNING.ORANGEAMULET_ICD, function() pickup(inst, owner) end)替換為以下內容:

        inst.task = inst:DoPeriodicTask(TUNING.ORANGEAMULET_ICD*.1, function() pickup(inst, owner) end)

        即可加快吸取物品速度10倍

        2.吸取物品范圍加大:將

        local ents = TheSim:FindEntities(pt.x, pt.y, pt.z, TUNING.ORANGEAMULET_RANGE*5)

        即可讓吸取范圍加大5倍

        3.不吸陷阱:將v.components.inventoryitem:IsHeld() then替換為以下內容:

        v.components.inventoryitem:IsHeld() and not v:HasTag("trap") then

        即可讓橙色護身符不吸陷阱,包括牙齒陷阱、捕鳥陷阱、兔陷阱

        三十八.牙齒陷阱自動重置(1秒后重置)

        用記事本打開游戲目錄\\data\\scripts\\prefabs\\trap_teeth.luainst.components.finiteuses:Use(1)的下一行插入下列內容: end

        if inst.components.mine then

        inst:DoTaskInTime(1, function() inst.components.mine:Reset() end )

        即可讓牙齒陷阱在觸發后1秒鐘自動重置。修改其中的1為任意數字,即可設置幾秒鐘自動重置。這不是我研究的,是別人MOD的成果,只是因為更新游戲后原MOD不能用,才把修改方法公布出來,以方便大家

        三十九.蘆葦吹出催眠曲(在攜帶的蘆葦上按鼠標右鍵,可催眠動物)

        用記事本打開游戲目錄\\data\\scripts\\prefabs\\cutreeds.luainst:AddComponent("inventoryitem")的下一行插入以下內容:

        inst:AddTag("flute")

        local function HearPanFlute(inst, musician, instrument) if inst.components.sleeper then

        文件,在文件,在

        local ents = TheSim:FindEntities(pt.x, pt.y, pt.z,

        TUNING.ORANGEAMULET_RANGE)替換為以下內容:





        动漫黄在线观看免费视频