scripts/standard/actions/drop.plot.rb in gamefic-sdk-1.3.0 vs scripts/standard/actions/drop.plot.rb in gamefic-sdk-1.3.1

- old
+ new

@@ -1,11 +1,15 @@ 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| - thing.parent = actor.parent - actor.tell "#{you.pronoun.Subj} drop #{the 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"