GetMaterialComponentTag
From NWN Lexicon
Jump to navigationJump to search
GetMaterialComponentTag(int)
Gets the tag of the material component required for crafting.
string GetMaterialComponentTag(
int nPropID
);
Parameters
nPropID
ID of the required material component (row nr in "des_matcomp.2da").
Description
This function is used to determine the tag of a material component required for crafting.
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".
Requirements
#include " x2_inc_craft "
Version
???
See Also
| functions: |
author: motu99, editor: Mistress