Difference between revisions of "Portals.txt"

From OpenKore Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
= Format =
 
= Format =
  
  <source map> <x> <y> <destination map> <x> <y> [<zeny cost>] [<NPC conversation codes>]
+
  <source map> <x> <y> <destination map> <x> <y> [<zeny cost> <NPC conversation codes>]
  
 
; <source map> <x> <y>
 
; <source map> <x> <y>
Line 15: Line 15:
  
 
; [<NPC conversation codes>]
 
; [<NPC conversation codes>]
: NPC conversation codes, if this is an NPC warp.
+
: NPC conversation codes, if this is an NPC warp. Warning: If the route you're adding includes talking to an NPC, you MUST specify <zeny cost>, even if it's zero.
  
 
= Note =
 
= Note =

Revision as of 17:34, 29 September 2018

Lists all known portals

Format

<source map> <x> <y> <destination map> <x> <y> [<zeny cost> <NPC conversation codes>]
<source map> <x> <y>
Source location. This is the coordinates within a portal warping radius or the coordinates of an NPC which offers teleporting options.
<destination map> <x> <y>
Destination location. This is where the portal or NPC takes you.
[<zeny cost>]
Zeny cost of this route, if any.
[<NPC conversation codes>]
NPC conversation codes, if this is an NPC warp. Warning: If the route you're adding includes talking to an NPC, you MUST specify <zeny cost>, even if it's zero.

Note

  • When adding a new portal, make sure to add it to the correct portals.txt. bRO, for instance, uses portals.txt in tables/bRO, not the one in tables/.

See also