Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (13 sloc) 304 Bytes
---
syntax:
- "pet <character>"
- "stroke <character>"
logic: |
output = ''
if (!character.dead)
output << "You pet #{character.noun}.\n"
output << character.event('on_pet')
else
output << "#{character.noun_cap} is dead and derives no pleasure from our actions.\n"
end
output