Sha256: 31cbcee634e8f805e11538f6f68a92277af04c0b1ab5129cdc83f0742a7711cd

Contents?: true

Size: 1.5 KB

Versions: 4

Compression:

Stored size: 1.5 KB

Contents

respond :place, Use.children, Use.reachable do |actor, thing, supporter|
  actor.tell "#{you.pronoun.Subj} #{you.contract(you.verb.can + ' not')} put #{the thing} on #{the supporter}."
end

respond :place, Use.visible, Use.reachable(Supporter) do |actor, thing, supporter|
  if thing.parent != actor
    actor.perform :take, thing
  end
  if thing.parent == actor
    actor.perform :place, thing
  end
end

respond :place, Use.children, Use.reachable(Supporter) do |actor, thing, supporter|
  thing.parent = supporter
  actor.tell "#{you.pronoun.Subj} #{you.verb.put} #{the thing} on #{the supporter}."
end

respond :place, Use.visible, Use.text do |actor, thing, supporter|
  actor.tell "#{you.pronoun.Subj} #{you.contract(you.verb.do + ' not')} see anything called \"#{supporter}\" here."
end

respond :place, Use.text, Use.visible do |actor, thing, supporter|
  actor.tell "#{you.pronoun.Subj} #{you.contract(you.verb.do + ' not')} see anything called \"#{thing}\" here."
end

respond :place, Use.text, Use.text do |actor, thing, supporter|
  actor.tell "I don't know what you mean by \"#{thing}\" or \"#{supporter}.\""
end

xlate "put :thing on :supporter", "place :thing :supporter"
xlate "put :thing down on :supporter", "place :thing :supporter"
xlate "set :thing on :supporter", "place :thing :supporter"
xlate "set :thing down on :supporter", "place :thing :supporter"
xlate "drop :thing on :supporter", "place :thing :supporter"
xlate "place :thing on :supporter", "place :thing :supporter"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gamefic-sdk-1.3.0 scripts/standard/actions/place.plot.rb
gamefic-sdk-1.2.0 scripts/standard/actions/place.plot.rb
gamefic-sdk-1.1.0 scripts/standard/actions/place.plot.rb
gamefic-sdk-1.0.1 scripts/standard/actions/place.plot.rb