> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# NPC String Variable

> Access string properties of an NPC.

The `btcmob_npc_string_variable` retrieves text properties like Faction or Stance from an NPC.

## Configuration

<ResponseField name="btcmob_npc_string_variable" type="Map" required>
  Configuration for the variable.

  <Expandable title="Properties">
    <ResponseField name="type" type="Enum" required>
      The property to read: `FACTION`, `STANCE`, etc.
    </ResponseField>

    <ResponseField name="npc" type="String">
      Optional NPC ID.
    </ResponseField>
  </Expandable>
</ResponseField>
