portals.txt: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Creation)
 
m (Conversion script moved page Portals.txt to portals.txt: Converting page titles to lowercase)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
List of all portals in the game.
Lists all known portals


Format: <source map and coordinate> <destination map and coordinate> [zenny cost] [conversation sequence]
= Format =
 
<source map> <x> <y> <destination map> <x> <y> [<zeny cost> <allow ticket> <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.
 
;[<allow ticket>]
: put 1 if you can use a Free Ticket for Kafra Transportation (item_id = 7060)
 
; [<NPC conversation codes>]
: NPC conversation codes, if this is an NPC warp.
 
= 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 =
* [[NPC conversation codes]]
* [[Portals|portals command]]
* [[PortalCompile|Compile portals.txt]]
* [[PortalRecord|Record portals automatically]]
* [[Routeweights.txt|route priority]]
 
[[Category:tables]]

Latest revision as of 22:35, 26 April 2021

Lists all known portals

Format

<source map> <x> <y> <destination map> <x> <y> [<zeny cost> <allow ticket> <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.
[<allow ticket>]
put 1 if you can use a Free Ticket for Kafra Transportation (item_id = 7060)
[<NPC conversation codes>]
NPC conversation codes, if this is an NPC warp.

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