Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Quest Engine Ancient Wraith remake by Apollo
- ## This script is intended to emulate the Ancient Wraith Quest from Endless Online
- Main
- {
- questname "Ancient Wraith"
- version 1.0
- }
- State Begin
- {
- desc "Talk to Wraith Guardian"
- action AddNpcText( 26 , "nooww man shall passsshh how daree you awake mee yewww incepttt , only thohhhss whooo are sssstrhhhn may have thee keyyy.." );
- action AddNpcInput( 26 , 1 , "Ask for the key" );
- action AddNpcInput( 26, 2, "Get out of here" );
- rule InputNpc ( 1 ) goto KillReaper
- rule InputNpc ( 2 ) goto Reset
- }
- State KillReaper
- {
- desc "Kill the Reaper"
- action AddNpcText( 26 , "Provee you are woorrrthh ittt.. Kill the reaperrr" );
- action AddNpcInput( 26, 1, "Take the test" );
- action AddNpcInput( 26, 2, "Give up" );
- rule KilledNpcs( 9 , 1 ) goto ReaperDead
- }
- State ReaperDead
- {
- desc "Return to the Wraith Guardian"
- action ShowHint("Return to the Wraith Guardian");
- action AddNpcText( 26, "Isss nothinggg you slimmeee, nowwhh you ssshall do another tassssk" );
- rule TalkedToNpc( 26 ) goto KillNinjaLeader
- }
- State KillNinjaLeader
- {
- desc "Kill the Anundo Leader"
- action AddNpcText( 26 , "Provee you are woorrrthh ittt.. Kill the ninja leahhderr" );
- action AddNpcInput( 26, 1, "Take the test" );
- action AddNpcInput( 26, 2, "Give up" );
- rule KilledNpcs( 120 , 1 ) goto NinjaLeaderDead
- }
- State NinjaLeaderDead
- {
- desc "Return to the Wraith Guardian"
- action ShowHint("Return to the Wraith Guardian");
- action AddNpcText( 26, "Reaperrr deadd, annundo leadhhrrr deaddd.. but yewww still humannn and therrforrr shalll nott passshh.." );
- rule TalkedToNpc( 26 ) goto KillOctopus
- }
- State KillOctopus
- {
- desc "Kill the Octopus"
- action AddNpcText( 26 , "Provee you are woorrrthh ittt.. Kill the gainhht octopusss" );
- action AddNpcInput( 26, 1, "Take the test" );
- action AddNpcInput( 26, 2, "Give up" );
- rule KilledNpcs( 118 , 1 ) goto OctopusDead
- }
- State OctopusDead
- {
- desc "Return to the Wraith Guardian"
- action ShowHint("Return to the Wraith Guardian");
- action AddNpcText( 26, "Reaperrr deadd, annundo leadhhrrr deaddd and octooo ashwooo deaddddddd.. youwwh shall do another tassssk" );
- rule TalkedToNpc( 26 ) goto KillApozen
- }
- State KillApozen
- {
- desc "Kill Apozen"
- action AddNpcText( 26 , "Provee you are woorrrthh ittt.. Kill apozzzeehhnn lorddd off evihll" );
- action AddNpcInput( 26, 1, "Take the test" );
- action AddNpcInput( 26, 2, "Give up" );
- rule KilledNpcs( 142 , 1 ) goto ApozenDead
- }
- State ApozenDead
- {
- desc "Return to the Wraith Guardian"
- action ShowHint("Return to the Wraith Guardian");
- action AddNpcText( 26, "Wehll wehlll, yewww sneaky incompetent humann, yewww neverrrr gett thisss keyyy sssssww..." );
- rule TalkedToNpc( 26 ) goto GetPiggies
- }
- State GetPiggies
- {
- desc "Find piglets"
- action AddNpcText( 26, "Bringhhh me 100 pigletssss sohh we can offerrrr it too the evilll spiritthhhs" );
- rule GotItems(483,100) goto GotPiggies
- }
- State GotPiggies
- {
- desc "Give piglets to guardian"
- action ShowHint("Return to the Wraith Guardian");
- action AddNpcText( 26, "Giveeehh meee nowhh.." );
- action AddNpcInput(26,1, "Give the 100 piglets");
- action AddNpcInput(26,2, "No, sorry no deal.");
- rule InputNpc( 1 ) goto GetSnakeTeeth
- }
- State GetSnakeTeeth
- {
- desc "Find snake teeth"
- action Quake(2, map);
- action RemoveItem(483,100);
- action AddNpcText( 26, "Bringhhh me 100 snake teeethh sohh we can offerrrr it too the evilll spiritthhhs" );
- rule GotItems(253,100) goto GotSnakeTeeth
- }
- State GotSnakeTeeth
- {
- desc "Give snake teeth to guardian"
- action ShowHint("Return to the Wraith Guardian");
- action AddNpcText( 26, "Giveeehh meee your teeethh.." );
- action AddNpcInput(26,1, "Give 100 snake teeth");
- action AddNpcInput(26,2, "No, sorry no deal.");
- rule TalkedToNpc( 26 ) goto GetTenbaBags
- }
- State GetTenbaBags
- {
- desc "Find tenba bags"
- action Quake(2, map);
- action RemoveItem(253,100);
- action AddNpcText( 26, "Bringhhh me 100 tenba baggss to offhherr.." );
- rule GotItems(477,100) goto GotTenbaBags
- }
- State GotTenbaBags
- {
- desc "Give tenba bags to guardian"
- action ShowHint("Return to the Wraith Guardian");
- action AddNpcText( 26, "Giveeehh meee baggggs yeww sssssww incompetent humannn.." );
- action AddNpcInput(26,1, "Give 100 tenba bags");
- action AddNpcInput(26,2, "No, sorry no deal");
- rule TalkedToNpc( 26 ) goto GetImpStings
- }
- State GetImpStings
- {
- desc "Find imp stings"
- action Quake(2, map);
- action AddNpcText( 26, "Bringhhh me 100 imppp stingggsss yeww humannn" );
- action RemoveItem(477,100);
- rule GotItems(400,100) goto GotImpStings
- }
- State GotImpStings
- {
- desc "Give imp stings to guardian"
- action ShowHint("Return to the Wraith Guardian");
- action AddNpcText( 26, "Giveeehh meee thaa stringssss youu wurmmm.." );
- action AddNpcInput(26,1, "Give 100 imp strings");
- action AddNpcInput(26,2, "No, sorry no deal.");
- rule TalkedToNpc( 26 ) goto GetWurmHeads
- }
- State GetWurmHeads
- {
- desc "Find Wurm Heads"
- action Quake(2, map);
- action AddNpcText( 26, "Bringhhh me sssssww 100 wurm heads to offhherr.." );
- action RemoveItem(400,100);
- rule GotItems(321,100) goto GotWurmHeads
- }
- State GotWurmHeads
- {
- desc "Give wurm heads to guardian"
- action ShowHint("Return to the Wraith Guardian");
- action AddNpcText( 26, "Giveeehh meee wurm headdsss yeww pathetic human.." );
- action AddNpcInput(26,1, "Give 100 wurm heads");
- action AddNpcInput(26,2, "No, sorry no deal");
- rule TalkedToNpc( 26 ) goto GetDragonWings
- }
- State GetDragonWings
- {
- desc "Find dragon wings"
- action Quake(2, map);
- action AddNpcText( 26, "Bringhhh me sssssww 10 dragon wingggss to offhherr.." );
- action RemoveItem(321,100);
- rule GotItems(470,10) goto GotDragonWings
- }
- State GotDragonWings
- {
- desc "Give dragon wings to guardian"
- action ShowHint("Return to the Wraith Guardian");
- action AddNpcText( 26, "The wingssss, givvveee!" );
- action AddNpcInput(26,1, "Give 10 dragon wings");
- action AddNpcInput(26,2, "No, sorry no deal.");
- rule TalkedToNpc( 26 ) goto KillPlayers
- }
- State KillPlayers
- {
- desc "PK 500 humans!"
- action Quake(2, map);
- action AddNpcText( 26, "Yewww wurmmm broughhttt me all thissss itemmmm. iT sss time for the lasssst test offf evill.");
- action AddNpcText( 26, "Slaughter 500 humannssssss and get my keyyyy");
- rule KilledPlayers( 1 ) goto WraithDialog
- }
- State WraithDialog
- {
- desc "Talk to the wraith guardian"
- action Quake(4, world);
- action ShowHint("Return to the Wraith Guardian");
- action AddNpcText( 26, "Yewww proven to be evillll, herrsss the keyyyy.." );
- rule TalkedToNpc( 26 ) goto Reward
- }
- State Reward
- {
- action GiveItem( 242, 1 );
- action GiveExp( 10000 );
- action ShowHint("You gained 10.000 exp and a key!");
- action PlaySound(18);
- action End();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement