<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=Status</id>
	<title>Status - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=Status"/>
	<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Status&amp;action=history"/>
	<updated>2026-09-17T22:30:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=Status&amp;diff=89074&amp;oldid=prev</id>
		<title>Andrew Branscom: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Status&amp;diff=89074&amp;oldid=prev"/>
		<updated>2025-04-03T21:04:09Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:04, 3 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=Status&amp;diff=89073&amp;oldid=prev</id>
		<title>en&gt;Andrew Korson: Created page with &quot;The &#039;&#039;&#039;status&#039;&#039;&#039; command displays the inventory screen.  == Syntax ==  status();  == Remarks ==  The inventory screen is a text mode screen that lists all inventory item...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Status&amp;diff=89073&amp;oldid=prev"/>
		<updated>2019-04-23T23:48:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;#039;&amp;#039;&amp;#039;status&amp;#039;&amp;#039;&amp;#039; command displays the inventory screen.  == Syntax ==  status();  == Remarks ==  The inventory screen is a &lt;a href=&quot;/index.php?title=Text_mode&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Text mode (page does not exist)&quot;&gt;text mode&lt;/a&gt; screen that lists all inventory item...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;status&amp;#039;&amp;#039;&amp;#039; command displays the inventory screen.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
status();&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
&lt;br /&gt;
The inventory screen is a [[text mode]] screen that lists all [[inventory item]]s that are currently in the player&amp;#039;s inventory (meaning they have a [[OBJECT File (AGI)|room number]] value of 255). The items are displayed in two columns, with the left column left-justified and the right column right-justified. The screen includes header text &amp;quot;You are carrying:&amp;quot; centered on the top line. If there are no items in the player&amp;#039;s inventory, &amp;quot;Nothing&amp;quot; is displayed, centered just below the header. The colors for the inventory screen are always black text on a white background; the &amp;#039;&amp;#039;&amp;#039;[[set.text.attribute]]&amp;#039;&amp;#039;&amp;#039; command does not affect the inventory screen.&lt;br /&gt;
&lt;br /&gt;
There are two modes for the inventory screen, depending on the value of [[reserved flag]] [[f13 (inventory selection enabled)]]. If f13 (inventory selection enabled) is reset to FALSE, AGI halts the game while the inventory screen is displayed, until the player presses any key. The game then returns to the [[graphics]] screen and resumes.&lt;br /&gt;
&lt;br /&gt;
If f13 (inventory selection enabled) is set to TRUE, the inventory screen enables the player to select an item. The player can use the cursor keys to highlight an item. Pressing ENTER chooses the item, while pressing ESC cancels the selection. AGI then returns to the [[graphics]] screen and resumes. &lt;br /&gt;
&lt;br /&gt;
[[Reserved variable]] [[v25 (selected inventory item)]] is set to selected item&amp;#039;s index from the [[OBJECT File (AGI)|OBJECT file]]. If ESC was pressed, v25 is set to 255. If there is nothing to select, v25 is set to 0. Note that if v25 is set to the index number of any item in the player&amp;#039;s inventory prior to calling &amp;#039;&amp;#039;&amp;#039;status&amp;#039;&amp;#039;&amp;#039;, that item will be selected by default when the inventory screen is displayed.&lt;br /&gt;
&lt;br /&gt;
== Possible Errors ==&lt;br /&gt;
&lt;br /&gt;
Do not use the &amp;#039;&amp;#039;&amp;#039;status&amp;#039;&amp;#039;&amp;#039; command when the [[text screen]] is active. Because of the way AGI handles color settings, the &amp;#039;&amp;#039;&amp;#039;status&amp;#039;&amp;#039;&amp;#039; command will clear the screen to black (not white) and doesn&amp;#039;t display the header, but the items still show as black text on white background. After the &amp;#039;&amp;#039;&amp;#039;status&amp;#039;&amp;#039;&amp;#039; screen is dismissed, AGI will also go back to the the [[graphics]] screen even if called from the text screen.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;CodeBlockHeader&amp;quot;&amp;gt;Code:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;agi&amp;quot;&amp;gt;&lt;br /&gt;
reset(inv_select_enabled);&lt;br /&gt;
status();  [ just  displays inventory; no selection possible&lt;br /&gt;
...&lt;br /&gt;
set(inv_select_enabled);  [ enable selection&lt;br /&gt;
selectedItem = 0;         [ make sure nothing is pre-selected&lt;br /&gt;
status();&lt;br /&gt;
if(selectedItem !=0 &amp;amp;&amp;amp; selectedItem != 255)&lt;br /&gt;
  { [ if something was selected&lt;br /&gt;
  v90 = selectedItem;&lt;br /&gt;
  v90 += 200; [ item views are offset by 200&lt;br /&gt;
  show.obj.v(v90);&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Technical Information ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| style=&amp;quot;background-color: #efefef&amp;quot; width=&amp;quot;200&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Required Interpreter Version:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| width=&amp;quot;175&amp;quot; | Available in all AGI versions.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #efefef&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Byte-Code Value:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| 124 (0x7C hex)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
[[Inventory Item Commands]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Category:Commands]]&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;Andrew Korson</name></author>
	</entry>
</feed>