Sha256: 4a34491c72aba7950536878125653c2f5c9cdbdd9a0bcf707e9cc5eadfbd4237

Contents?: true

Size: 765 Bytes

Versions: 1

Compression:

Stored size: 765 Bytes

Contents

respond :drop_on, Query::Children.new(), Query::Reachable.new() do |actor, thing, supporter|
  actor.tell "You can't put #{the thing} on #{the supporter}."
end

respond :drop_on, Query::Children.new(), Query::Reachable.new(Supporter) do |actor, thing, supporter|
  thing.parent = supporter
  thing.is :supported
  actor.tell "You put #{the thing} on #{the supporter}."
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gamefic-0.2.0 lib/gamefic/import/basics/actions/drop-on.rb