Difference between revisions of "NPC Services"

From OpenKore Wiki
Jump to navigation Jump to search
m (Draft)
 
m (4epT moved page nPC Services to NPC Services over a redirect without leaving a redirect)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 21:31, 27 April 2021


Service is a some action which may be performed with different NPCs.

Storaging, buying and selling should use the nearest available NPC when NPC isn't configured.

Buy

Item lists with prices are needed.

There are standard buying lists, but some NPCs sell items using custom dialogs.

File Format

To be compatible, we need to store detailed NPC descriptions not in npcs.txt.

Service data:

  • Service name (storage, save, cartrent, sell, buy)
  • Service fee
  • Custom data (item lists and prices)
  • NPC location
  • NPC talk sequence

Other Required Features

  • Select-response-by-text, select-response-by-regexp in NPC talk sequences