Denizen config.yml: Difference between revisions
From Citizens Wiki
Aufdemrand (talk | contribs) No edit summary |
Aufdemrand (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
right_click_and_sneak_info_mode_enabled: true | right_click_and_sneak_info_mode_enabled: true | ||
# Interact delay sets the pace of the 'Player | # Default time in seconds of cooldown set to Denizens when a trigger is triggered. | ||
# | default_click_cooldown_in_seconds: 2.0 | ||
# | default_location_cooldown_in_seconds: 30.0 | ||
default_proximity_cooldown_in_seconds: 15.0 | |||
default_death_cooldown_in_seconds: 0.0 | |||
default_damage_cooldown_in_seconds: 0.5 | |||
default_chat_cooldown_in_seconds: 2.0 | |||
# Denizen by default uses both right and left clicks to activate the click trigger | |||
# if the damage trigger (left click) is disabled. Select false if you would prefer | |||
# to have click triggers activate with the right mouse button only. | |||
disabled_damage_trigger_instead_triggers_click: true | |||
# Interact delay sets the pace of the 'Player Queues' execution, | |||
# which is where commands entries triggered by scripts are stored. | |||
# Recommended setting is 5-15. | |||
interact_delay_in_ticks: 10 | interact_delay_in_ticks: 10 | ||
# Default engage timeout. When NPCs are set to ENGAGE, this is the default timeout | |||
# that they DISENGAGE if not specified. (Default, 5 minutes) | |||
engage_timeout_in_seconds: 150 | |||
# How long should the maximum line length be for multi-line text? | # How long should the maximum line length be for multi-line text? | ||
multi_line_text_maximum_length: 55 | multi_line_text_maximum_length: 55 | ||
# By default, players can talk to Denizens even if there are no | |||
# chat triggers in the script. I believe this is best for RPG-type | |||
# behavior. Change this to true if you would like chat near a | |||
# Denizen to be global if there are no chat triggers for the | |||
# script being triggered. | |||
chat_globally_if_no_chat_triggers: false | |||
# By default, players can talk to Denizens even if there are no | # By default, players can talk to Denizens even if there are no | ||
Line 26: | Line 50: | ||
# triggers, but the player failed to match one. | # triggers, but the player failed to match one. | ||
chat_globally_if_failed_chat_triggers: false | chat_globally_if_failed_chat_triggers: false | ||
# Also.. if the Denizen happens to be un-interactable | |||
# (Engaged, or not cooled-down, for instance), by default | |||
# chat is still targeted to the NPC. You can turn this | |||
# behavior off by changing this config node to true. | |||
chat_globally_if_not_interactable: false | |||
# Should players around the player interacting with the Denizen | # Should players around the player interacting with the Denizen | ||
Line 41: | Line 71: | ||
player_to_npc_whisper_range_in_blocks: 2 | player_to_npc_whisper_range_in_blocks: 2 | ||
npc_to_player_whisper_range_in_blocks: 3 | npc_to_player_whisper_range_in_blocks: 3 | ||
proximity_trigger_range_in_blocks: 3 | |||
location_trigger_range_in_blocks: 1 | |||
# These nodes define how chatting, shouting, etc. is displayed | # These nodes define how chatting, shouting, etc. is displayed | ||
Line 66: | Line 98: | ||
# Default texts that Denizens use when interacting. These | # Default texts that Denizens use when interacting. These | ||
# can also be set per-denizen, which will override the | # can also be set per-denizen, which will override the | ||
# defaults set below. | # defaults set below. See the Wiki for more information. | ||
default_denizen_unavailable_text: "I'm busy at the moment, can't you see?" | |||
default_no_click_trigger_text: "I have nothing else for you right now." | |||
default_no_damage_trigger_text: "Ouch! That hurts!" | |||
default_no_chat_trigger_text: "Sorry, I don't understand." | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Revision as of 18:17, 8 August 2012
Code: Default Denizen config.yml |
{{{2}}} |