summaryrefslogblamecommitdiff
path: root/npc/015-8-1/campaign.txt
blob: 4f3b94473c3a627361ecafa1c7319c6e263d06f5 (plain) (tree)
1
2
3
4
5
6



                
                              
 








                                                            



                                                                     

        

                                               
            
                     





                                                                         







                                             
 
 
 
// TMW2 scripts.
// Authors:
//    Jesusalva
// Description:
//    Sagratha Quest (field 3)

015-8-1,49,38,0	script	#SaggyDungeonCore	NPC_HIDDEN,{
    // Not in instance, we don't care.
    if (instance_id() < 0)
        end;

    end;

// There is no instance init
OnBegin:
    setq3 HurnscaldQuest_Sagratha, 1;
    // We're in an instance, ofc. Here we still have player attached.
    npctalk3 l("Open your eyes");
    initnpctimer; // Maybe addtimer() would be better?
    end;

// Assassin, HoodedNinja, HoodedAssassin (boss)

OnTimer1000:
    debugmes "Error";
    end;

}

// Dummy NPC to fire #SaggyDungeonCore when you get close to battle scene
015-8-1,49,38,0	script	#SaggyDungeonFire	NPC_HIDDEN,0,0,{
    end;
OnTouch:
    if (instance_id() < 0)
        end;

    if (!getq3(HurnscaldQuest_Sagratha))
        doevent "#SaggyDungeonCore::OnBegin";
    end;
}