Sha256: eeb9fac6bc379916ac25a3b24310a9b6de0edfbf64fd1a977f4f72f16f916421

Contents?: true

Size: 571 Bytes

Versions: 1

Compression:

Stored size: 571 Bytes

Contents

respond :drop, Use.family() do |actor, thing|
  if thing.parent != actor
    actor.tell "#{you.contract you.pronoun.Subj + ' ' + you.verb.be} not carrying #{the thing}."
  else
    actor.proceed
  end
end

respond :drop, Use.children 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

1 entries across 1 versions & 1 rubygems

Version Path
gamefic-sdk-1.7.0 scripts/standard/actions/drop.plot.rb