## Specification of items

The following code demonstrates how to specify items that are based on 3d model files.

`01 <?xml version="1.0" encoding="ISO-8859-1"?> 02 03 <room scriptid="room1" scriptfile="room1.bsh"> 04 <props/> 05 <items> 06 <item scriptid="pen" id="pen" type="ms3dascii" smooth="false" volume="box" shadow="false"> 07 <name>Pen</name> 08 <image>./images/items/stift.png</image> 09 <pickable>true</pickable> 10 <file>./models/ms3d/stift/stift.txt</file> 11 <texture unit="0" mipmap="true" rotate="false" flip="false">./models/ms3d/stift/texture.jpg</texture> 12 <position x="0.0" y="0.0" z="0.0"/> 13 <rotation x="0.0" y="0.0" z="0.0"/> 14 <scale x="1.0" y="1.0" z="1.0"/> 15 <animation name="idle" start="1" end="1" timeperframe="100"/> 16 </item> 17 </items> 18 </room>`
Java2html