mirror of
https://github.com/evennia/evennia.git
synced 2026-04-01 05:27:17 +02:00
Updated HTML docs.
This commit is contained in:
parent
59e50f3fa5
commit
06bc3c8bcd
663 changed files with 2 additions and 61705 deletions
|
|
@ -1,27 +0,0 @@
|
|||
# Talkative NPC example
|
||||
|
||||
Contribution by Griatch 2011. Updated by grungies1138, 2016
|
||||
|
||||
This is an example of a static NPC object capable of holding a simple menu-driven
|
||||
conversation. Suitable for example as a quest giver or merchant.
|
||||
|
||||
## Installation
|
||||
|
||||
Create the NPC by creating an object of typeclass `contrib.tutorials.talking_npc.TalkingNPC`,
|
||||
For example:
|
||||
|
||||
create/drop John : contrib.tutorials.talking_npc.TalkingNPC
|
||||
|
||||
Use `talk` in the same room as the NPC to start a conversation.
|
||||
|
||||
If there are many talkative npcs in the same room you will get to choose which
|
||||
one's talk command to call (Evennia handles this automatically).
|
||||
|
||||
This use of EvMenu is very simplistic; See EvMenu for a lot more complex
|
||||
possibilities.
|
||||
|
||||
|
||||
----
|
||||
|
||||
<small>This document page is generated from `evennia/contrib/tutorials/talking_npc/README.md`. Changes to this
|
||||
file will be overwritten, so edit that file rather than this one.</small>
|
||||
Loading…
Add table
Add a link
Reference in a new issue