# # file:: cmd_save.rb # This source code copyright (C) 2009 Craig Smith # All rights reserved. # # Released under the terms of the TeensyMUD Public License # See LICENSE file for additional information. # module Cmd bindtextdomain("cmd") # The save command. Similar to "rent" in other muds...sort of... def cmd_save(args) loc = get_object(location) if loc.has_attribute? :savepoint self.lastsavedlocation = location sendto _("You now call this place your home.") else sendto _("You can not save here.") end end end