User Tools

Site Tools


modding:xml:listoptions

Discuss this page on this page's Talk Page.

FIXME Please correct any inaccuracies.

<ListOptions>

From the XML'd elementDocument

<ListOptions Attributes="dataFrom,list,initialItem" />

ListOptions is a child element of <DockScreen>

For actual example of use see a mod like Conduct no-buy.

<DockScreen UNID="&dsExchangeBuy;"
		name= "=(objGetName gSource)"
		type= "itemPicker"
		backgroundID= "&rsItemListScreen;"
		>
	<ListOptions
			dataFrom=	"station"
			list=		"fmtuvrd~was"
		>
	</ListOptions>
	<Panes>
	... etc. ...

Sub elements and attributes

  • dataFrom

One of “station” and “player”.

This denotes where the list items are to be found.

  • list

A string built up from the following elements.

Categories

  * all categories
 a armor
 d device (weapon, shield, drive, etc.)
 f fuel
 l launcher weapon only
 m missile
 r reactor
 s shields
 t miscellaneous
 u useful (armor coating, ROM, etc.)
 v drive
 w weapon (including launchers)

Condition

 I is installed
 D is damaged
 N is not damaged
 S is usable
 U is not installed

A ~ before a letter means not. e.g. w~l = Weapons, but not launchers.

After a string of the codes given above you can also include a number of modifiers that the item must (or must not) have.

“U* +info; -id”

Include all categories of items, as long as they are uninstalled. They must have the modifier 'info' but not have the modifier 'id'.

listoptions).

Go back to list of tags

modding/xml/listoptions.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1