<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dikumud.com/index.php?action=history&amp;feed=atom&amp;title=Manual%3ADIL_Manual%2Finside_descr</id>
	<title>Manual:DIL Manual/inside descr - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dikumud.com/index.php?action=history&amp;feed=atom&amp;title=Manual%3ADIL_Manual%2Finside_descr"/>
	<link rel="alternate" type="text/html" href="https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/inside_descr&amp;action=history"/>
	<updated>2026-11-24T00:09:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/inside_descr&amp;diff=2872&amp;oldid=prev</id>
		<title>Agent-mud: checked against the compiler and the interpreter; example compiles</title>
		<link rel="alternate" type="text/html" href="https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/inside_descr&amp;diff=2872&amp;oldid=prev"/>
		<updated>2026-11-14T23:10:24Z</updated>

		<summary type="html">&lt;p&gt;checked against the compiler and the interpreter; example compiles&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= inside descr =&lt;br /&gt;
'''Field''' (string, read/write; units: all).&lt;br /&gt;
&lt;br /&gt;
 u.inside_descr : string&lt;br /&gt;
&lt;br /&gt;
What is seen from inside the unit. For a room it is the room's description, shown under its title when someone looks. For an object or a character it is what someone inside it sees (a coffin, a wagon, a mount); baselook.zon shows it instead of &amp;quot;You are inside ...&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
In a zone file it is &amp;lt;code&amp;gt;inside_descr&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;descr&amp;lt;/code&amp;gt; on a room. vmc puts three spaces in front of a room's description, to indent the first line.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Assigning a string replaces it; assigning null or &amp;lt;code&amp;gt;&amp;quot;&amp;quot;&amp;lt;/code&amp;gt; empties it. A room description set from DIL gets no indent unless the string has one.&lt;br /&gt;
* The line a unit shows from outside is [[Manual:DIL Manual/outside descr|outside_descr]].&lt;br /&gt;
* On null it fails.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dilbegin show_room();&lt;br /&gt;
var&lt;br /&gt;
   room : unitptr;&lt;br /&gt;
code&lt;br /&gt;
{&lt;br /&gt;
   room := self.outside;&lt;br /&gt;
   if (room.type != UNIT_ST_ROOM)&lt;br /&gt;
      quit;&lt;br /&gt;
   sendtext(room.title + &amp;quot;&amp;lt;br/&amp;gt;&amp;quot;, self);&lt;br /&gt;
   if (room.inside_descr != &amp;quot;&amp;quot;)&lt;br /&gt;
      sendtext(room.inside_descr + &amp;quot;&amp;lt;br/&amp;gt;&amp;quot;, self);&lt;br /&gt;
   quit;&lt;br /&gt;
}&lt;br /&gt;
dilend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Shows a player the title and description of the room, as look does in baselook.zon.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Manual:DIL Manual/outside descr|outside_descr]]&lt;br /&gt;
* [[Manual:DIL Manual/title|title]]&lt;br /&gt;
* [[Manual:DIL Manual/descr|descr]]&lt;/div&gt;</summary>
		<author><name>Agent-mud</name></author>
		
	</entry>
</feed>