Sha256: ef14c664190c209969737e43700ead3cd9d12a3dfd38d2efc23cfa04a2465056

Contents?: true

Size: 528 Bytes

Versions: 4

Compression:

Stored size: 528 Bytes

Contents

respond :drop, Query::Visible.new() do |actor, thing|
  actor.tell "#{you.contract you.pronoun.Subj + ' ' + you.verb.be} not carrying #{the thing}."
end

respond :drop, Query::Children.new() do |actor, thing|
  if thing.sticky?
    actor.tell thing.sticky_message || "#{you.pronoun.Subj} #{you.verb.need} to keep #{the thing} for now."
  else
    thing.parent = actor.parent
    actor.tell "#{you.pronoun.Subj} drop #{the thing}."
  end
end

interpret "put down :thing", "drop :thing"
interpret "put :thing down", "drop :thing"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gamefic-sdk-1.5.0 scripts/standard/actions/drop.plot.rb
gamefic-sdk-1.4.1 scripts/standard/actions/drop.plot.rb
gamefic-sdk-1.4.0 scripts/standard/actions/drop.plot.rb
gamefic-sdk-1.3.1 scripts/standard/actions/drop.plot.rb