GetMaterialComponentTag

From NWN Lexicon


Contents

[edit] GetMaterialComponentTag(int)

Gets the tag of the material component required for crafting.

[edit] Parameters

nPropID

ID of the required material component (row nr in "des_matcomp.2da").


[edit] Description

This function is used to determine the tag of a material component required for crafting.



[edit] Remarks

Internal function. This function is so far only used in CICraftScribeScroll ().

It is just a simple 2da lookup, that looks up the value of the column "comp_tag" at row nr nPropID in the 2da-file "des_matcomp".


[edit] Requirements

#include " x2_inc_craft "


[edit] Version

???

[edit] See Also

functions: 

CraftBrewPotion



author: motu99, editor: Mistress

Personal tools
Categories