Latest Neocron News and Information

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

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

From Neocron Wiki
Jump to: navigation, search
(New page: = 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 === ...)
 
Line 43: Line 43:
 
* woc - All Woc Items
 
* woc - All Woc Items
 
* ppu - PPU items
 
* ppu - PPU items
 +
 +
 +
[[Category:THN HTML API commands]]

Revision as of 21:01, 25 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