Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > get_social_string

API Function: get_social_string

Summary:


Defined In LPC Object:
/usr/common/sys/sould.c

Prototype:
string get_social_string(object user, object body, object target_body, string verb)

Can Be Called By:
System, Common, Game

Description:

Returns a string for the given verb which is appropriate, based on the user, body and target supplied. This allows localization, and different strings for different points of view.

Return Value:

The string to display, or nil if the query isn't allowed

Errors:
A misconfigured SoulD can cause errors.

See Also:
all_socials , is_valid