Sha256: 9595ef1ee2e3a52b574f2366227038dbe711791644f459edabbc45cb71c6e4f2
Contents?: true
Size: 909 Bytes
Versions: 1
Compression:
Stored size: 909 Bytes
Contents
# @gamefic.script standard/give respond :give, Use.available, Query::Children.new do |actor, character, gift| actor.tell "Nothing happens." end respond :give, Use.available(Character), Use.available do |actor, character, gift| if gift.sticky? actor.tell gift.sticky_message || "#{you.pronoun.Subj} #{you.verb.need} to keep #{the gift} for now." else actor.tell "#{The character} doesn't want #{the gift}." end end respond :give, Use.available(Character), Use.available do |actor, character, gift| if gift.parent == actor actor.proceed else actor.tell "#{you.pronoun.Subj} #{you.contract(you.verb.do + ' not')} have #{the gift}." end end respond :give, Use.text, Use.available do |actor, character, gift| actor.tell "#{you.pronoun.Subj} #{you.contract(you.verb.do + ' not')} see any \"#{character}\" here." end interpret "give :gift to :character", "give :character :gift"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gamefic-sdk-1.7.0 | scripts/standard/give.plot.rb |