Osiris/API/CharacterHasRecipeUnlocked

From Divinity Engine Wiki
Revision as of 21:01, 13 September 2018 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • query CharacterHasRecipeUnlocked([in](CHARACTERGUID)_Character, [in](STRING)_RecipeID, [out](INTEGER)_Bool)
Description

Returns whether the party to which character _Character belongs has the recipe with ID _RecipeID (as listed under "Name" in ItemCombos of the stats) unlocked.

Return Values
  • Success/Failure: Fails if _character does not exist, or if it's not in a party.
  • _bool: 1 if _recipe is unlocked by _character's party, 0 otherwise.
Notes
  • /
See Also