elevator_button.scr

lima-1.0b5/lib/domains/std/2.4.5/obj/elevator_button.scr · 370 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=object
variables=dest
flag=attached
primary_adj=elevator
primary_id=button

setup[string d]:
  lpc
    _dest = d;
    add_adj(d);
  end

do_press:
  call container "handle_press" $dest
  ok
end

direct_press_obj:
  ok
end

---
string long() {
  return "The button is marked '" + _dest + "'\n";
}

Site Stats

Snippets: 1791
Codebases: 571