Denizen config.yml

From Citizens Wiki

Revision as of 03:35, 14 June 2012 by Aufdemrand (talk | contribs) (Created page with "<code> # Interact delay sets the pace of the 'Player Queue' and 'Denizen Queue' # execution, which is where commands triggered by scripts are stored. # Recommend 10-20. inter...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

  1. Interact delay sets the pace of the 'Player Queue' and 'Denizen Queue'
  2. execution, which is where commands triggered by scripts are stored.
  3. Recommend 10-20.

interact_delay_in_ticks: 10

  1. How long should the maximum line length be for multi-line text?

multi_line_text_maximum_length: 55

  1. By default, players can talk to Denizens even if there are no
  2. chat triggers in the script. I believe this is best for RPG-type
  3. behavior. Change this to true if you would like chat near a
  4. Denizen to be global if there are no chat triggers for the
  5. script being triggered.

chat_globally_if_no_chat_triggers: false

  1. Furthermore, if there are chat triggers available, and the Player
  2. doesn't match one, should the player still talk and recieve a
  3. response from the Denizen, or should he just chat globally and
  4. ignore the Denizen. Change this to true if you would like
  5. chat near a Denizen to be global if there are available chat
  6. triggers, but the player failed to match one.

chat_globally_if_failed_chat_triggers: false

  1. Should players around the player interacting with the Denizen
  2. hear the conversation?

bystanders_hear_player_to_npc_chat: true bystanders_hear_npc_to_player_chat: true

  1. This set of nodes defines ranges for different types of
  2. chat/interaction/etc.

player_to_npc_chat_range_in_blocks: 2 npc_to_player_chat_range_in_blocks: 7 npc_emote_range_in_blocks: 7 player_to_npc_shout_range_in_blocks: 15 npc_to_player_shout_range_in_blocks: 15 player_to_npc_whisper_range_in_blocks: 2 npc_to_player_whisper_range_in_blocks: 3

  1. These nodes define how chatting, shouting, etc. is displayed
  2. to players in the game. <PLAYER>, <NPC>, and <TEXT> are all
  3. replaceable variables. Remember to use " around your string
  4. if your text contains a single apostrophe.

player_chat_to_npc: "You say to <NPC>, '<TEXT>'" player_chat_to_npc_bystander: "<PLAYER> says to <NPC>, '<TEXT>'" npc_chat_to_bystanders: "<NPC> says, '<TEXT>'" npc_chat_to_player: "<NPC> says to you, '<TEXT>'" npc_chat_to_player_bystander: "<NPC> says to <PLAYER>, '<TEXT>'"

player_whisper_to_npc: "You whisper to <NPC>, '<TEXT>'" player_whisper_to_npc_bystander: "<PLAYER> whispers something to <NPC>." npc_whisper_to_bystanders: "<NPC> whispers, '<TEXT>'" npc_whisper_to_player: "<NPC> whispers to you, '<TEXT>'" npc_whisper_to_player_bystander: "<NPC> whispers something to <PLAYER>."

player_shout_to_bystanders: "You shout, '<TEXT>'" player_shout_to_bystanders_bystander: "<PLAYER> shouts, '<TEXT>'" npc_shout_to_bystanders: "<NPC> shouts, '<TEXT>'" npc_shout_to_player: "<NPC> shouts at you, '<TEXT>'" npc_shout_to_player_bystander: "<NPC> shouts at <PLAYER>, '<TEXT>'"

  1. Default texts that Denizens use when interacting. These
  2. can also be set per-denizen, which will override the
  3. defaults set below.

default_no_requirements_met_text: Sorry, I have nothing else for you right now.