Sha256: ea37e61bbd035a12a9b0fcb37a6050666ee3dc9d0b2228fcf4ef26a269a2a322
Contents?: true
Size: 1.04 KB
Versions: 8
Compression:
Stored size: 1.04 KB
Contents
respond :talk do |actor| actor.tell "#{you.pronoun.Subj} #{you.verb.talk} to #{you.pronoun.reflex}." end respond :talk, Query::Self.new do |actor, yourself| actor.perform :talk end respond :talk, Query::Reachable.new do |actor, thing| actor.tell "Nothing happens." end respond :talk, Query::Reachable.new(Character) do |actor, character| if actor == character actor.perform :talk else actor.tell "#{The character} has nothing to say." end end respond :talk, Query::Reachable.new(Character), Query::Text.new do |actor, character, text| actor.perform :talk, character end xlate "talk to :character", "talk :character" xlate "talk to :character about :subject", "talk :character :subject" xlate "ask :character :subject", "talk :character :subject" xlate "ask :character about :subject", "talk :character :subject" xlate "tell :character :subject", "talk :character :subject" xlate "tell :character about :subject", "talk :character :subject" xlate "ask :character for :subject", "talk :character :subject"
Version data entries
8 entries across 8 versions & 1 rubygems