tunnel9.scr

lima-1.0b5/lib/domains/std/2.4.5/mine/tunnel9.scr · 907 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=room
light=1
exits=
  west:tunnel10.scr
  east:tunnel14.scr
end
brief=Hole in ceiling
long=There is a big hole in the ceiling.

#undef EXTRA_INIT
#define EXTRA_INIT\
#    add_action("go_up"); add_verb("up");

#undef EXTRA_LONG
#define EXTRA_LONG\
#    if (call_other("room/mine/tunnel3", "query_rope"))\
#	write("There is a rope hanging down through the hole.\n");

#go_up() 
#{
#    if (!call_other("room/mine/tunnel3","query_rope")) {
#        write("You can't go stright up with some kind of support.\n");
#	return 1;
#    }
#    call_other(this_player(), "move_player", "up#room/mine/tunnel8");
#    return 1;
#}

#tie(str)
#{
#    if (str != "ring" && str != "rings")
#        return 0;
#    rope = 1;
#    return 1;
#}

#id(str) {
#    return str == "ring" || str == "rings";
#}

#untie(str) {
#    rope = 0;
#    return 1;
#}

Site Stats

Snippets: 1791
Codebases: 571