diff options
Diffstat (limited to 'world/map/npc/easter/2010/eggs.txt')
-rw-r--r-- | world/map/npc/easter/2010/eggs.txt | 946 |
1 files changed, 946 insertions, 0 deletions
diff --git a/world/map/npc/easter/2010/eggs.txt b/world/map/npc/easter/2010/eggs.txt new file mode 100644 index 00000000..0b1af508 --- /dev/null +++ b/world/map/npc/easter/2010/eggs.txt @@ -0,0 +1,946 @@ +// + +007-1.gat,38,22,0 script Flowers 127,{ + set @obj, 0; + callfunc "Easter2010Loc_Check1"; + close; +} + +007-1.gat,40,41,0 script Grass 127,{ + set @obj, 1; + callfunc "Easter2010Loc_Check1"; + close; +} + +007-1.gat,18,71,0 script Stone 127,{ + set @obj, 2; + callfunc "Easter2010Loc_Check1"; + close; +} + +007-1.gat,58,33,0 script Tree 127,{ + set @obj, 3; + callfunc "Easter2010Loc_Check1"; + close; +} + +007-1.gat,36,58,0 script Flowers 127,{ + set @obj, 4; + callfunc "Easter2010Loc_Check1"; + close; +} + +007-1.gat,91,25,0 script Plant 127,{ + set @obj, 5; + callfunc "Easter2010Loc_Check1"; + close; +} + +007-1.gat,66,52,0 script Sign 127,{ + set @obj, 6; + callfunc "Easter2010Loc_Check1"; + close; +} + +007-1.gat,104,33,0 script Tree 127,{ + set @obj, 7; + callfunc "Easter2010Loc_Check1"; + close; +} + +007-1.gat,99,39,0 script Plant 127,{ + set @obj, 8; + callfunc "Easter2010Loc_Check1"; + close; +} + +007-1.gat,125,20,0 script Rock 127,{ + set @obj, 9; + callfunc "Easter2010Loc_Check1"; + close; +} + +007-1.gat,117,33,0 script Plant 127,{ + set @obj, 10; + callfunc "Easter2010Loc_Check1"; + close; +} + +007-1.gat,114,54,0 script Tree 127,{ + set @obj, 11; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,97,28,0 script Haystack 127,{ + set @obj, 12; + callfunc "Easter2010Loc_Check1"; + if (@result != 0) close; + if ((Easter_2010_QuestState >> E10_LOC_NEEDLE_SHIFT) & E10_LOC_NEEDLE_MASK == ($Easter_2010_Npc_State2 >> E10_NEEDLE_SHIFT) & E10_NEEDLE_MASK && rand(100) == 0) goto L_Needle; + close; + +L_Needle: + getitem "BentNeedle", 1; + set Easter_2010_QuestState, Easter_2010_QuestState & ~(E10_LOC_NEEDLE_MASK << E10_LOC_NEEDLE_SHIFT) | (rand(E10_LOC_NEEDLE_MASK) << E10_LOC_NEEDLE_SHIFT); + end; + +OnInit: + initnpctimer; + +OnTimer300000: + set $Easter_2010_Npc_State2, $Easter_2010_Npc_State2 & ~(E10_NEEDLE_MASK << E10_NEEDLE_SHIFT) | (rand(E10_NEEDLE_MASK) << E10_NEEDLE_SHIFT); + setnpctimer 0; +} + +008-1.gat,88,48,0 script Target 127,{ + set @obj, 13; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,137,85,0 script Tree 127,{ + set @obj, 14; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,46,18,0 script Rocks 127,{ + set @obj, 15; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,36,28,0 script Rock 127,{ + set @obj, 16; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,44,26,0 script Flowers 127,{ + set @obj, 17; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,68,21,0 script Wheat 127,{ + set @obj, 18; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,103,27,0 script Scythe 127,{ + set @obj, 19; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,128,25,0 script Trees 127,{ + set @obj, 20; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,134,39,0 script Flowers 127,{ + set @obj, 21; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,134,61,0 script Tree 127,{ + set @obj, 22; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,129,77,0 script Flowers 127,{ + set @obj, 23; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,121,95,0 script Tree 127,{ + set @obj, 24; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,99,91,0 script Tree 127,{ + set @obj, 25; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,64,90,0 script Grass 127,{ + set @obj, 26; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,46,83,0 script Pond 127,{ + set @obj, 27; + callfunc "Easter2010Loc_Check1"; + close; +} + +008-1.gat,43,64,0 script Tree 127,{ + set @obj, 28; + callfunc "Easter2010Loc_Check1"; + close; +} + +009-1.gat,26,32,0 script Tree 127,{ + set @obj, 29; + callfunc "Easter2010Loc_Check1"; + close; +} + +009-1.gat,25,51,0 script Flowers 127,{ + set @obj, 30; + callfunc "Easter2010Loc_Check1"; + close; +} + +009-1.gat,44,46,0 script Stump 127,{ + set @obj, 31; + callfunc "Easter2010Loc_Check1"; + close; +} + +009-1.gat,36,34,0 script Sign 127,{ + set @obj, 0; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,45,25,0 script Tree 127,{ + set @obj, 1; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,54,31,0 script Flower pot 127,{ + set @obj, 2; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,61,34,0 script Sign 127,{ + set @obj, 3; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,67,33,0 script Pots 127,{ + set @obj, 4; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,78,34,0 script Sign 127,{ + set @obj, 5; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,85,35,0 script Flower pot 127,{ + set @obj, 6; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,95,33,0 script Flowers 127,{ + set @obj, 7; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,90,27,0 script Bench 127,{ + set @obj, 8; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,94,52,0 script Tree 127,{ + set @obj, 9; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,82,51,0 script Tree 127,{ + set @obj, 10; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,77,45,0 script Barrel 127,{ + set @obj, 11; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,62,46,0 script Chimney 127,{ + set @obj, 12; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-1.gat,54,38,0 script Tree 127,{ + set @obj, 13; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,67,48,0 script Shelf 127,{ + set @obj, 14; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,37,24,0 script Table 127,{ + set @obj, 15; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,68,29,0 script Bed 127,{ + set @obj, 16; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,94,25,0 script Display 127,{ + set @obj, 17; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,123,21,0 script Shelf 127,{ + set @obj, 18; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,151,25,0 script Candle 127,{ + set @obj, 19; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,57,48,0 script Fireplace 127,{ + set @obj, 20; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,62,56,0 script Table 127,{ + set @obj, 21; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,101,44,0 script Bed 127,{ + set @obj, 22; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,123,44,0 script Plant 127,{ + set @obj, 23; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,112,43,0 script Window 127,{ + set @obj, 24; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,146,42,0 script Table 127,{ + set @obj, 25; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,153,46,0 script Railing 127,{ + set @obj, 26; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,18,103,0 script Chair 127,{ + set @obj, 27; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,27,97,0 script Shield 127,{ + set @obj, 28; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,148,64,0 script Counter 127,{ + set @obj, 29; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,177,58,0 script Display 127,{ + set @obj, 30; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,184,63,0 script Display 127,{ + set @obj, 31; + callfunc "Easter2010Loc_Check2"; + close; +} + +009-2.gat,148,80,0 script Container 127,{ + set @obj, 0; + callfunc "Easter2010Loc_Check3"; + close; +} + +009-2.gat,143,85,0 script Shelf 127,{ + set @obj, 1; + callfunc "Easter2010Loc_Check3"; + close; +} + +009-2.gat,150,83,0 script Shelf 127,{ + set @obj, 2; + callfunc "Easter2010Loc_Check3"; + close; +} + +009-2.gat,151,88,0 script Bag 127,{ + set @obj, 3; + callfunc "Easter2010Loc_Check3"; + close; +} + +009-2.gat,126,69,0 script Cupboard 127,{ + set @obj, 4; + callfunc "Easter2010Loc_Check3"; + close; +} + +009-2.gat,118,68,0 script Fireplace 127,{ + set @obj, 5; + callfunc "Easter2010Loc_Check3"; + close; +} + +009-2.gat,111,72,0 script Shield 127,{ + set @obj, 6; + callfunc "Easter2010Loc_Check3"; + close; +} + +009-2.gat,103,74,0 script Table 127,{ + set @obj, 7; + callfunc "Easter2010Loc_Check3"; + close; +} + +010-1.gat,24,66,0 script Rock 127,{ + set @obj, 8; + callfunc "Easter2010Loc_Check3"; + close; +} + +010-1.gat,120,84,0 script Rock 127,{ + set @obj, 9; + callfunc "Easter2010Loc_Check3"; + close; +} + +010-1.gat,27,95,0 script Barrel 127,{ + set @obj, 10; + callfunc "Easter2010Loc_Check3"; + close; +} + +010-1.gat,51,34,0 script Sign 127,{ + set @obj, 11; + callfunc "Easter2010Loc_Check3"; + close; +} + +010-1.gat,71,74,0 script Dead Tree 127,{ + set @obj, 12; + callfunc "Easter2010Loc_Check3"; + close; +} + +010-1.gat,48,82,0 script Flowerpot 127,{ + set @obj, 13; + callfunc "Easter2010Loc_Check3"; + close; +} + +010-1.gat,21,97,0 script Water 127,{ + set @obj, 14; + callfunc "Easter2010Loc_Check3"; + close; +} + +010-1.gat,130,45,0 script Grass 127,{ + set @obj, 15; + callfunc "Easter2010Loc_Check3"; + close; +} + +010-1.gat,45,102,0 script Plant 127,{ + set @obj, 16; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,38,36,0 script Cave 127,{ + set @obj, 17; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,87,33,0 script Oscar's Hat 127,{ + set @obj, 18; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,91,37,0 script Lattice 127,{ + set @obj, 19; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,97,37,0 script Drain 127,{ + set @obj, 20; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,88,66,0 script Bullrushes 127,{ + set @obj, 21; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,104,69,0 script Plant 127,{ + set @obj, 22; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,112,76,0 script Crevice 127,{ + set @obj, 23; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,108,89,0 script Grass 127,{ + set @obj, 24; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,83,85,0 script Stump 127,{ + set @obj, 25; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,59,92,0 script Sign 127,{ + set @obj, 26; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,36,90,0 script Tree 127,{ + set @obj, 27; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,50,103,0 script Tree 127,{ + set @obj, 28; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,26,89,0 script Stream 127,{ + set @obj, 29; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,35,75,0 script Tree 127,{ + set @obj, 30; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,48,79,0 script Flowers 127,{ + set @obj, 31; + callfunc "Easter2010Loc_Check3"; + close; +} + +011-1.gat,70,69,0 script Tree 127,{ + set @obj, 0; + callfunc "Easter2010Loc_Check4"; + close; +} + +011-1.gat,100,41,0 script Field 127,{ + set @obj, 1; + callfunc "Easter2010Loc_Check4"; + close; +} + +011-1.gat,89,37,0 script Flower pot 127,{ + set @obj, 2; + callfunc "Easter2010Loc_Check4"; + close; +} + +011-1.gat,77,32,0 script Foundation 127,{ + set @obj, 3; + callfunc "Easter2010Loc_Check4"; + close; +} + +011-1.gat,65,39,0 script Cattails 127,{ + set @obj, 4; + callfunc "Easter2010Loc_Check4"; + close; +} + +011-1.gat,45,35,0 script Plant 127,{ + set @obj, 5; + callfunc "Easter2010Loc_Check4"; + close; +} + +011-2.gat,29,29,0 script Torch 127,{ + set @obj, 6; + callfunc "Easter2010Loc_Check4"; + close; +} + +011-2.gat,33,51,0 script Water 127,{ + set @obj, 7; + callfunc "Easter2010Loc_Check4"; + close; +} + +011-2.gat,39,48,0 script Stalagmite 127,{ + set @obj, 8; + callfunc "Easter2010Loc_Check4"; + close; +} + +012-1.gat,124,137,0 script Tree 127,{ + set @obj, 9; + callfunc "Easter2010Loc_Check4"; + close; +} + +012-1.gat,143,121,0 script Treestump 127,{ + set @obj, 10; + callfunc "Easter2010Loc_Check4"; + close; +} + +012-1.gat,136,72,0 script Treestump 127,{ + set @obj, 11; + callfunc "Easter2010Loc_Check4"; + close; +} + +012-1.gat,110,44,0 script Grass 127,{ + set @obj, 12; + callfunc "Easter2010Loc_Check4"; + close; +} + +012-1.gat,123,115,0 script Island 127,{ + set @obj, 13; + callfunc "Easter2010Loc_Check4"; + close; +} + +012-1.gat,96,129,0 script Rock 127,{ + set @obj, 14; + callfunc "Easter2010Loc_Check4"; + close; +} + +012-1.gat,109,147,0 script Treestump 127,{ + set @obj, 15; + callfunc "Easter2010Loc_Check4"; + close; +} + +012-1.gat,118,98,0 script Waterfall 127,{ + set @obj, 16; + callfunc "Easter2010Loc_Check4"; + close; +} + +012-1.gat,99,110,0 script Rock 127,{ + set @obj, 17; + callfunc "Easter2010Loc_Check4"; + close; +} + +012-3.gat,62,141,0 script Torch 127,{ + set @obj, 18; + callfunc "Easter2010Loc_Check4"; + close; +} + +013-1.gat,135,71,0 script Treestump 127,{ + set @obj, 19; + callfunc "Easter2010Loc_Check4"; + close; +} + +013-1.gat,124,23,0 script Flower 127,{ + set @obj, 20; + callfunc "Easter2010Loc_Check4"; + close; +} + +013-1.gat,128,100,0 script Plant 127,{ + set @obj, 21; + callfunc "Easter2010Loc_Check4"; + close; +} + +013-1.gat,41,88,0 script Rock 127,{ + set @obj, 22; + callfunc "Easter2010Loc_Check4"; + close; +} + +013-1.gat,89,28,0 script Rock 127,{ + set @obj, 23; + callfunc "Easter2010Loc_Check4"; + close; +} + +013-1.gat,131,21,0 script Flowers 127,{ + set @obj, 24; + callfunc "Easter2010Loc_Check4"; + close; +} + +013-1.gat,116,48,0 script Treestump 127,{ + set @obj, 25; + callfunc "Easter2010Loc_Check4"; + close; +} + +013-1.gat,62,70,0 script Tree 127,{ + set @obj, 26; + callfunc "Easter2010Loc_Check4"; + close; +} + +014-1.gat,97,92,0 script Tree 127,{ + set @obj, 27; + callfunc "Easter2010Loc_Check4"; + close; +} + +014-1.gat,102,72,0 script Rock 127,{ + set @obj, 28; + callfunc "Easter2010Loc_Check4"; + close; +} + +014-1.gat,61,85,0 script Stump 127,{ + set @obj, 29; + callfunc "Easter2010Loc_Check4"; + close; +} + +014-1.gat,49,66,0 script Stump 127,{ + set @obj, 30; + callfunc "Easter2010Loc_Check4"; + close; +} + +014-1.gat,80,91,0 script Tree 127,{ + set @obj, 31; + callfunc "Easter2010Loc_Check4"; + close; +} + +018-1.gat,71,98,0 script Tree 127,{ + set @obj, 0; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-1.gat,63,87,0 script Cattails 127,{ + set @obj, 1; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-1.gat,62,74,0 script Foundation 127,{ + set @obj, 2; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-1.gat,65,78,0 script Firepit 127,{ + set @obj, 3; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-1.gat,94,88,0 script Tree 127,{ + set @obj, 4; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-1.gat,82,67,0 script Plant 127,{ + set @obj, 5; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-1.gat,81,59,0 script Barrel 127,{ + set @obj, 6; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-1.gat,102,73,0 script Tree 127,{ + set @obj, 7; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-1.gat,135,63,0 script Tree 127,{ + set @obj, 8; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-1.gat,131,93,0 script Tree 127,{ + set @obj, 9; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,57,26,0 script Flower pot 127,{ + set @obj, 10; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,51,20,0 script Shield 127,{ + set @obj, 11; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,36,21,0 script Bag 127,{ + set @obj, 12; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,33,32,0 script Container 127,{ + set @obj, 13; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,25,45,0 script Anvil 127,{ + set @obj, 14; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,23,28,0 script Table 127,{ + set @obj, 15; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,82,19,0 script Bookcase 127,{ + set @obj, 16; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,91,31,0 script Table 127,{ + set @obj, 17; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,79,46,0 script Bed 127,{ + set @obj, 18; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,116,22,0 script Chair 127,{ + set @obj, 19; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,123,19,0 script Mug 127,{ + set @obj, 20; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,118,24,0 script Woodpile 127,{ + set @obj, 21; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,119,40,0 script Teapot 127,{ + set @obj, 22; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-2.gat,125,49,0 script Corner 127,{ + set @obj, 23; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-3.gat,34,22,0 script Skull 127,{ + set @obj, 24; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-3.gat,24,32,0 script Stalagmite 127,{ + set @obj, 25; + callfunc "Easter2010Loc_Check5"; + close; +} + +018-3.gat,65,30,0 script Torch 127,{ + set @obj, 26; + callfunc "Easter2010Loc_Check5"; + close; +} + |