1 use Notepad to open the game directory dataDLC0001scriptswidgetsitemtile.lua file, the following contents:Invitem.components.fueled then ifSelf:SetPercent (invitem.components.fueled:GetPercent ())EndInvitem.components.finiteuses then ifSelf:SetPercent (invitem.components.finiteuses:GetPercent ())EndInvitem.components.perishable then ifSelf:HasSpoilage then () ifSelf:SetPerishPercent (invitem.components.perishable:GetPercent ())ElseSelf:SetPercent (invitem.components.perishable:GetPercent ())EndEndInvitem.components.armor then ifSelf:SetPercent (invitem.components.armor:GetPercent ())EndReplace as:Invitem.components.fueled then --if--self:SetPercent (invitem.components.fueled:GetPercent ())--endInvitem.components.finiteuses then --if--self:SetPercent (invitem.components.finiteuses:GetPercent ())--endInvitem.components.perishable then ifSelf:HasSpoilage then () ifSelf:SetPerishPercent (invitem.components.perishable:GetPercent ())ElseSelf:SetPercent (invitem.components.perishable:GetPercent ())EndEndInvitem.components.armor then --if--self:SetPercent (invitem.components.armor:GetPercent ())--end2 with Notepad to open the game directory datascriptscomponentsfiniteuses.lua files, self:SetUses (self.current - (or num 1)) replaced by self:SetUses (self.current - 0)3 with Notepad to open the game directory dataDLC0001scriptscomponentsfueled.lua file, the self.consuming = self.consuming replaced by true = false4 use Notepad to open the game directory datascriptscomponentsarmor.lua file, the following contents:Armor:SetCondition function (amount)Self.condition = amountReplace as:Armor:SetCondition function (amount)Self.condition = self.maxconditionYou can make all the items unlimited use. The fire and stone campfire unlimited burning, until the next hole slept in tents or extinguished
正在翻譯中..