scripts/standard/actions/talk.plot.rb in gamefic-sdk-1.5.0 vs scripts/standard/actions/talk.plot.rb in gamefic-sdk-1.6.0
- old
+ new
@@ -1,25 +1,25 @@
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|
+respond :talk, Use.itself do |actor, yourself|
actor.perform :talk
end
-respond :talk, Query::Reachable.new do |actor, thing|
+respond :talk, Use.family do |actor, thing|
actor.tell "Nothing happens."
end
-respond :talk, Query::Reachable.new(Character) do |actor, character|
+respond :talk, Use.family(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|
+respond :talk, Use.family(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"