<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3ATomeGetNoteworthyPersonsEntryData</id>
	<title>API:TomeGetNoteworthyPersonsEntryData - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3ATomeGetNoteworthyPersonsEntryData"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:TomeGetNoteworthyPersonsEntryData&amp;action=history"/>
	<updated>2026-10-17T10:25:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.returnofreckoning.com/index.php?title=API:TomeGetNoteworthyPersonsEntryData&amp;diff=30808&amp;oldid=prev</id>
		<title>Maintenance script: UI Lua API import (WAR 1.4.8)</title>
		<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:TomeGetNoteworthyPersonsEntryData&amp;diff=30808&amp;oldid=prev"/>
		<updated>2026-10-16T19:50:27Z</updated>

		<summary type="html">&lt;p&gt;UI Lua API import (WAR 1.4.8)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LuaApi|group=Tome}}&lt;br /&gt;
Returns the name and text of an unlocked Noteworthy Persons entry.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
entryData = TomeGetNoteworthyPersonsEntryData(entryId)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
;entryId : &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; – Entry id, as in the &amp;lt;code&amp;gt;entries&amp;lt;/code&amp;gt; list of [[API:TomeGetNoteworthyPersonsZoneData|TomeGetNoteworthyPersonsZoneData]].&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
;entryData : &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; – The entry&amp;#039;s data, or nothing if the id is invalid or the entry is still locked.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Entry id.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;zoneId&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Id of the zone the entry belongs to.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; || Entry name.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; || Entry text.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* Check with [[API:TomeIsNoteworthyPersonsEntryUnlocked|TomeIsNoteworthyPersonsEntryUnlocked]] first, as the stock UI does.&lt;br /&gt;
* The error messages carry the name &amp;lt;code&amp;gt;TomeIsNoteworthyPersonsEntryUnlocked&amp;lt;/code&amp;gt;, not this function&amp;#039;s name.&lt;br /&gt;
* The argument check is shared with [[API:TomeGetNoteworthyPersonsZoneData|TomeGetNoteworthyPersonsZoneData]]: if the argument is missing or not a number, the &amp;#039;&amp;#039;Invalid Parameters&amp;#039;&amp;#039; message names that function.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
These are written to the UI log, and the function returns nothing.&lt;br /&gt;
* &amp;lt;code&amp;gt;Error in function call &amp;#039;TomeIsNoteworthyPersonsEntryUnlocked&amp;#039;: %d is not a valid entry id.&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;Error in function call &amp;#039;TomeIsNoteworthyPersonsEntryUnlocked&amp;#039;: You have not yet unlocked entry # %d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
From &amp;lt;code&amp;gt;ea_tomeofknowledge/source/tomewindow_noteworthypersons.lua&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local entryData = TomeGetNoteworthyPersonsEntryData( entryId )&lt;br /&gt;
if( entryData ~= nil ) then&lt;br /&gt;
    name = entryData.name&lt;br /&gt;
    text = entryData.text&lt;br /&gt;
    ...&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:TomeIsNoteworthyPersonsEntryUnlocked|TomeIsNoteworthyPersonsEntryUnlocked]]&lt;br /&gt;
* [[API:TomeGetNoteworthyPersonsZoneData|TomeGetNoteworthyPersonsZoneData]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>