@@ -507,6 +507,11 @@ function CraftSim.INIT:HideAllModules(keepControlPanel)
507
507
CraftSim .SIMULATION_MODE .UI .NO_WORKORDER .toggleButton :Hide ()
508
508
CraftSim .EXPLANATIONS .frame :Hide ()
509
509
CraftSim .STATISTICS .UI :SetVisible (false )
510
+
511
+ CraftSim .CRAFTQ .queueRecipeButton :Hide ()
512
+ CraftSim .CRAFTQ .queueRecipeButtonWO :Hide ()
513
+ CraftSim .CRAFTQ .queueRecipeButtonOptions :Hide ()
514
+ CraftSim .CRAFTQ .queueRecipeButtonOptionsWO :Hide ()
510
515
end
511
516
512
517
function CraftSim .INIT :TriggerModulesByRecipeType ()
@@ -531,6 +536,14 @@ function CraftSim.INIT:TriggerModulesByRecipeType()
531
536
local craftBuffsFrame = CraftSim .GGUI :GetFrame (CraftSim .INIT .FRAMES , CraftSim .CONST .FRAMES .CRAFT_BUFFS )
532
537
local craftBuffsFrameWO = CraftSim .GGUI :GetFrame (CraftSim .INIT .FRAMES , CraftSim .CONST .FRAMES .CRAFT_BUFFS_WORKORDER )
533
538
539
+ -- pre hide
540
+ CraftSim .CRAFTQ .queueRecipeButton :Hide ()
541
+ CraftSim .CRAFTQ .queueRecipeButtonWO :Hide ()
542
+ CraftSim .CRAFTQ .queueRecipeButtonOptions :Hide ()
543
+ CraftSim .CRAFTQ .queueRecipeButtonOptionsWO :Hide ()
544
+ CraftSim .SIMULATION_MODE .UI .WORKORDER .toggleButton :Hide ()
545
+ CraftSim .SIMULATION_MODE .UI .NO_WORKORDER .toggleButton :Hide ()
546
+
534
547
if C_TradeSkillUI .IsNPCCrafting () or C_TradeSkillUI .IsRuneforging () or C_TradeSkillUI .IsTradeSkillLinked () or C_TradeSkillUI .IsTradeSkillGuild () then
535
548
CraftSim .INIT :HideAllModules ()
536
549
return
@@ -545,7 +558,7 @@ function CraftSim.INIT:TriggerModulesByRecipeType()
545
558
546
559
local recipeInfo = C_TradeSkillUI .GetRecipeInfo (CraftSim .INIT .currentRecipeID )
547
560
548
- if not recipeInfo or recipeInfo .isGatheringRecipe then
561
+ if not recipeInfo or recipeInfo .isGatheringRecipe or recipeInfo . isDummyRecipe then
549
562
-- hide all modules
550
563
CraftSim .INIT :HideAllModules (true )
551
564
return
@@ -635,7 +648,7 @@ function CraftSim.INIT:TriggerModulesByRecipeType()
635
648
if not recipeData .isCooking and not recipeData .isOldWorldRecipe then
636
649
showSpecInfo = true
637
650
end
638
- showSimulationMode = not recipeData .isOldWorldRecipe
651
+ showSimulationMode = not recipeData .isOldWorldRecipe and not recipeData . isBaseRecraftRecipe
639
652
640
653
showReagentOptimization = showReagentOptimization and CraftSim .DB .OPTIONS :Get (" MODULE_REAGENT_OPTIMIZATION" )
641
654
showAverageProfit = showAverageProfit and CraftSim .DB .OPTIONS :Get (" MODULE_AVERAGE_PROFIT" )
0 commit comments