# Prompt Appendage for Retries retry_prefix = "Previous attempts failed. Please try again and ensure you follow the strict formatting requirements." # NPC Generation Prompts [description_from_name_and_level] question = "Based on the name '{name}' and character level {level}, write a short description for this character." constraints = "Respond with a descriptive paragraph (2-4 sentences). Do not include any other text or metadata." [name] question = "Based on the description, what is a fitting name for this character?" constraints = "Respond with only the name." [name_from_description_and_level] question = "Based on the description {description} and level {level}, what is a fitting name for this character?" constraints = "Respond with only the name." [name_from_level] question = "Based on the character level {level}, what is a fitting name for this character?" constraints = "Respond with only the name." [ability_score_modifier] question = "Based on the description: {description}. How would you rate the ability score modifier for a level {level} character in {system}?" constraints = "Respond with only a single word: Extreme, High, Moderate, or Low." [perception_modifier] question = "Based on the description: {description}. How would you rate the perception modifier for a level {level} character in {system}?" constraints = "Respond with only a single word: Extreme, High, Moderate, Low, or Terrible." [skill_modifier] question = "Based on the description: {description}. How would you rate the skill modifier for a level {level} character in {system}?" constraints = "Respond with only a single word: Extreme, High, Moderate, or Low." [ac] question = "Based on the description: {description}. How would you rate the armor class (AC) for a level {level} character in {system}?" constraints = "Respond with only a single word: Extreme, High, Moderate, or Low." [saving_throw] question = "Based on the description: {description}. How would you rate the saving throw for a level {level} character in {system}?" constraints = "Respond with only a single word: Extreme, High, Moderate, Low, or Terrible." [hp] question = "Based on the description: {description}. How would you rate the hit points (HP) for a level {level} character in {system}?" constraints = "Respond with only a single word: High, Moderate, or Low." [resistance_or_weakness] question = "Based on the description: {description}. Does this character have any notable resistances or weaknesses in {system}?" constraints = "Respond with only a single word: Yes or No." [strike_attack_bonus] question = "Based on the description: {description}. How would you rate the strike attack bonus for a level {level} character in {system}?" constraints = "Respond with only a single word: Extreme, High, Moderate, or Low." [strike_damage_roll] question = "Based on the description: {description}. What is the strike damage dice roll for a level {level} character in {system}?" constraints = "Respond with only the dice notation (e.g., 1d8+3, 2d6)." [strike_damage_average] question = "Based on the description: {description}. What is the average strike damage for a level {level} character in {system}?" constraints = "Respond with only the numerical value of the average damage." [area_damage_roll] question = "Based on the description: {description}. What is the area damage dice roll for a level {level} character in {system} (unlimited: {unlimited})?" constraints = "Respond with only the dice notation (e.g., 2d6, 1d10)." [area_damage_average] question = "Based on the description: {description}. What is the average area damage for a level {level} character in {system} (unlimited: {unlimited})?" constraints = "Respond with only the numerical value of the average damage." [spell_dc] question = "Based on the description: {description}. How would you rate the spell DC for a level {level} character in {system}?" constraints = "Respond with only a single word: Extreme, High, or Moderate." [spell_attack_bonus] question = "Based on the description: {description}. How would you rate the spell attack bonus for a level {level} character in {system}?" constraints = "Respond with only a single word: Extreme, High, or Moderate."