diff options
-rw-r--r-- | npc/000-2-4/_mobs.txt | 2 | ||||
-rw-r--r-- | npc/000-2-4/alige.txt | 1 | ||||
-rw-r--r-- | npc/001-1/_import.txt | 1 | ||||
-rw-r--r-- | npc/001-1/alige.txt | 55 |
4 files changed, 58 insertions, 1 deletions
diff --git a/npc/000-2-4/_mobs.txt b/npc/000-2-4/_mobs.txt index 0efb6b577..fda8a3d58 100644 --- a/npc/000-2-4/_mobs.txt +++ b/npc/000-2-4/_mobs.txt @@ -1,3 +1,3 @@ // 000-2-4 mobs -000-2-4,30,30,2,2 monster Cuco 1020,1,90000,80000 +000-2-4,30,30,2,2 monster Cuco 1020,1,90000,80000,"Alige#001-1::OnCucoKilled" diff --git a/npc/000-2-4/alige.txt b/npc/000-2-4/alige.txt index fbfb79eeb..934bc0725 100644 --- a/npc/000-2-4/alige.txt +++ b/npc/000-2-4/alige.txt @@ -4,6 +4,7 @@ // Travolta 000-2-4,38,22,0 script Alige#000-2-4 NPC_ALIGE_BARREL,2,2,{ + npctalk3 l("Protect me, please..."); end; diff --git a/npc/001-1/_import.txt b/npc/001-1/_import.txt index d1aff45ab..6fcca6203 100644 --- a/npc/001-1/_import.txt +++ b/npc/001-1/_import.txt @@ -7,3 +7,4 @@ npc: npc/001-1/juscare.txt npc: npc/001-1/pious.txt npc: npc/001-1/wateranimation.txt npc: npc/001-1/treasure.txt +npc: npc/001-1/alige.txt diff --git a/npc/001-1/alige.txt b/npc/001-1/alige.txt new file mode 100644 index 000000000..21c63ccc9 --- /dev/null +++ b/npc/001-1/alige.txt @@ -0,0 +1,55 @@ +// Evol scripts. +// Author: +// Travolta +// Description: +// Alige, who somehow appeared in the player's dream. + +001-1,71,132,0 script Alige#001-1 NPC_ALIGE_OUTSIDE_BARREL,{ + speech 2, + l("Hello!"); + select + l("What are you doing here?"); + speech 5, + l("I don't really know."), + l("This place looks unreal, maybe I'm dreaming?"); + select + l("Yes, this is my dream."); + + .@q = getq(Halloween_BarrelQuest); + + switch (.@q) + { + case 0: + speech 1, + l("Then I hope I won't wake up soon. That monster scares me."); + break; + + case 1: + speech 1, + l("Since you killed the monster on the ship, I feel obligated to give you something."), + l("Take this barrel. If you are scared of something, you can always hide in it."); + + inventoryplace Barrel, 1; + setq Halloween_BarrelQuest, 2; + break; + + case 2: + speech 1, + l("Thanks for killing that monster"); + break; + } + close; + +OnCucoKilled: + if (playerattached()) + { + .@q = getq(Halloween_BarrelQuest); + if (.@q < 2) + setq Halloween_BarrelQuest, 1; + } + end; + +OnInit: + .sex = G_MALE; + .distance = 3; +} |