Sha256: 2d2d11ad19be2605b0a98b62047c266ef9e00fbfd7da7d6602b9939fd0e069b2

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 Bytes

Contents

respond :enter, Query::Siblings.new(Supporter, :enterable) do |actor, supporter|
  actor.parent = supporter
  actor.tell "You get on #{the supporter}."
end
respond :enter, Query::Siblings.new(Container, :enterable) do |actor, container|
  actor.parent = container
  actor.tell "You get in #{the container}."
end
respond :enter, Query::Siblings.new(Thing) do |actor, thing|
  actor.tell "#{The thing} can't accommodate you."
end
xlate "sit :thing", :enter, :thing
xlate "sit on :thing", :enter, :thing
xlate "get on :thing", :enter, :thing
xlate "get in :thing", :enter, :thing
xlate "stand on :thing", :enter, :thing

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gamefic-0.2.0 lib/gamefic/import/basics/actions/enter.rb