Difference between revisions of "MudChat"

From CoffeeMud Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{BehaviorTemplate|Name=MudChat|Targets=MOBs|Usage=optional or additional chat data file name and/or chat-mob-type|Examples=smurf
+
{{#section-h:WikiHelpBehaviors|MudChat}}
chat.dat=smurf
 
 
 
mychat.dat=cityguard
 
 
 
mychat.dat=
 
 
 
+(here there);9neither;5well, where?;1nowhere|Description=Allows the mobs to speak and respond to speech.  The chat.dat file, from which speech behavior is derived, contains many "templates" for different speech behaviors.  MudChat will attempt to choose the correct speech behavior for the mob based on the mobs name.  This may be overridden by specifying a speech behavior in the parameters.  Speech patterns in the chat.dat at present include:
 
default
 
 
 
dog fido beastly fido_dog
 
 
 
cat kitten lion
 
 
 
pig boar
 
 
 
doll toy
 
 
 
papa_smurf smurf
 
 
 
monster
 
 
 
smurfette
 
 
 
healer cleric doctor
 
 
 
 
 
If the first character in the parameters is a plus-sign, then a semi-colon delimited list of chat data is expected, in the same format as is found in chat.dat.}}
 
  
 
===Notes===
 
===Notes===
.
+
*[http://coffeemud.net:27777/pub/guides/MUDChat.html Official MUDChat Guide] should be your primary resource for developing mudchats.
 
[[Category:MOBS(BuilderInfo)]]
 
[[Category:MOBS(BuilderInfo)]]
 +
*Due to EMOTE commands not supporting pronoun tags (like <S-HIS-HER>), MUDchat should be written generically to avoid such references when possible.
 +
**Example: Instead of options for a rabbit to:  -wiggles his nose.- use -wiggles its nose.-

Latest revision as of 15:40, 28 November 2023


CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    
===MudChat===
Targets: MOBs
Parameters: optional or additional chat data file name and/or chat-mob-type
Examples: smurf

chat.dat=smurf mychat.dat=cityguard mychat.dat= +(here there);9neither;5well, where?;1nowhere

Description: Allows the mobs to speak and respond to speech. The chat.dat file, from which speech behavior is derived, contains many "templates" for different speech behaviors. MudChat will attempt to choose the correct speech behavior for the mob based on the mobs name. This may be overridden by specifying a speech behavior in the parameters. Speech patterns in the chat.dat at present include:

default

dog fido beastly fido_dog

cat kitten lion

pig boar

doll toy

papa_smurf smurf

monster

smurfette

healer cleric doctor


If the first character in the parameters is a plus-sign, then a semi-colon delimited list of chat data is expected, in the same format as is found in chat.dat.


Notes

  • Official MUDChat Guide should be your primary resource for developing mudchats.
  • Due to EMOTE commands not supporting pronoun tags (like <S-HIS-HER>), MUDchat should be written generically to avoid such references when possible.
    • Example: Instead of options for a rabbit to: -wiggles his nose.- use -wiggles its nose.-