Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (14 sloc) 328 Bytes
---
syntax:
- "remove <prop>"
- "take off <prop>"
logic: |
output = ''
if not @player.wearing.index(prop.id)
output << "You're not wearing #{prop.noun}.\n"
#output << "You're not wearing #{prop.noun}.\n"
else
@player.wearing.delete(prop.id)
output << "You take off #{prop.noun}.\n"
end
output