Bunch of cleaning on old todos

This commit is contained in:
Pao
2023-02-06 02:44:59 +01:00
parent 83077a115d
commit 1545c88a19
10 changed files with 18 additions and 106 deletions

View File

@@ -67,19 +67,11 @@ end
TocContextMenus.CreateOperateWithOvenMenu = function(player, context, worldObjects, test)
local player_obj = getSpecificPlayer(player)
--local clickedPlayer
-- TODO Add a way to move the player towards the oven
-- TODO Let the player move towards the oven
local part_data = player_obj:getModData().TOC.Limbs
local is_main_menu_already_created = false
--local props = v:getSprite() and v:getSprite():getProperties() or nil
for _, v_stove in pairs(worldObjects) do
if instanceof(v_stove, "IsoStove") and
(player_obj:HasTrait("Brave") or player_obj:getPerkLevel(Perks.Strength) >= 6) then