Discuss this page on this page's Talk Page.

FIXME Please correct any inaccuracies.

<Lookup>

From the XML'd elementDocument

<Lookup Attributes="chance,count,table" />

Lookup is a child element of <Table> or of <Group> (itself a child element of <Table>).

For actual example of use you can see Transcendence.xml (one pasted below) or one of a large number of mods.

… skip …

        <Group chance="15">
            <Lookup count="1d4" table="&trMiscItems1;"/>
            <Lookup count="1" table="&trUsefulItems1;"/>
        </Group>
        <Lookup chance="10" count="1d6" table="&trMiscItems1;"/>
        <Lookup chance="5" count="1d6" table="&trMiscItems2;"/>
    </Table>
</ItemTable>

Sub elements and attributes

A list of the item lookup tables defined in Transcendence.xml can be found easily by searching on the string '<ItemTable UNID=“&' (but I have also pasted it into the Talk Page)

Go back to list of tags