Latest Neocron News and Information

  • New test server patch #550 has been released to Vedeena

Difference between revisions of "Legacy THNapi:Item list commands"

From Neocron Wiki
Jump to: navigation, search
m (Category....)
Line 45: Line 45:
  
  
[[Category:THN HTML API commands]]
+
[[Category:THN HTML API commands|Item list commands]]

Revision as of 00:27, 26 February 2008

Item list commands

Show list of items

Sometimes you want to show items in a list, like the Monk WoC PA1 and the Normal Monk PA3 to show it has better resists.

Example

Example: <itemdb:show_list items="2228,2227">

<itemdb:show_list items="2228,2227"/>

Show all items from a group

Typing item ID's is a pain, and often you want to show a complete list of items. Lets look at all the MNPU parts.

Example

Example: <itemdb:show_group_list="/parts/fsm"/>

<itemdb:show_group_list group="/parts/fsm"/>

Show all items from a view

The THN has quite a few special lists, which I call views. The views pick up specific data, such as Epic items, woc items, or provide access to special functions.

Anyway here is a list of Mr Jone. items

Example

Example: <itemdb:show_view viewname="mr-jones"/>

<itemdb:show_view viewname="mr-jones"/>

List of views

Not all views on the THN Item DB are available. Some are reserved for internal use, and some views need some extra parameters, which is not supported in this current version. Here are the current available views.

  • rare - All Rare Items
  • mr-jones - All Mr Jones Items
  • recycle - All Recycle Items
  • epic - All Epic Items
  • woc - All Woc Items
  • ppu - PPU items