Sha256: df570ad1dec6bbb1f76adcaece82eceebcb8fb1edfaa49c5d954214468a1c890
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 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 interpret "remove :clothing", "doff :clothing" interpret "take off :clothing", "doff :clothing" interpret "take :clothing off", "doff :clothing" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gamefic-standard-2.2.0 | lib/gamefic-standard/clothing/actions/doff.rb |