leo.scr

lima-1.0b5/lib/domains/std/2.4.5/obj/leo.scr · 747 B

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

Download the archive   « Back to the archive contents

# Do not remove the headers from this file! see /USAGE for more info.

is=living,actor
proper_name=Leo the Archwizard
in_room_desc=Leo the Archwizard
long=Leo the Archwizard:
id=leo,archwizard

greet:
  $who = call who "query_name"
  !say Welcome, $who.
end

nocastle:
  !say I no longer give out castles.

trigger[*hello*]:
  lcall "greet"

trigger[*hi*]:
  lcall "greet"

trigger[*Hi*]:
  lcall "greet"

trigger[*give*castle*]:
  lcall "nocastle"

trigger[*want*castle*]:
  lcall "nocastle"

periodic[5 to 100]:
  !smile
---
mixed receive_object(object ob)
{
  if((!ob) || (!ob->id("orc slayer")))
    return ::receive_object(ob);
  respond("Leo says: Well done. You have fullfilled this quest.\n");
  call_out("destruct", 0, ob);
  return 1;
}

Site Stats

Snippets: 1791
Codebases: 571