Sha256: 99c507cfd99d3fb40cd326054799483b14f2071b838725f952046d635a9430c9

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

respond :close, Query::Text.new() do |actor, string|
  actor.tell "#{you.pronoun.Subj} #{you.contract you.verb.do + ' not'} see any \"#{string}\" here."
end

respond :close, Use.reachable() do |actor, thing|
  actor.tell "#{you.pronoun.Subj} #{you.contract you.verb.can + ' not'} close #{the thing}."
end

respond :close, Use.reachable(Openable) do |actor, container|
  if !container.open?
    actor.tell "It's already closed."
  else
    actor.tell "#{you.pronoun.Subj} close #{the container}."
    container.open = false
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gamefic-sdk-1.6.0 scripts/standard/actions/close.plot.rb