Sha256: 29e108a469fb8076e9bdc73e27e7937f0cf36042e72bf9655330aef9757da043

Contents?: true

Size: 650 Bytes

Versions: 9

Compression:

Stored size: 650 Bytes

Contents

respond :what, Query::Text.new do |actor, question|
  actor.tell "It looks like you're asking a question. Try giving a command instead. Use HELP for more information."
end

respond :what, Query::Reachable.new do |actor, thing|
  actor.tell "It looks like you want information about #{the thing}. Try looking at it."
end

xlate "where :question", "what :question"
xlate "when :question", "what :question"
xlate "why :question", "what :question"
xlate "who :question", "what :question"

xlate "what is :thing", "look :thing"
xlate "what's :thing", "look :thing"
xlate "who is :thing", "look :thing"
xlate "who's :thing", "look :thing"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gamefic-sdk-1.6.0 scripts/questions.plot.rb
gamefic-sdk-1.5.0 scripts/questions.plot.rb
gamefic-sdk-1.4.1 scripts/questions.plot.rb
gamefic-sdk-1.4.0 scripts/questions.plot.rb
gamefic-sdk-1.3.1 scripts/questions.plot.rb
gamefic-sdk-1.3.0 scripts/questions.plot.rb
gamefic-sdk-1.2.0 scripts/questions.plot.rb
gamefic-sdk-1.1.0 scripts/questions.plot.rb
gamefic-sdk-1.0.1 scripts/questions.plot.rb