level 11
修改方法如下:
打开文件找到这几句代码,
local function turnoff(inst)
if inst.components.fueled then
inst.components.fueled:StopConsuming()
end
inst.Light:Enable(false)
将 inst.Light:Enable(false)改成 inst.Light:Enable(ture).
再找到以下代码
local function onequip(inst, owner)
if not owner.sg:HasStateTag("rowing") then
owner.AnimState:Show("ARM_carry")
owner.AnimState:Hide("ARM_normal")
owner.AnimState:OverrideSymbol("lantern_overlay", "swap_bottlle_lantern", "lantern_overlay")
if inst.components.fueled:IsEmpty() then
将 if inst.components.fueled:IsEmpty() then 改成 if not inst.components.fueled:IsEmpty() then。
然后保存就可以了。
这里修改出来的提灯是水瓶提灯,不是巨人国的提灯。玩巨人国的话要穿越了才能制作的哈。
我是玩黑暗英雄MOD的光头,没有永亮提灯感觉不太适应,希望分享出来能给到有需要的朋友哈。