lib/greygoo/object.rb
# Checks whether a player can drop this object
Checks whether a player can drop this object
Checks whether a player can drop this object
def drop
			if !parent.can?(:drop, self)
				raise GreyGoo::PermissionsError, "Nothing to drop into"
			end
			dest = parent.current_room
			dest.take(self)
		end
def drop if ! parent . can? ( :drop , self ) raise GreyGoo :: PermissionsError , "Nothing to drop into" end dest = parent . current_room dest . take ( self ) end
Checks whether a player can drop this object
Checks whether a player can drop this object