Crossfire Server, Branch 1.12  R12190
Dialog system

The dialog system used by NPCs and magic ear works in the following way:

The core dialog is in communicate().

When a player talks, there are two cases:

This enables special things like 'Player asks: What is this?'.

The following tags can be used in the obj::msg field:

Note that value can't contain spaces.

Todo:
  • update dialog_information when msg changes.
  • have a real regexp parser