Scripts

TR_m4_NPC_Llaynu_Maanil

TR_Mainland.esm
Variables 10
Local Variables
TR_Map
control
controlQ
NoLore
controlA
controlB
controlC
T_Local_NPC
T_Local_NoLore
skoomaDeal
Source
1Begin TR_m4_NPC_Llaynu_Maanil 2; This short script is there to allow dialogue to be filtered on the TR_Map local variable, 3; allowing for regional topics such as "Morrowind Lore" or "Geographic Regions" to be 4; appropriate to the location the NPC is. This version is for "NoLore" NPCs. 5 6short TR_Map 7short control 8short controlQ ;1 if the player has been given the access to the skooma lounge downstairs 9short NoLore 10short controlA ;1 if Llaynu knows the PC is a member of the Thieves Guild 11short controlB ;1 if player has asked about the illegal skooma trade 12short controlC ;used for take over the business topic 13short T_Local_NPC 14short T_Local_NoLore 15short skoomaDeal ;set to 1 when the player has made a deal with Maanil to sell her skooma 16 17if ( MenuMode == 1 ) 18 return 19endif 20 21if ( TR_Map == 4 ) 22 return 23endif 24 25set TR_Map to 4 26 27End