[spoiler]Begin fastEddie_VerenaTimerShort currentDayShort daysPassed If ( GetJournalIndex HT_UvirithVerena == 60 ) StopScript fastEddie_VerenaTimer ReturnElseif ( GetJournalIndex HT_UvirithVerena == 100 ) SetJournalIndex HT_UvirithVerena 60 StopScript fastEddie_VerenaTimer ReturnEndIfElseif ( GetDeadCount "arnamir" >= 1 ) StopScript Uvirith_VerenaTimer ReturnEndIf[/spoiler]
[spoiler]Begin gp_primusScript ?If info == 0 AddTopic "-follow-" AddTopic "-repair-" AddTopic "current duties" Set info To 1EndIf ?[/spoiler]
[spoiler]Begin gp_queenNtashra?If ( messageOn == 1 ) Set button To GetButtonPressed If ( button >= 0 ) Set messageOn To 0 EndIf If ( button == 0 ) If ( Player->SayDone == 1 ) player->AddItem "gp_sceptre of the sepulcher" 1 MessageBox "Sceptre of the Sepulcher has been added to your inventory." Journal "GP_UvirithQueen" 20 MessageBox "Take this sceptre. It will show you the way to my Sepulcher, where my Champion has awakened and awaits you. Succeed and you will prosper in these blighted lands. Fail and your days end now. Good luck, my friend." EndIf EndIf EndIf EndIf ElseIf ( button == 1 ) If ( Player->SayDone == 1 ) MessageBox "The choice is yours. I expected more, old friend. Goodbye." Journal "GP_UvirithQueen" 30 Set button To 0 ;disable EndIf EndIfEndIf?[/spoiler]
[spoiler] Begin gp_saraScript? If ( doOnce == 0 ) If ( state = 333 ) Set Companion To 1 AddTopic "-armor-" AddTopic "-combat-" AddTopic "-follow-" AddTopic "Tend my wounds" AddTopic "Conversation" Set emmasnpcid To 873 EndIfEndIf ?[/spoiler]
[spoiler] Begin Uvi_App_Level? If ( p_shortblade > 100 ) Set p_shortblade too 100EndifIf ( p_lightarmor > 100 ) Set p_lightarmor too 100EndifIf ( p_unarmored > 100 ) Set p_unarmored too 100EndifIf ( p_destruction > 100 ) Set p_destruction too 100EndifIf ( p_mysticism > 100 ) Set p_mysticism too 100EndifIf ( p_restoration > 100 ) Set p_restoration too 100EndifIf ( p_illusion > 100 ) Set p_illusion too 100EndifIf ( p_alteration > 100 ) Set p_alteration too 100EndifIf ( p_conjuration > 100 ) Set p_conjuration too 100Endif?[/spoiler]
[spoiler]Begin Uvi_Chest_Deavvo? If ( TrapSpell == 1 ) Player->AddSpell "uvi_box_trap4" Set TrapSpell To 2ElseIf ( TrapSpell == 2 ) Set timer To ( timer + GetSecondsPassed ) If timer > 5 Player->RemoveSpell "uvi_box_trap4" Set timer To 0 Set TrapSpell To 0 EndIfEndIf ?[/spoiler]
[spoiler]Begin Uvi_UT_Elevator_Switch? If ( Player->GetItemCount "key_teluvirith" > 0 ) If ( controlvar = 0 ) If ( Player->GetEffect sEffectLevitate == 1 ) If ( "uvirith_movableplug_UT".Moving != 17 ) ;out MessageBox "You are currently levitating. Do you want to move the elevator out of the way?" "Yes" "No" Set controlvar to 1 Else MessageBox "You are still levitating. Do you want to move the elevator back anyway?" "Yes" "No" Set controlvar to 2 Endif Else ?[/spoiler]
[spoiler]Begin Uvi_WeatherControl?If ( spelleffectmyst == 0 ) If ( GetDisabled "UviBall_SpellEffect" == 0 ) "UviBall_SpellEffect"->Disable Endif ?[/spoiler]
[spoiler]Begin Uvirith_Verena? Elseif ( state == 45 ) AiWander 512 0 0 0 30 10 10 0 40 10 0 0 0 0 Set state to 50 Elseif ( State == 50 )? If ( "furn_de_r_table_uvi"->GetDistance "verena_uvirith" <= 350 ) AiWander 512 0 0 0 30 10 10 0 40 10 0 0 0 0 Set state To 20 EndIf?[/spoiler]