Sha256: 684a8677e624b87c5bb84e27fac637f980ef15c59b5b1ad73bf17a2d9f60d31d
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
respond :look_in_at, Query::Text.new(), Query::Text.new() do |actor, container, thing| actor.tell "You don't see any '#{container}' here." end respond :look_in_at, Query::Reachable.new(), Query::Text.new() do |actor, container, thing| actor.tell "You don't see any '#{thing}' in #{the container}." end respond :look_in_at, Query::Reachable.new(), Query::Subquery.new() do |actor, container, thing| if thing.is?(:supported) or thing.is?(:attached) or ( thing.is?(:contained) and (container.is?(:open) or container.is?(:transparent)) ) actor.perform "look #{thing}" elsif container.is?(:closed) actor.tell "#{The container} is closed." else passthru end end xlate "look in :container at :thing", :look_in_at, :container, :thing xlate "l in :container at :thing", :look_in_at, :container, :thing xlate "look :thing in :container", :look_in_at, :container, :thing xlate "look at :thing in :container", :look_in_at, :container, :thing xlate "l :thing in :container", :look_in_at, :container, :thing xlate "examine :thing in :container", :look_in_at, :container, :thing xlate "exam :thing in :container", :look_in_at, :container, :thing xlate "x :thing in :container", :look_in_at, :container, :thing
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gamefic-0.2.0 | lib/gamefic/import/basics/actions/look-in-at.rb |