diff options
Diffstat (limited to 'world/map/npc/027-1')
-rw-r--r-- | world/map/npc/027-1/golbenez.txt | 55 | ||||
-rw-r--r-- | world/map/npc/027-1/graves.txt | 130 | ||||
-rw-r--r-- | world/map/npc/027-1/monsters.txt | 87 |
3 files changed, 139 insertions, 133 deletions
diff --git a/world/map/npc/027-1/golbenez.txt b/world/map/npc/027-1/golbenez.txt index 336cdea3..0d45c154 100644 --- a/world/map/npc/027-1/golbenez.txt +++ b/world/map/npc/027-1/golbenez.txt @@ -1,36 +1,37 @@ -027-1.gat,68,89,0 script #Golbenez#_M 204,{ +027-1.gat,68,89,0|script|#Golbenez#_M|204,{ - set @fee, 666; + set @fee, 666; - mes "[Golbenez]"; - mes "\"Welcome mortal. I finished the creation of the place of leisure.\""; - next; - if (baselevel < 60) goto L_Weak; - mes "\"I will bring you there for a small fee of " + @fee + "GP.\""; - menu - "What? You already got so much money!",-, - "Ok, bring me there.",L_Warp; - - mes "[Golbenez]"; - mes "\"Come back when you've changed your mind. It's a wonderful place.\""; - close; + mes "[Golbenez]"; + mes "\"Welcome mortal. I finished the creation of the place of leisure.\""; + next; + if (baselevel < 60) + goto L_Weak; + mes "\"I will bring you there for a small fee of " + @fee + "GP.\""; + menu + "What? You already got so much money!",-, + "Ok, bring me there.",L_Warp; + mes "[Golbenez]"; + mes "\"Come back when you've changed your mind. It's a wonderful place.\""; + close; L_Warp: - if (zeny < @fee) goto L_No_Money; - set zeny, zeny - @fee; - warp "027-2.gat", 105, 44; - close; + if (zeny < @fee) + goto L_No_Money; + set zeny, zeny - @fee; + warp "027-2.gat", 105, 44; + close; L_No_Money: - mes "[Golbenez]"; - mes "\"Don't try to betray me, pitiful human.\""; - next; - mes "\"Come back when you can pay my service.\""; - close; + mes "[Golbenez]"; + mes "\"Don't try to betray me, pitiful human.\""; + next; + mes "\"Come back when you can pay my service.\""; + close; L_Weak: - mes "\"It is astonishing how WEAK you humans can be.\""; - next; - mes "\"Come back when you're a bit more experienced.\""; - close; + mes "\"It is astonishing how WEAK you humans can be.\""; + next; + mes "\"Come back when you're a bit more experienced.\""; + close; } diff --git a/world/map/npc/027-1/graves.txt b/world/map/npc/027-1/graves.txt index ecda6ea0..47ab17c0 100644 --- a/world/map/npc/027-1/graves.txt +++ b/world/map/npc/027-1/graves.txt @@ -1,92 +1,92 @@ // Easter egg graves -function script GraveTooFar { - if (isin("027-1.gat",89,54,122,76)) - return; - mes "You are too far away to read the grave."; - close; +function|script|GraveTooFar|{ + if (isin("027-1.gat",89,54,122,76)) + return; + mes "You are too far away to read the grave."; + close; } -027-1.gat,89,62,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ FotherJ ~"; - mes "The mad sprite making genius who made all the creepy undead monster graphics."; - close; +027-1.gat,89,62,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ FotherJ ~"; + mes "The mad sprite making genius who made all the creepy undead monster graphics."; + close; } -027-1.gat,118,54,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ Yosuhara ~"; - mes "Contributed some of the tombstones."; - close; +027-1.gat,118,54,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ Yosuhara ~"; + mes "Contributed some of the tombstones."; + close; } -027-1.gat,111,62,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ Feline Monstrosity ~"; - mes "Made the background music you are hearing."; - close; +027-1.gat,111,62,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ Feline Monstrosity ~"; + mes "Made the background music you are hearing."; + close; } -027-1.gat,112,76,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ Superkoop ~"; - mes "Mapped the swamp to the south."; - close; +027-1.gat,112,76,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ Superkoop ~"; + mes "Mapped the swamp to the south."; + close; } -027-1.gat,120,76,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ Aroleon ~"; - mes "Mapped the swamp to the southeast."; - close; +027-1.gat,120,76,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ Aroleon ~"; + mes "Mapped the swamp to the southeast."; + close; } -027-1.gat,100,68,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ John P ~"; - mes "Wrote the graveyard backstory and the dialog for the caretaker quest."; - close; +027-1.gat,100,68,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ John P ~"; + mes "Wrote the graveyard backstory and the dialog for the caretaker quest."; + close; } -027-1.gat,94,70,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ Spit23 ~"; - mes "Made those freakin awesome cemetery gates."; - close; +027-1.gat,94,70,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ Spit23 ~"; + mes "Made those freakin awesome cemetery gates."; + close; } -027-1.gat,106,60,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ Black Don ~"; - mes "Contributed those cool gargoyle statues."; - close; +027-1.gat,106,60,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ Black Don ~"; + mes "Contributed those cool gargoyle statues."; + close; } -027-1.gat,92,54,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ Jaxad0127 ~"; - mes "Did all the scripting work for the graveyard. Made Caretaker's house."; - close; +027-1.gat,92,54,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ Jaxad0127 ~"; + mes "Did all the scripting work for the graveyard. Made Caretaker's house."; + close; } -027-1.gat,122,64,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ Ces Vargavind ~"; - mes "Scripted caretaker's daughter."; - close; +027-1.gat,122,64,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ Ces Vargavind ~"; + mes "Scripted caretaker's daughter."; + close; } -027-1.gat,102,62,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ Crush ~"; - mes "Organizer of the whole graveyard project, graveyard fence graphics, mapping of the graveyard itself."; - close; +027-1.gat,102,62,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ Crush ~"; + mes "Organizer of the whole graveyard project, graveyard fence graphics, mapping of the graveyard itself."; + close; } -027-1.gat,104,76,0 script Grave 127,{ - callfunc "GraveTooFar"; - mes "~ Freeyorp ~"; - mes "Planned out monster stats and placements."; - close; +027-1.gat,104,76,0|script|Grave|127,{ + callfunc "GraveTooFar"; + mes "~ Freeyorp ~"; + mes "Planned out monster stats and placements."; + close; } diff --git a/world/map/npc/027-1/monsters.txt b/world/map/npc/027-1/monsters.txt index 0efe43c4..b8f1233a 100644 --- a/world/map/npc/027-1/monsters.txt +++ b/world/map/npc/027-1/monsters.txt @@ -1,61 +1,66 @@ // 027-1 Graveyard zombies and fallens // they need to be in an extra file because of the crying child quest -027-1.gat,71,41,31,22 monster Zombie 1036,2,300000,120000,specialMob027-1::On1036 -027-1.gat,37,41,33,22 monster Zombie 1036,2,200000,10000,specialMob027-1::On1036 -027-1.gat,37,65,33,22 monster Zombie 1036,3,140000,30000,specialMob027-1::On1036 -027-1.gat,37,65,33,22 monster Fallen 1045,3,120000,30000,specialMob027-1::On1045 +027-1.gat,71,41,31,22|monster|Zombie|1036,2,300000,120000,specialMob027-1::On1036 +027-1.gat,37,41,33,22|monster|Zombie|1036,2,200000,10000,specialMob027-1::On1036 +027-1.gat,37,65,33,22|monster|Zombie|1036,3,140000,30000,specialMob027-1::On1036 +027-1.gat,37,65,33,22|monster|Fallen|1045,3,120000,30000,specialMob027-1::On1045 -027-1.gat,0,0,0 script specialMob027-1 -1,{ +027-1.gat,0,0,0|script|specialMob027-1|-1,{ On1036: - set @mobID, 1036; - callsub _MOBCOUNT_ZOMBIES; - callfunc "MobPoints"; - break; + set @mobID, 1036; + callsub _MOBCOUNT_ZOMBIES; + callfunc "MobPoints"; + break; On1045: - set @mobID, 1045; - callsub _MOBCOUNT_FALLENS; - callfunc "MobPoints"; - break; + set @mobID, 1045; + callsub _MOBCOUNT_FALLENS; + callfunc "MobPoints"; + break; _MOBCOUNT_ZOMBIES: - set @Graveyard_Inn_MASK, NIBBLE_2_MASK; - set @Graveyard_Inn_SHIFT, NIBBLE_2_SHIFT; + set @Graveyard_Inn_MASK, NIBBLE_2_MASK; + set @Graveyard_Inn_SHIFT, NIBBLE_2_SHIFT; - set @state, ((QUEST_Graveyard_Inn & @Graveyard_Inn_MASK) >> @Graveyard_Inn_SHIFT); + set @state, ((QUEST_Graveyard_Inn & @Graveyard_Inn_MASK) >> @Graveyard_Inn_SHIFT); - if (@state != 1) return; - set @ring, @ring + 1; - if (@ring < 10) return; - if (rand(8) != 0) return; - message strcharinfo(0), "You found a ring hidden in the zombie's rotten rags. Maybe this is what Aldred was looking for..."; - set @state, 2; - callsub S_Update_Mask; - return; + if (@state != 1) + return; + set @ring, @ring + 1; + if (@ring < 10) + return; + if (rand(8) != 0) + return; + message strcharinfo(0), "You found a ring hidden in the zombie's rotten rags. Maybe this is what Aldred was looking for..."; + set @state, 2; + callsub S_Update_Mask; + return; _MOBCOUNT_FALLENS: - set @Graveyard_Inn_MASK, NIBBLE_2_MASK; - set @Graveyard_Inn_SHIFT, NIBBLE_2_SHIFT; - - set @state, ((QUEST_Graveyard_Inn & @Graveyard_Inn_MASK) >> @Graveyard_Inn_SHIFT); + set @Graveyard_Inn_MASK, NIBBLE_2_MASK; + set @Graveyard_Inn_SHIFT, NIBBLE_2_SHIFT; - if (@state != 1) return; - set @ring, @ring + 1; - if (@ring < 10) return; - if (rand(8) != 0) return; - message strcharinfo(0), "You found a ring inside the fallen's broken helmet. Maybe this is what Aldred was looking for..."; - set @state, 2; - callsub S_Update_Mask; - return; + set @state, ((QUEST_Graveyard_Inn & @Graveyard_Inn_MASK) >> @Graveyard_Inn_SHIFT); -S_Update_Mask: - set QUEST_Graveyard_Inn, - (QUEST_Graveyard_Inn & ~(@Graveyard_Inn_MASK)) - | (@state << @Graveyard_Inn_SHIFT); + if (@state != 1) + return; + set @ring, @ring + 1; + if (@ring < 10) return; + if (rand(8) != 0) + return; + message strcharinfo(0), "You found a ring inside the fallen's broken helmet. Maybe this is what Aldred was looking for..."; + set @state, 2; + callsub S_Update_Mask; + return; - end; +S_Update_Mask: + set QUEST_Graveyard_Inn, + (QUEST_Graveyard_Inn & ~(@Graveyard_Inn_MASK)) + | (@state << @Graveyard_Inn_SHIFT); + return; + end; } |