Sha256: b08a53eeaa1a0f55246dede174244c40b42f1f1721ee7b26462ff3db2f466125

Contents?: true

Size: 372 Bytes

Versions: 10

Compression:

Stored size: 372 Bytes

Contents

respond :doff, Query::Children.new(Clothing) do |actor, clothing|
  if !clothing.attached?
    actor.tell "You're not wearing #{the clothing}."
  else
    clothing.attached = false
    actor.tell "You take off #{the clothing}."
  end
end

xlate "remove :clothing", "doff :clothing"
xlate "take off :clothing", "doff :clothing"
xlate "take :clothing off", "doff :clothing"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gamefic-sdk-1.7.0 scripts/standard/clothing/actions/doff.plot.rb
gamefic-sdk-1.6.0 scripts/clothing/actions/doff.plot.rb
gamefic-sdk-1.5.0 scripts/clothing/actions/doff.plot.rb
gamefic-sdk-1.4.1 scripts/clothing/actions/doff.plot.rb
gamefic-sdk-1.4.0 scripts/clothing/actions/doff.plot.rb
gamefic-sdk-1.3.1 scripts/clothing/actions/doff.plot.rb
gamefic-sdk-1.3.0 scripts/clothing/actions/doff.plot.rb
gamefic-sdk-1.2.0 scripts/clothing/actions/doff.plot.rb
gamefic-sdk-1.1.0 scripts/clothing/actions/doff.plot.rb
gamefic-sdk-1.0.1 scripts/clothing/actions/doff.plot.rb