См. определение в файле CraftingManager.c строка 69
70 {
73
74 if (
m_player.GetActionManager().GetRunningAction() )
75 return;
76
78
79 if (!item1 || !item2)
80 {
84 return;
85 }
86 else
87 {
88
89 if ( item1 != item_in_hands && item2 != item_in_hands )
90 {
91 InventoryLocation il1 = new InventoryLocation;
92 InventoryLocation il2 = new InventoryLocation;
93
94 item1.GetInventory().GetCurrentInventoryLocation(il1);
95 item2.GetInventory().GetCurrentInventoryLocation(il2);
96
97 Error(
"Crafting manager - both of items are out of hands - item1: " + il1.
DumpToString() +
" item2: " + il2.
DumpToString() +
" / item in hands: - " + item_in_hands);
98 }
99 }
100
101 int recipeCount = 0;
102
104 {
108 return;
109 }
110
112
113 if (recipeCount == 0)
114 {
118 }
119 else
120 {
122 {
128
130 }
132 }
133
134 }
class GP5GasMask extends MaskBase ItemBase
ref array< int > m_recipes
const int CM_MODE_INVENTORY
PluginRecipesManager m_recipesManager
ActionVariantManager m_actionVariantManager
void Error(string err)
Messagebox with error message.
Перекрестные ссылки CM_MODE_INVENTORY, CM_MODE_NONE, CM_MODE_WORLD, InventoryLocation::DumpToString(), Error(), m_actionVariantManager, m_contextualRecipeID, m_craftingMode, m_item1, m_item2, m_player, m_recipeCount, m_recipeID, m_recipes и m_recipesManager.
Используется в CraftingManager() и ~CraftingManager().