Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > new_simple_english_phrase

API Function: new_simple_english_phrase

Summary:
convert an English string to a Phantasmal phrase structure

Defined In LPC Object:
/usr/System/sys/phrased.c

Prototype:
object new_simple_english_phrase(string english_string)

Can Be Called By:
Anybody

Description:

Returns a Phantasmal phrase structure. If the phrase is queried in English, it returns the given string. If queried in other locales, it is undefined, but should be as appropriate as possible. Don't expect it to do actual translation for you.

Return Value:

A new Phrase object. This may be a Lightweight Object (LWO) rather than a full DGD object.

Errors:
Usually none.

See Also:
set_content_by_lang