# 0300_conditional_knowledge
{% if render_mode == "full" %}
{% if is_in_faction(actor.UUID, "TownWhiterunFaction") or is_in_faction(actor.UUID, "CrimeFactionHaafingar") %}
{"### Recent developments in whiterun"}
{# This is a comment. This output will not show up in the data sent to the LLM, this is here only to make things easier for you to understand.
insert below anything you want the npcs included in this condition to know about. for instance:#}
-Iggwilv is a new Thane in Whiterun, made by the jarl after she slew a dragon threatning the city.Rumors say she is a dragonborn.
{% endif %}
{% if is_in_faction(actor.UUID, "TownSolitudeFaction") or is_in_faction(actor.UUID, "CrimeFactionHaafingar") %}
{"### Recent developments in solitude"}
{% endif %}
{% if is_in_faction(actor.UUID, "JobMerchantFaction") or is_in_faction(actor.UUID, "CrimeFactionHaafingar") %}
{"### Recent developments in whiterun"}
{# Another example:#}
Iggwilv has brought prosperity to the merchants, since trading increased and she is spending lots of coin
{% endif %}
{% if is_in_faction(actor.UUID, "JobBardFaction") %}
{"### Recent developments in Skyrim"}
{% endif %}
{% if is_in_faction(actor.UUID, "PotentialFollowerFaction") %}
{% endif %}
{% if is_in_faction(actor.UUID, "IsGuardFaction") %}
{% endif %}
{% if is_in_faction(actor.UUID, "GuardFactionWhiterun") %}
{# Yet another example:#}
There are rumors that a vampire has drained several guards in the barracks, while they slept, killing them. His identity is yet unknown...Instructions are to avoid spreading panic and quietly deal with this threat
{% endif %}
{% if is_in_faction(actor.UUID, "JobPriestFaction") %}
{% endif %}
{% if is_in_faction(actor.UUID, "WhiterunMarketShoppers") %}
{% endif %}
{% if is_in_faction(actor.UUID, "ThievesGuildFaction") %}
{% endif %}
{% if is_in_faction(actor.UUID, "TownRiftenFaction") or is_in_faction(actor.UUID, "CrimeFactionRiften") %}
{% endif %}
{% endif %}