Minor cleanup in preperation for refactor.

parent 7f994fb4
......@@ -221,8 +221,7 @@ EOF
when /^(feel)(\s+(.+))?$/i
action_feel({ :target => $3})
when /^fill\s+(\w+)\s+from\s+(\w+)$/i
action_fill({ :object => $1,
:from => $2})
action_fill({ :object => $1, :from => $2})
when /^who$/i
action_who({})
when /^time$/i
......
......@@ -36,9 +36,7 @@ EOF
super(data)
case data[:input]
when /^put((\s+(\d+)\s+)|\s+)(\w+)\s+in\s+(\w+)$/i
action({ :item => $4,
:count => $3.to_i,
:container => $5 })
action({ :item => $4, :count => $3.to_i, :container => $5 })
end
end
......@@ -79,9 +77,9 @@ EOF
room.out_event(event)
end
end
Aethyr::Extend::HandlerRegistry.register_handler(PutHandler)
end
end
end
end
\ No newline at end of file
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment