16 WorldCraftActionData action_data_wc = WorldCraftActionData.Cast(action_data);
18 PluginRecipesManager module_recipes_manager;
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 );
36 if ( !action_data.m_Player )
56 WorldCraftActionData action_data_wc = WorldCraftActionData.Cast(action_data);
57 PluginRecipesManager module_recipes_manager;
59 if (module_recipes_manager)
61 if(module_recipes_manager.GetIsRepeatable(action_data_wc.m_RecipeID))
PluginBase GetPlugin(typename plugin_type)
void SetACData(Param units)
void OnCompletePogress(ActionData action_data)
override float GetProgress()
override void Setup(ActionData action_data)
override int Execute(ActionData action_data)
ref Param1< float > m_SpentUnits
void CAContinuousTime(float time_to_complete_action)
float m_AdjustedTimeToComplete
Super root of all classes in Enforce script.
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.