Guide NPC Format

SwissArmyKnife

Alamo Radioman
Staff member
Joined
Jan 8, 2018
This is the basic format for NPCs
Rich (BB code):
- id: UniqueID
  name: "NPC Name"
  description: "Description of the NPC in the room"
  keywords: [Keywords separate by comma]
  script: 'Script name (advanced)'
  behaviors:
    ranvier-sentient: true (enables DialogFlow connection, proposed feature)
    combat: Boolean (true/false, enables combat for the NPC)
    ranvier-aggro:
      delay: Seconds before combat is initiated
      towards:
        players: Boolean (true/false, attack players or not)
        npcs: [Enable targeting other NPCs, separated by commas]
Rich (BB code):
- id: samuel
  name: "Samuel"
  description: "With an unamused look on his face, Samuel stands guard at the entrance."
  keywords: [guard, sam, samuel, man]
  script: '3-samuel'
  behaviors:
    ranvier-sentient: true
    combat: true
    ranvier-aggro:
      delay: 5
      towards:
        players: false
        npcs: [zombies:maleravezombie, zombies:femaleravezombie, zombies:malecrawlzom]
 
Top