Sha256: 737b01bbcdaeee0d24529495a0ab1f78b54d1e9680ad0c0435d3f8a09b5ceb17
Contents?: true
Size: 556 Bytes
Versions: 8
Compression:
Stored size: 556 Bytes
Contents
respond :close, Query::Text.new() do |actor, string| actor.tell "#{you.pronoun.Subj} #{you.contract you.verb.do + ' not'} see any \"#{string}\" here." end respond :close, Query::Reachable.new() do |actor, thing| actor.tell "#{you.pronoun.Subj} #{you.contract you.verb.can + ' not'} close #{the thing}." end respond :close, Query::Reachable.new(Gamefic::Openable) do |actor, container| if !container.open? actor.tell "It's already closed." else actor.tell "#{you.pronoun.Subj} close #{the container}." container.open = false end end
Version data entries
8 entries across 8 versions & 1 rubygems