diff options
Diffstat (limited to 'world/map/npc/027-1')
-rw-r--r-- | world/map/npc/027-1/_mobs.txt | 2 | ||||
-rw-r--r-- | world/map/npc/027-1/graves.txt | 59 | ||||
-rw-r--r-- | world/map/npc/027-1/traveler.txt | 2 |
3 files changed, 38 insertions, 25 deletions
diff --git a/world/map/npc/027-1/_mobs.txt b/world/map/npc/027-1/_mobs.txt index f72b338d..de1a4b6f 100644 --- a/world/map/npc/027-1/_mobs.txt +++ b/world/map/npc/027-1/_mobs.txt @@ -20,7 +20,7 @@ 027-1,99,90,34,16|monster|GrassSnake|1034,3,100000ms,50000ms,Mob027-1::On1034 -027-1,0,0,0|script|Mob027-1|-1 +027-1,0,0,0|script|Mob027-1|32767 { end; diff --git a/world/map/npc/027-1/graves.txt b/world/map/npc/027-1/graves.txt index dee7df5d..d10c3309 100644 --- a/world/map/npc/027-1/graves.txt +++ b/world/map/npc/027-1/graves.txt @@ -1,19 +1,10 @@ // Easter egg graves -function|script|GraveTooFar -{ - if (isin("027-1",89,54,122,76)) - goto L_Return; - mes "You are too far away to read the grave."; - close; - -L_Return: - return; -} - 027-1,89,62,0|script|Grave#1|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ FotherJ ~"; mes "The mad sprite making genius who made all the creepy undead monster graphics."; close; @@ -21,7 +12,9 @@ L_Return: 027-1,118,54,0|script|Grave#2|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ Yosuhara ~"; mes "Contributed some of the tombstones."; close; @@ -29,7 +22,9 @@ L_Return: 027-1,111,62,0|script|Grave#3|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ Feline Monstrosity ~"; mes "Made the background music you are hearing."; close; @@ -37,7 +32,9 @@ L_Return: 027-1,112,76,0|script|Grave#4|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ Superkoop ~"; mes "Mapped the swamp to the south."; close; @@ -45,7 +42,9 @@ L_Return: 027-1,120,76,0|script|Grave#5|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ Aroleon ~"; mes "Mapped the swamp to the southeast."; close; @@ -53,7 +52,9 @@ L_Return: 027-1,100,68,0|script|Grave#6|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ John P ~"; mes "Wrote the graveyard backstory and the dialog for the caretaker quest."; close; @@ -61,7 +62,9 @@ L_Return: 027-1,94,70,0|script|Grave#7|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ Spit23 ~"; mes "Made those freakin awesome cemetery gates."; close; @@ -69,7 +72,9 @@ L_Return: 027-1,106,60,0|script|Grave#8|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ Black Don ~"; mes "Contributed those cool gargoyle statues."; close; @@ -77,7 +82,9 @@ L_Return: 027-1,92,54,0|script|Grave#9|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ Jaxad0127 ~"; mes "Did all the scripting work for the graveyard. Made Caretaker's house."; close; @@ -85,7 +92,9 @@ L_Return: 027-1,122,64,0|script|Grave#10|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ Ces Vargavind ~"; mes "Scripted caretaker's daughter."; close; @@ -93,7 +102,9 @@ L_Return: 027-1,102,62,0|script|Grave#11|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ Crush ~"; mes "Organizer of the whole graveyard project, graveyard fence graphics, mapping of the graveyard itself."; close; @@ -101,7 +112,9 @@ L_Return: 027-1,104,76,0|script|Grave#12|400 { - callfunc "GraveTooFar"; + set @npc_distance, 1; + callfunc "PCtoNPCRange"; + if(@npc_check) end; mes "~ Freeyorp ~"; mes "Planned out monster stats and placements."; close; diff --git a/world/map/npc/027-1/traveler.txt b/world/map/npc/027-1/traveler.txt index ca8d8f47..0c8bb753 100644 --- a/world/map/npc/027-1/traveler.txt +++ b/world/map/npc/027-1/traveler.txt @@ -4,7 +4,7 @@ 027-1,83,84,0|script|Styx the Traveler|103 { - set @NpcName$, "Styx"; + set @npcname$, "Styx"; set @NpcTravelBit, $@graveyard_bit; callfunc "Traveler"; end; |