add_alias.o

final_realms_fluffos_v1/lib/doc/creatornr/add_alias.o · 900 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

#obj/handlers/nroff.c
nroffed_file ({0,"
int add_alias(string str)
 
        Adds an alias to the object.  The name, the alias and the adjectives
go together to allow for referenceing of the object.
 
Eg
 
void setup() {
  set_name(\"frog\");
  add_alias(\"toad\");
  add_adjective(\"big\");
  add_adjective(\"blue\");
  set_main_plural(\"big blue frogs\");
  set_short(\"big blue frog\");
  set_long(\"A big blue frog stareing intetly at you.\\n\");
  add_plural(\"frogs\");
  add_plural(\"toads\");
}
 
This object could be looked at by typeing
> look at frog
> look at big frog
> look at blue toad
> look at big blue frog
 
The plurals which have been set allow you to do things like
 
> look at frogs
> look at blue frogs
 
etc.
 
See also
    set_name, query_name, add_adjective, add_plural, set_main_plural,
    remove_alias
",})
nroffed_file_name "/doc/lfun/add_alias"
modified_time 827816245

Site Stats

Snippets: 1791
Codebases: 571