forgot to re-enable stuff
This commit is contained in:
@@ -39,10 +39,7 @@ local function AddOvenContextMenu(playerNum, context, worldObjects, test)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
if stoveObj == nil then return end
|
if stoveObj == nil then return end
|
||||||
|
if pl:HasTrait("Brave") or pl:getPerkLevel(Perks.Strength) > 5 then
|
||||||
|
|
||||||
|
|
||||||
--if pl:HasTrait("Brave") or pl:getPerkLevel(Perks.Strength) > 5 then
|
|
||||||
local isTempLow = stoveObj:getCurrentTemperature() < 250
|
local isTempLow = stoveObj:getCurrentTemperature() < 250
|
||||||
local tempTooltip = ISToolTip:new()
|
local tempTooltip = ISToolTip:new()
|
||||||
tempTooltip:initialise()
|
tempTooltip:initialise()
|
||||||
@@ -52,12 +49,6 @@ local function AddOvenContextMenu(playerNum, context, worldObjects, test)
|
|||||||
|
|
||||||
local optionMain = context:addOption(getText("ContextMenu_Cauterize"), nil)
|
local optionMain = context:addOption(getText("ContextMenu_Cauterize"), nil)
|
||||||
local subMenu = context:getNew(context)
|
local subMenu = context:getNew(context)
|
||||||
--subMenu.toolTip = tempTooltip
|
|
||||||
-- if isTempLow then
|
|
||||||
-- print("TOC: show tooltip")
|
|
||||||
-- subMenu:showTooltip(subMenu) -- Thank you TIS for this awful overriding you did
|
|
||||||
-- end
|
|
||||||
|
|
||||||
context:addSubMenu(optionMain, subMenu)
|
context:addSubMenu(optionMain, subMenu)
|
||||||
for i=1, #amputatedLimbs do
|
for i=1, #amputatedLimbs do
|
||||||
local limbName = amputatedLimbs[i]
|
local limbName = amputatedLimbs[i]
|
||||||
@@ -67,7 +58,7 @@ local function AddOvenContextMenu(playerNum, context, worldObjects, test)
|
|||||||
option.toolTip = tempTooltip
|
option.toolTip = tempTooltip
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
--end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user