Sha256: 03718a380bcc1331522eac912099e5b9e620caef16cdffca073e17d79656f183
Contents?: true
Size: 439 Bytes
Versions: 2
Compression:
Stored size: 439 Bytes
Contents
Gamefic.script do respond :doff, Gamefic::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" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gamefic-standard-2.1.0 | lib/gamefic-standard/clothing/actions/doff.rb |
gamefic-standard-2.0.0 | lib/gamefic-standard/clothing/actions/doff.rb |