diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-18 23:44:11 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-18 23:44:11 -0300 |
commit | e3ca07e96e7a4bc4572b3f14138a52d06184f61a (patch) | |
tree | 72086abc627f62c5acd7081f05b10d16a5d1a351 /npc/023-3-2/logic.txt | |
parent | e897bedf89245833f62711a454717f45abed570a (diff) | |
download | serverdata-e3ca07e96e7a4bc4572b3f14138a52d06184f61a.tar.gz serverdata-e3ca07e96e7a4bc4572b3f14138a52d06184f61a.tar.bz2 serverdata-e3ca07e96e7a4bc4572b3f14138a52d06184f61a.tar.xz serverdata-e3ca07e96e7a4bc4572b3f14138a52d06184f61a.zip |
Initial version of 023-3-2
Diffstat (limited to 'npc/023-3-2/logic.txt')
-rw-r--r-- | npc/023-3-2/logic.txt | 183 |
1 files changed, 183 insertions, 0 deletions
diff --git a/npc/023-3-2/logic.txt b/npc/023-3-2/logic.txt index a51826307..27f0bff23 100644 --- a/npc/023-3-2/logic.txt +++ b/npc/023-3-2/logic.txt @@ -31,3 +31,186 @@ OnTouch: end; } +// The Master Room... We use field 3, too, but bitwise position 2 is reserved. +023-3-2,38,30,0 script Cauldron#MKHB NPC_NO_SPRITE,{ + .@q=getq3(FrostiaQuest_Homunculus); + mesn; + mesc l("It's steaming. Who knows what insanity Isbamuth is brewing inside?!"); + if (!(.@q & .hcID)) + setq3 FrostiaQuest_Homunculus, .@q|.hcID; + close; +OnInit: + .hcID=1; + .distance=2; + end; +} + +023-3-2,40,25,0 script Notebook#MKHB NPC_NO_SPRITE,{ + .@q=getq3(FrostiaQuest_Homunculus); + mesn; + mesc l("Insert here lore information"); + if (!(.@q & .hcID)) + setq3 FrostiaQuest_Homunculus, .@q|.hcID; + close; +OnInit: + .hcID=4; + .distance=2; + end; +} + +023-3-2,40,20,0 script Staircase#MKHB NPC_NO_SPRITE,{ + .@q=getq3(FrostiaQuest_Homunculus); + mesn; + mesc l("The stairs have magic cast on them, I cannot climb."); + next; + mesn; + mesc l("I have no idea what's above. Behind the stair, is the painting of a table."); + next; + mesn; + mesc l("Seems to be related to alchemy."); + if (!(.@q & .hcID)) + setq3 FrostiaQuest_Homunculus, .@q|.hcID; + close; +OnInit: + .hcID=8; + .distance=2; + end; +} + +023-3-2,41,30,0 script Potions#MKHB NPC_NO_SPRITE,{ + .@q=getq3(FrostiaQuest_Homunculus); + mesn; + mesc l("Several flasks are aligned there. They seemed to be dyes, but a close inspection reveals they're not."); + next; + mesn; + mesc l("They must be reagents used in alchemy."); + if (!(.@q & .hcID)) + setq3 FrostiaQuest_Homunculus, .@q|.hcID; + close; +OnInit: + .hcID=16; + .distance=2; + end; +} + +023-3-2,36,25,0 script Bookcase#MKHB1 NPC_NO_SPRITE,{ + .@q=getq3(FrostiaQuest_Homunculus); + mesn; + mesc l("Several books about alchemy. Seems to be pretty advanced."); + if (!(.@q & .hcID)) + setq3 FrostiaQuest_Homunculus, .@q|.hcID; + close; +OnInit: + .hcID=32; + .distance=2; + end; +} + + +023-3-2,44,25,0 script Bookcase#MKHB2 NPC_NO_SPRITE,{ + .@q=getq3(FrostiaQuest_Homunculus); + mesn; + mesc l("Several books about hiding magic. Might be why the houses looked abandoned and empty but the chimney was going."); + if (!(.@q & .hcID)) + setq3 FrostiaQuest_Homunculus, .@q|.hcID; + close; +OnInit: + .hcID=64; + .distance=2; + end; +} + + +023-3-2,46,28,0 script Bookcase#MKHB3 NPC_NO_SPRITE,{ + .@q=getq3(FrostiaQuest_Homunculus); + mesn; + mesc l("Several books about artifical lifeforms and the man who played God."); + if (!(.@q & .hcID)) + setq3 FrostiaQuest_Homunculus, .@q|.hcID; + close; +OnInit: + .hcID=128; + .distance=2; + end; +} + +023-3-2,49,31,0 duplicate(Bookcase#MKHB3) Bookcase#MKHB4 NPC_NO_SPRITE + +023-3-2,32,28,0 script Bookcase#MKHB5 NPC_NO_SPRITE,{ + .@q=getq3(FrostiaQuest_Homunculus); + mesn; + mesc l("Seems to be accounting reports and stuff. You take a few pages."); + if (!(.@q & .hcID)) + setq3 FrostiaQuest_Homunculus, .@q|.hcID; + close; +OnInit: + .hcID=256; + .distance=2; + end; +} + +023-3-2,30,31,0 duplicate(Bookcase#MKHB1) Bookcase#MKHB6 NPC_NO_SPRITE + +023-3-2,35,35,0 duplicate(Bookcase#MKHB1) Bookcase#MKHB7 NPC_NO_SPRITE + +023-3-2,43,35,0 duplicate(Bookcase#MKHB2) Bookcase#MKHB8 NPC_NO_SPRITE + +023-3-2,33,22,0 duplicate(Potions#MKHB) Potions#MKHB1 NPC_NO_SPRITE +023-3-2,30,24,0 duplicate(Potions#MKHB) Potions#MKHB2 NPC_NO_SPRITE +023-3-2,27,26,0 duplicate(Potions#MKHB) Potions#MKHB3 NPC_NO_SPRITE +023-3-2,46,22,0 duplicate(Potions#MKHB) Potions#MKHB4 NPC_NO_SPRITE +023-3-2,49,24,0 duplicate(Potions#MKHB) Potions#MKHB5 NPC_NO_SPRITE +023-3-2,52,26,0 duplicate(Potions#MKHB) Potions#MKHB6 NPC_NO_SPRITE + + +023-3-2,37,20,0 script Wardrobe#MKHB NPC_NO_SPRITE,{ + .@q=getq3(FrostiaQuest_Homunculus); + mesn; + mesc l("Inside it, seems to be several magic reagents, powders, and other stuff."); + if (!(.@q & .hcID)) + setq3 FrostiaQuest_Homunculus, .@q|.hcID; + close; +OnInit: + .hcID=512; + .distance=2; + end; +} + +023-3-2,43,20,0 duplicate(Wardrobe#MKHB) Wardrobe#MKHB1 NPC_NO_SPRITE +023-3-2,31,21,0 duplicate(Wardrobe#MKHB) Wardrobe#MKHB2 NPC_NO_SPRITE +023-3-2,28,23,0 duplicate(Wardrobe#MKHB) Wardrobe#MKHB3 NPC_NO_SPRITE +023-3-2,25,25,0 duplicate(Wardrobe#MKHB) Wardrobe#MKHB4 NPC_NO_SPRITE +023-3-2,48,21,0 duplicate(Wardrobe#MKHB) Wardrobe#MKHB5 NPC_NO_SPRITE +023-3-2,51,23,0 duplicate(Wardrobe#MKHB) Wardrobe#MKHB6 NPC_NO_SPRITE +023-3-2,54,25,0 duplicate(Wardrobe#MKHB) Wardrobe#MKHB7 NPC_NO_SPRITE + +23-3-2,51,37,0 script Barrels#MKHB NPC_NO_SPRITE,{ + .@q=getq3(FrostiaQuest_Homunculus); + mesn; + mesc l("These barrels are sealed and heavy. It's impossible to know what's inside. There's a marking on them, you copy them somewhere."); + if (!(.@q & .hcID)) + setq3 FrostiaQuest_Homunculus, .@q|.hcID; + close; +OnInit: + .hcID=1024; + .distance=2; + end; +} + +023-3-2,45,41,0 duplicate(Barrels#MKHB) Barrels#MKHB1 NPC_NO_SPRITE +023-3-2,30,40,0 duplicate(Barrels#MKHB) Barrels#MKHB1 NPC_NO_SPRITE +023-3-2,25,34,0 duplicate(Barrels#MKHB) Barrels#MKHB1 NPC_NO_SPRITE + +23-3-2,38,26,0 script Alchemy Set#MKHB NPC_NO_SPRITE,{ + .@q=getq3(FrostiaQuest_Homunculus); + mesn; + mesc l("Hey look, an alchemy set. Not your area of expertise, but you take a few samples."); + if (!(.@q & .hcID)) + setq3 FrostiaQuest_Homunculus, .@q|.hcID; + close; +OnInit: + .hcID=2048; + .distance=2; + end; +} + |