package
0.0.0-20250103183519-5d391d309e22
Repository: https://github.com/volte6/gomud.git
Documentation: pkg.go.dev

# README

mobcommands

The mobcommands package defines a function type and contains all of the commands a user can enter.

type MobCommand func(rest string, mob *mobs.Mob, room *rooms.Room) (bool, error)

Note: See usercommands/README.md

Differences:

  • mobCommand instead of userCommands for registering commands
  • mobCommand entries do not specify AdminOnly

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Global chat room.
Should check adjacent rooms for mobs and call them into the room to help if of the same group Format should be: callforhelp blows his horn "blows his horn" will be emoted to the room.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Expected format is: givequest 1-start or givequest 1-start Say has anyone seen my locket? The second message will only be executed if the quest is successfully given.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is a no-op, mob does nothing.
Mob portaling is different than player portaling.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Type aliases

Signature of user command.