emote07.c

lima-1.0b5/lib/domains/std/school/R/emote07.c · 699 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

#include "../school.h";
inherit ROOM;

void setup(){
  set_brief("Emote Tutorial 7");
  set_long(@MILAMBER
targetemote
----------------------------------------------------------------------
This is the other autoemote command.  It creates an emote with four
basic rules.
  Syntax:
    targetemote <emote>
    ie: "targetemote smile"
This would create a smile emote with the following rules:
  "LIV" -> $N $vsmile at $t.  // Living arg.
  "OBJ" -> $N $vsmile at $o.  // Object arg.
  "STR" -> $N $vsmile $o.     // String arg.
  ""    -> $N $vsmile.        // Default
MILAMBER
  );
  set_exits( ([
    "corridor" : R + "corridor06",
    "south" : R + "emote06",
   ]) );
  set_objects( ([
   ]) );
}

Site Stats

Snippets: 1791
Codebases: 571