Non-living physical objects belong to the class thing
,
e.g., weapons, bags, money, food, etc.
#include <class.h> inherit THING; void create() { thing::create(); // initalizations from class object: set_name("name"); // required set_alias(({"alias1", ..., "aliasN"})); // optional // initalizations from ability containable: set_mass(mass); // required (has alternative) set_bulk(bulk); // required (has alternative) // initializations from ability emitter: set_short("short description"); // required (has alternative) set_long("long description"); // required (has alternative) }
void set_short(mixed s)
set_req_handler("/visual/short", s)
.
See message types specific to classes
for further explanation.
string query_short()
request_msg("/visual/short")
.
void set_long(mixed s)
set_req_handler("/visual/long", s)
.
See message types specific to classes
for further explanation.
string query_long()
request_msg("/visual/long")
.