3 override void Setup( ActionData action_data )
16 WorldCraftActionData action_data_wc = WorldCraftActionData.Cast(action_data);
18 PluginRecipesManager module_recipes_manager;
19 Class.CastTo(module_recipes_manager,
GetPlugin(PluginRecipesManager));
20 if( module_recipes_manager )
23 if( module_recipes_manager.GetIsInstaRecipe( action_data_wc.m_RecipeID) || module_recipes_manager.IsEnableDebugCrafting() )
27 float specialty_weight = module_recipes_manager.GetRecipeSpecialty( action_data_wc.m_RecipeID );
34 override int Execute( ActionData action_data )
36 if ( !action_data.m_Player )
54 OnCompletePogress(action_data);
56 WorldCraftActionData action_data_wc = WorldCraftActionData.Cast(action_data);
57 PluginRecipesManager module_recipes_manager;
58 Class.CastTo(module_recipes_manager,
GetPlugin(PluginRecipesManager));
59 if (module_recipes_manager)
61 if(module_recipes_manager.GetIsRepeatable(action_data_wc.m_RecipeID))
71 override float GetProgress()