code/__DEFINES/verb.dm 
| _GAME_VERB | Defines a game verb with an associated /datum/verb_metadata. |
|---|---|
| _GAME_VERB_NATIVE | For where you still need native args, ie, when called directly from the skin or some BYOND function |
| VERB_ARG | Self-registers argument metadata at world init and extracts value from structured_args at runtime. For primitive args: VERB_ARG(count, VERB_ARG_TYPE_NUM, VERB_ARG_SOURCE_INPUT) For typed args: VERB_ARG_TYPED(target, VERB_ARG_TYPE_MOB, VERB_ARG_SOURCE_WORLD, /mob/living) |
| VERB_ARG_LIST | Picks from a fixed list of options. Use with VERB_ARG_LIST. |
Define Details
VERB_ARG 
Self-registers argument metadata at world init and extracts value from structured_args at runtime. For primitive args: VERB_ARG(count, VERB_ARG_TYPE_NUM, VERB_ARG_SOURCE_INPUT) For typed args: VERB_ARG_TYPED(target, VERB_ARG_TYPE_MOB, VERB_ARG_SOURCE_WORLD, /mob/living)
VERB_ARG_LIST 
Picks from a fixed list of options. Use with VERB_ARG_LIST.
_GAME_VERB 
Defines a game verb with an associated /datum/verb_metadata.
Usage: GAME_VERB(/client, ooc, "OOC", "Send a message in OOC.", "OOC") VERB_ARG(msg, VERB_ARG_TYPE_TEXT, VERB_ARG_SOURCE_INPUT) // verb body using msg
_GAME_VERB_NATIVE 
For where you still need native args, ie, when called directly from the skin or some BYOND function